Questions tagged [source]

82 questions
3
votes
0 answers

rsync won't delete file that was deleted on source

I'm using rsnapshot to back up some servers of mine. It works fine, except it won't delete files that have been deleted on the source server. Here is where I give rsnapshot the options to pass along to rsync: rsync_long_args --stats --delete …
srchulo
  • 306
  • 1
  • 2
  • 10
3
votes
1 answer

Testing my Load Balancer

To test my Load Balancer I would need to create several TCP/IP connections (from one host). Which tool can be used to create this sessions with different source-ip addresses? (no worries, only in my private LAN).
Stef
  • 157
  • 1
  • 6
3
votes
1 answer

Compiling kernel from source (for Xen), do I use plain kernel?

My VPS host uses Xen, and instead of using its custom kernels I could use my own (with pv-grub), the sample kernel of which I had installed to test this was is the following, I am running Debian 6…
Alexander
  • 207
  • 1
  • 3
  • 11
3
votes
6 answers

Source code for Linux utilities and daemons

Where can I find the source code for Linux utilities and daemons. Basically I want to know the repository of source codes other than the Linux kernel.
LinuxPenseur
  • 443
  • 1
  • 6
  • 16
3
votes
1 answer

How to install PHP from source with latest cURL package on Linux?

I simply have to use the latest cURL version (7.21.3) with PHP on my webserver. (Has to do with specific bug fixes) It is not available by default on most current Linux variant repositories. (Natty Narwhal by Ubuntu is the only one and it's still in…
darkAsPitch
  • 1,931
  • 4
  • 25
  • 42
2
votes
2 answers

Finding script trying send spam via postfix

I have had this problem before with crap wordpress sites on my server but it was always easy to find the source, a php script by looking at the spam header and see the php scripts name. But this time I got something different. The spam isn't being…
Saffer
  • 21
  • 1
2
votes
2 answers

Change source address based on destination IP

We have several "router" machines that gather a lot of external IP addresses on the same host and redirect, NAT or proxy the traffic to the internal network. They also act as routers for the machines on the internal network. This works fine, however…
hgj
  • 85
  • 1
  • 1
  • 6
2
votes
2 answers

Unix how to determine if a program can be executed

I am writing a script to create the source environment. Handling the PATH part is easy. Though how should I check if a program can be executed correctly when its path is added into PATH? Using which is not sufficient as it's only check the existence…
Stan
  • 1,387
  • 6
  • 24
  • 40
2
votes
2 answers

Knowing files created / installed after building from source

I have a task to complete which involves building a series of libraries from source using configure; make; make install. The generated libraries and misc files are going to be put onto an embedded system compatible with the build environment. My…
Chimera
  • 51
  • 8
2
votes
1 answer

Why is sourcing in .screenrc not supported?

I would like to have the following code in my .screenrc source /Users/masi/bin/screen/file.screen However, I observe that sourcing at .screenrc is not supported. Whi is sourcing in .screenrc not supported?
2
votes
3 answers

Installing something from source using chef, should I be doing some checks

I'm installing something from source using chef and the script resource. Should I be doing a check for the resultant executable etc. as part of it? e.g. What I currently have is: remote_file "/tmp/foo.tar.gz" do source "foo.tar.gz" mode…
DEfusion
  • 287
  • 3
  • 9
2
votes
1 answer

Compiling libevent on Windows server?

it would be immensly helpful if someone could indicate me how to compile libevent http://monkey.org/~provos/libevent/ on Windows 7. I usually use compile source code on Linux distributions, as executable binaries are usually always available for…
RadiantHex
  • 547
  • 2
  • 9
  • 18
2
votes
2 answers

How to find source files for things installed via yum on CentOS

I want to see the source files for deamons that I have installed on CentOS via yum. Can they be found locally or should I just go to the repository site for them. I know its trivial but I would like to see the exact source that I am using.
Saifis
  • 209
  • 3
  • 13
1
vote
1 answer

Modify source IP from a package dump

I have a dumped several packages udp and I am trying to tcpreplay it. The issue is that the source is from a different network and I want to modify or redump by changing the source IP. I have done once but I can't seem to find the command line…
max246
  • 113
  • 3
1
vote
1 answer

Installation of specific PHP version

I don't know if it is just me or anyone else came across this issue? I want to install PHP 7.1.14, so I've installed the REMI repository on my CentOS 7 and enabled the php71 repository. However, when I do a yum list php --showduplicates it shows me…
Bert
  • 1,028
  • 1
  • 16
  • 33