Questions tagged [source]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
43 views

rsync - restore from multiple (identical) sources to one target

Im wonder if there is way to rsync (or any other tool) from multiple identical sources to one target. My thought was, one rsync process reads the filelist from the beginning, the other one from the ...
user avatar
  • 119
0 votes
0 answers
52 views

Should I compile Node.js from source on an Amazon Lightsail smallest instance?

I'm using the cheapest Amazon Lightsail instance to set up an Nginx + Node.js server. I have compiled Nginx successfully already, however it's taking too long to compile Node.js. Is this is even a ...
user avatar
  • 101
0 votes
1 answer
32 views

Is an IPv6-Protocol capable of setting route plus source address?

This question is related to that question: Why is Linux choosing the wrong source ip address Setting a src ip for a static route on client may be okay for one time or if just needed. However in a ...
user avatar
1 vote
1 answer
30 views

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 ...
user avatar
  • 113
1 vote
1 answer
533 views

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 ...
user avatar
  • 984
6 votes
3 answers
21k views

Install more_set_headers in nginx 1.15.8

Ubuntu 16 Server - load_module modules/ngx_http_headers_more_filter_module.so does not work out the box from a fresh install. root@ /etc/nginx # nginx -V nginx version: nginx/1.15.8 built by gcc 5.4....
user avatar
0 votes
0 answers
3k views

How do I create a rule with firewalld that uses a host name [duplicate]

I want to create a rule using firewalld on Linux (RHEL 7) to allow ssh from a host name. I think I've got figured out how to do it using an IP address but I need to use a host name. Here is the rule I'...
user avatar
  • 41
0 votes
1 answer
1k views

What are the best nginx modules for a high productive web site? [closed]

I am going to reinstall nginx on a fresh Ubuntu 16 server. E5 with 132 GB of ram. I looked at a script called compile-nginx-from-source.sh over at githubgist by user nmrony. Looks great and made for ...
user avatar
1 vote
1 answer
30 views

Pushing my configuration files to VMs. What’s a good tool to bring this under source control? [closed]

I have a couple of VMs where I go and edit Nginx config files, fail2ban config files, php-fpm files etc. I want to move this to source control and push it out. Sort of similar to this https://...
user avatar
  • 4,273
2 votes
2 answers
960 views

How to get virtualenv for compiled python (missing pip/easy_install)?

To update an old system I had to compile python 2.7.14 with custom openssl version. The compiled system has no virtualenv binary and also neither pip nor easy_install for extension. How can I get ...
user avatar
  • 417
0 votes
2 answers
159 views

How to export a file to another user's bash while logging in via SSH (using Putty) to RHEL?

I am running RHEL 7.3, however the procedure may be similar on other Linux systems. I have logged in as root. I have a file called openrc which is full of lines like export OS_IDENTITY_API_VERSION=3....
user avatar
  • 101
2 votes
2 answers
224 views

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 ...
user avatar
  • 21
1 vote
1 answer
404 views

firewalld puppet module unable to add multiple sources error: INVALID ZONE on second source

