Questions tagged [source]

82 questions
1
vote
1 answer

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

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://zachholman.com/2010/08/dotfiles-are-meant-to-be-forked/…
Quintin Par
  • 4,373
  • 11
  • 49
  • 72
1
vote
2 answers

Unable to get defined path in 'source' type on AIX node

I am trying to create a set of users on my AIX node and trying to get their authorized_keys which are already hosted on my server with name like, 'myuser_id_dsa.pub'. Currently i am managing 2 nodes (1. SLES 2. AIX). I defined the 'source' file…
haris
1
vote
1 answer

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 out trying to add the second source to the zone…
Amelia
  • 11
  • 1
1
vote
4 answers

mixing rpm and source installations on production webserver

Is it OK to mix rpm and source based installations on a production web server? Or is it preferable to either completely go with one or the other way? thanks a lot
cherouvim
  • 794
  • 3
  • 21
  • 37
1
vote
1 answer

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 connections from my server.. I have tried to …
busyboy
  • 11
  • 1
1
vote
1 answer

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 smoothly but I can not get it to start. I am…
1
vote
1 answer

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 locations such as /nginx and /php-fpm Apart from…
Fabrizio Mazzoni
  • 671
  • 1
  • 9
  • 24
1
vote
1 answer

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 only available if compiled in with the 'STATTIME' …
Ammar Lakis
  • 176
  • 1
  • 1
  • 9
1
vote
1 answer

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. Since the main purpose of the project is to…
Sergei
  • 1,226
  • 16
  • 25
1
vote
1 answer

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 the numeric folder with the sync. SOURCE DIRECTORY…
Jason
  • 381
  • 1
  • 7
  • 20
1
vote
2 answers

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
  • 1,635
  • 2
  • 16
  • 16
1
vote
1 answer

.bashrc doesn't get sourced after su'ing to root

I've got a CentOS 5.6 VPS and both root and my normal user account have identical copies of a .bashrc file in their home directories. The file contains a few basic aliases, etc. If I login to root, root's copy gets sourced. If I login to myuser,…
Ian Dunn
  • 194
  • 13
1
vote
4 answers

Protecting Source Code From Certain Users in Linux

We have a CentOS development server that has source code for various projects. Some of the projects are more sensitive than others and for those sensitive projects we'd like to restrict access to only a certain group of developers (all developers…
Dan
  • 657
  • 2
  • 9
  • 13
1
vote
2 answers

Enable seeing the PHP source code of my test files from web browser

I would like to make my UnitTests available to see via the browser. My directory structure looks like this: application docs public - index.php tests My DocumentRoot is in the public folder. However, when I try to add an alias /source to my Apache…
Sebastian Hoitz
  • 3,169
  • 3
  • 24
  • 19
1
vote
1 answer

Log Analysis on IIS showing App Director IP as source, need actual originating source IP

I have two webservers hosting around 70 websites with load balancing done through Radware App Director. I have an issue with Log Analysis. All the requests to the 70 odd sites are routed through App Director and as a result the source IP in the IIS…