Questions tagged [source]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
313 views

Firewalld: restrict ssh access to specific IP and allow that IP to access services in the interface zone

The target setup is the following: I want to restrict ssh access to the server to a specific IP, and allow the http service to all. Now, to start from "scratch" I defined a new zone which I ...
Egidio Docile's user avatar
0 votes
1 answer
177 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....
sndrvanes's user avatar
0 votes
1 answer
86 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 ...
Brendan's user avatar
  • 153
1 vote
0 answers
108 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 ...
Marc's user avatar
  • 127
0 votes
0 answers
95 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 ...
gregn3's user avatar
  • 101
0 votes
1 answer
56 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 ...
michi.0x5d's user avatar
1 vote
1 answer
543 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 ...
max246's user avatar
  • 113
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 ...
Bert's user avatar
  • 1,066
7 votes
3 answers
33k 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....
Vituvo's user avatar
  • 337
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'...
Mike's user avatar
  • 37
0 votes
1 answer
2k 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 ...
Vituvo's user avatar
  • 337
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://...
Quintin Par's user avatar
  • 4,443
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 ...
a1an's user avatar
  • 457
0 votes
2 answers
273 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....
Zac's user avatar
  • 101
2 votes
2 answers
324 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 ...
Saffer's user avatar
  • 21
1 vote
1 answer
462 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 ...
Amelia's user avatar
  • 11
0 votes
0 answers
123 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 ...
xuanhai266's user avatar
0 votes
1 answer
45 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 ...
kzpm's user avatar
  • 99
0 votes
3 answers
7k 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. ...
Valeria's user avatar
  • 21
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 ...
ashraj98's user avatar
  • 163
0 votes
1 answer
172 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 ...
papaworx's user avatar
0 votes
1 answer
2k 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 ...
TheLovelySausage's user avatar
19 votes
3 answers
32k 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
98 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 ...
PurrBiscuit's user avatar
0 votes
1 answer
729 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 ...
Gideon Maina's user avatar
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 ...
busyboy's user avatar
  • 11
0 votes
1 answer
376 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 ...
dummy's user avatar
  • 241
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 ...
Tyler Durden's 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 ...
Jason Alan Kennedy's user avatar
-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 ...
user35780's user avatar
-2 votes
1 answer
129 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 ?
user202887's user avatar
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 ...
Fabrizio Mazzoni's user avatar
2 votes
2 answers
14k 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 ...
hgj's user avatar
  • 85
0 votes
2 answers
51 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 ...
Hassan Shahid's user avatar
2 votes
2 answers
73 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 ...
Stan's user avatar
  • 1,397
0 votes
1 answer
2k 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/...
rabotalius's user avatar
0 votes
1 answer
479 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 ...
Thong Tran's user avatar
1 vote
1 answer
215 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 ...
Ammar Lakis's 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 ...
Dimos's user avatar
  • 11
2 votes
2 answers
122 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 ...
Chimera's user avatar
  • 51
1 vote
1 answer
107 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....
Sergei's user avatar
  • 1,226
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 ...
Jason's user avatar
  • 381
3 votes
0 answers
513 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 ...
srchulo's user avatar
  • 307
-2 votes
1 answer
66 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 ...
Joe Anderson's user avatar
1 vote
2 answers
440 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 ...
Joey BagODonuts's user avatar
0 votes
3 answers
245 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 ...
Mehdi's 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.
Richard Hum's 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 ...
Mallow's user avatar
  • 144
0 votes
1 answer
36 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....
Blackninja543's user avatar
3 votes
1 answer
419 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 ...
Stef's user avatar
  • 157