Questions tagged [source]
The source tag has no usage guidance.
82
questions
0
votes
1
answer
121
views
How to route traffic from source IP to gateway on another subnet?
I have the following network setup:
2 LANs; 1 local and 1 remote, connected site-to-site via WireGuard.
192.168.0.0/24 -> local
192.168.2.0/24 -> remote
192.168.0.0/24 has a gateway 192.168.0....
0
votes
1
answer
43
views
Is there a way to install the latest stable NGinx on Ubuntu Focal (20.04) with nginx-extra modules using binaries?
The official Ubuntu packages only go up to v1.18.0 which has some security vunlerabilities. Adding the official NGinx package repository only has the Nginx binary and no module binaries so odules like ...
0
votes
0
answers
82
views
Adding Multiple IP addresses in Source field in ACL of EC2 while configuring inbound rule
Why can't we add multiple IP addresses to deny access from them in the source field in NACL of EC2 while configuring inbound rule ?
What is the solution in this case in order to block a list of IP ...
1
vote
0
answers
94
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 ...
0
votes
0
answers
86
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 ...
0
votes
1
answer
44
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 ...
1
vote
1
answer
366
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 ...
1
vote
1
answer
1k
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 ...
7
votes
3
answers
29k
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....
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'...
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 ...
1
vote
1
answer
36
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://...
3
votes
2
answers
1k
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 ...
0
votes
2
answers
251
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....
2
votes
2
answers
298
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 ...
1
vote
1
answer
446
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 ...
0
votes
0
answers
121
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 ...
0
votes
1
answer
44
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 ...
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.
...
0
votes
3
answers
8k
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 ...
0
votes
1
answer
157
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 ...
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 ...
19
votes
3
answers
30k
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 ...
0
votes
0
answers
85
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
...
0
votes
1
answer
690
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 ...
1
vote
1
answer
57
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 ...
0
votes
1
answer
358
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 ...
0
votes
1
answer
38
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 ...
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 ...
-1
votes
3
answers
323
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 ...
-2
votes
1
answer
126
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 ?
1
vote
1
answer
42
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 ...
2
votes
2
answers
13k
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 ...
0
votes
2
answers
50
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 ...
2
votes
2
answers
71
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 ...
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/...
0
votes
1
answer
464
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 ...
1
vote
1
answer
212
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 ...
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 ...
2
votes
2
answers
107
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 ...
1
vote
1
answer
105
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....
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 ...
3
votes
0
answers
484
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 ...
-2
votes
1
answer
64
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 ...
1
vote
2
answers
430
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 ...
0
votes
3
answers
234
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 ...
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.
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 ...
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....
3
votes
1
answer
355
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 ...