We have a puppet module (v3.6.2 as we're using it for Satellite 6) The module works as expected, except when adding multiple sources to a zone. It will add the zone and then add one souce, then error ...
user avatar
  • 11
0 votes
0 answers
112 views

Error when building NFS-ganesha v2.3 from source code

I am building NFS-ganesha v2.3 from source code (download here: https://github.com/nfs-ganesha/nfs-ganesha/releases/tag/V2.3.2) on Debian 8. There are some errors: error: ‘SVCXPRT’ has no member ...
user avatar
0 votes
1 answer
41 views

Update source code without direct access to server

I built a webapplication (php/java) for a museum in the Netherlands. The webaplication runs on an ArchArm Raspberry 3. I installed a local webserver (lighttpd) to avoid dependency of the application ...
user avatar
  • 69
0 votes
3 answers
6k views

How to install auditd from source in Ubuntu?

I want to set up auditd to collect its logs from remote server. I'm using Ubuntu 14.04.3 LTS. This feature seems to be disabled into Ubuntu auditd package. So, I'm going to install it from source. ...
user avatar
  • 21
0 votes
3 answers
6k views

Apache ENVVARS not loading

My problem originated from my website not loading on a almost-fresh install of Debian and an ISPConfig server, Apache and MariaDB only. It would resolve, but not loaded after site loaded once ...
user avatar
  • 163
0 votes
1 answer
124 views

Same html source code via two servers rendered differently

I am in the process of migrating my website from one host to another and noticed strange behavior: Identical html page served from two different hosting servers render identical on Chrome, Internet ...
user avatar
0 votes
1 answer
1k views

PostgreSQL install from source on a systemd distro

On my current server I have 2 versions of postgresql installed, postgresql-9.1 and postgresql-9.2 I installed them from source from the postgresql website. The tar.gz folder supplies the install ...
user avatar
16 votes
3 answers
25k views

Routing from docker containers using a different physical network interface and default gateway

Background Information I have a server with two network interfaces that is running Docker. Docker, like some virtualization tools, creates a Linux bridge interface called docker0. This interface is ...
user avatar
0 votes
0 answers
70 views

dpkg custom package name from source install

I want to be able to set a custom package name when installing a package using dpkg from source. Running this command: dpkg -i /path/to/deb/ruby-2.2.0.deb installs the package as: ruby-2.2.0 2.2.0 ...
user avatar
0 votes
1 answer
627 views

Resolve packages not found and errors during configure,make,make install in a script

I need to have a script that will install a package from source in a Linux system and need to know how to take care of the errors that usually come up as a result of the first step ./configure maybe a ...
user avatar
1 vote
1 answer
52 views

connection initiated from linux localhost

One of the linux server was compromised and some of the connections are being originated from localhost to a remote location putting up the information residing on it. I'm trying to trace all outgoing ...
user avatar
  • 11
0 votes
1 answer
303 views

apt-get source: Unknown command "source"

Following this tutorial, I'm stuck a this line: $ apt-get source lighttpd Unknown command "source" aptitude 0.6.8.2 Why does my apt-get/aptitude does not support this command? I don't know if this ...
user avatar
  • 231
0 votes
1 answer
36 views

Installing OS-programs in linux

A previous user asked a question on where to install applications, and the answer spells out how the directories are used, however, as the answer says, when you use make install for a system daemon ...
user avatar
1 vote
1 answer
3k views

Cannot Start Nginx Compiled from Source

I am trying to compile Nginx from source based on the original compiled Nginx server running on my DigitalOcean server ( Ubuntu-14.04 64x ) but with a few extra modules. I can get everything installed ...
user avatar
-1 votes
3 answers
320 views

Compiling from Source or Installing from Packages? [closed]

I'm trying to build a new web server & database server, I just usually install apache and mysql using YUM. I'm curious, why most experienced systems admins prefer to compile apache and mysql from ...
user avatar
-2 votes
1 answer
120 views

how to make already compiled php5 shared module to static in apache 2.2

I have compiled apache 2.2 with php5 and after uncommenting loadmodule line for php in apache conf file the php started but as a shared module so is there any way to compile it as static ?
user avatar
1 vote
1 answer
37 views

Consequences of source installation in "non standard" directory

I compile and install a lot of programs myself from source. Since I have a working installation of apache + PHP but would like to try Nginx + PHP-FPM I would like to install these in non standard ...
user avatar
2 votes
2 answers
12k views

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 ...
user avatar
  • 75
0 votes
2 answers
48 views

Getting the executed source from bash

Okay, this is a last attempt to see if I can salvage something I accidentally did. I accidentally did "command > ~/.profile" instead of "command >> ~/.profile" on my computer. I didn't have it ...
user avatar
2 votes
2 answers
70 views

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 ...
user avatar
  • 1,367
0 votes
1 answer
1k views

Failed to build rpm from source

I want to build a package from source, basically all I did was downloading Percona-Server-56-5.6.12-rc60.4.393.rhel6.src.rpm and adding -DWITH_INNODB_MEMCACHED=ON to spec file. http://www.percona.com/...
user avatar
0 votes
1 answer
383 views

Debian upgrade Nginx from source

I've installed Nginx 1.2.1 from apt-get install in my Debian 7 instance (Google Compute Engine). In order to install Pagespeed mod for Nginx, I will need to compile Nginx from the source code to add ...
user avatar
1 vote
1 answer
207 views

HAProxy no stats from terminal

I have haproxy installed on CentOs6.4 x64 but I need to see the stats from the terminal with command haproxy -s The man file says -s Show statistics (only if compiled in). Statistics are ...
user avatar
0 votes
1 answer
1k views

Where to find source of an Amazon EC2 compatible kernel

I have some issues with finding the source code of Amazon EC2 compatible kernels. There is a tutorial in Amazon EC2 documentation of how to run instances with custom kernels, but those must be from ...
user avatar
  • 11
2 votes
2 answers
65 views

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 ...
user avatar
  • 51
1 vote
1 answer
98 views

Structure for Version Control system - configuration and scripts

We are planning to introduce version control for our servers team so we can keep our config files and code neat. The server base are mostly Windows with some Linux and spread across several continents....
user avatar
  • 1,216
1 vote
1 answer
1k views

RSYNC with different directory structures

I'm trying to accomplish the below with RSYNC but can't quite figure out the syntax. My source contains a folder for each user, then some subfolders under Logs. I need to capture everything under ...
user avatar
  • 371
3 votes
0 answers
426 views

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 ...
user avatar
  • 296
-2 votes
1 answer
63 views

Does Source Based Linux Distro's Have Lower Download Size for Packages Rather Than Binary? [closed]

I looked all over the internet and couldn't find the answer to my question. If you use a source based distro, does that lower download sizes, compared to binary? If so, how significant is it? (Provide ...
user avatar
1 vote
2 answers
393 views

download all RPMs from a metapackage

example of what im trying to do # yumdownloader net-snmp.x86_64 --source Enabling epel-source repository epel-source ...
user avatar
0 votes
3 answers
204 views

Duplicate rsync source

i sync my master and slave servers using rsync, but recently my source hard disk is going out of free space, so i copied (native copy using cp) source files to a new high capacity hard disk. but after ...
user avatar
  • 103
4 votes
1 answer
1k views

How to make BIND behave differently depending on query source?

How would one make BIND behave differently depending on the source IP address? For example, I want to use different forwarding DNS servers for different people on my network.
user avatar
0 votes
1 answer
4k views

Both bashrc and bash_profile won't seemingly source? VirtualMin Clean install

I am not too familiar with this level of management on a nix server however I am unable to get either the bashrc or bash_profile to source at login. Details about the server: Centos 6.0 - Basic GUI ...
user avatar
  • 144
0 votes
1 answer
35 views

Linux Program Source Management

This particular problem has little do with SubVersion Repositories and more to do with the management of installed programs. My question revolves around the problem of installing a program from source....
user avatar
3 votes
1 answer
185 views

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 ...
user avatar
  • 157
0 votes
1 answer
898 views

Another NGINX & PHP set up failure

I'm trying to set up NGINX with PHP and FPM. No installation errors, NGINX and PHP-FPM are running (I can see them with ps aux | gre nginx and ps aux | grep php). HTML pages are working fine. ...
user avatar
  • 4,112
2 votes
3 answers
2k views

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/...
user avatar
  • 287
3 votes
1 answer
1k views

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 (...
user avatar
  • 207