Questions tagged [source]

79 questions
16
votes
3 answers

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 configured by default with an IP of 172.17.42.1 and…
user81598
10
votes
6 answers

How to upgrade software installed from source?

I install NGinx from source since the packages from the ubuntu repository are quite old. I was wondering what is the best method to upgrade these types of installations? My current workflow involves. Downloading the new source Install the software…
The Pixel Developer
  • 847
  • 3
  • 9
  • 20
10
votes
7 answers

Where to maintain central source repository?

What is the industry best practice regarding securing access to source code? I am thinking SSL only connections via apache allowed over to our server on an obscure port that doesn't conflict with anything else. The thing that bothers me is storing…
user59587
10
votes
4 answers

Uninstall ruby from source

I installed ruby 1.9 on my fedora 13 machine from source. I want to go back and use the older 1.8.6 (which I'll install with yum), unfortunetly it appears that I can't simply uninstall my current version by "make uninstall" (make: *** No rule to…
vise
  • 235
  • 1
  • 3
  • 9
7
votes
3 answers

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 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) built…
Curious Sam
  • 317
  • 2
  • 5
  • 15
7
votes
2 answers

Linux ip route matching the source ip

I would like to know if it's possible to tell a Linux kernel to route all packets destinated to X via interface/ip Y but only in case the source IP address would be a specific one. Any idea if this is possible? Thanks and regards,
6
votes
6 answers

How to keep programs from source up to date?

I'm designing a new server setup for hosting multiple websites. (Shared hosting for my clients over at SliceHost.) I've recently moved away from the traditional LAMP setup and chosen Ubuntu, Nginx, php-fpm and mysql. I like it a lot better then my…
reconbot
  • 2,435
  • 3
  • 25
  • 30
5
votes
3 answers

What are best practices for securing source code on a development network?

At my company we are very protective of our source code. We have satisfied our paranoia by setting up a development LAN that we air-gap off from the Internet and the rest of our company networks. Within the development network, we have a few…
user25570
4
votes
3 answers

Where's selinux source code?

I'm trying to find url to selinux source code (both kernel and userland) but i can't find anything, only outdated urls... Could someone help? Also, I installed from packages in debian, so i guess i can't check it directly on my system?
Phil
  • 1,839
  • 6
  • 27
  • 33
4
votes
1 answer

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
  • 185
  • 1
  • 7
4
votes
13 answers

Source based distros vs Prebuilt package based distros

I wonder what is the general preference and where does it come from. Having used FreeBSD actively for a couple of years I'm leaning towards Gentoo, but I've had an unpleasant experience of wasting valuable time because Gentoo was installed on a…
Karolis T.
  • 2,709
  • 7
  • 32
  • 45
4
votes
3 answers

cannot unset env variables from script

I am trying to unset all environment variables from within a script. The script runs fine but if I run env it still shows all the variables set. If I run the command from CLI, it works and the variables are unset. unset `env | awk -F= '/^\w/ {print…
w00t
  • 1,134
  • 3
  • 16
  • 35
3
votes
6 answers

How do we secure our source code?

Our source code is our most prized asset. I would like to have it: secured from proliferation by in-house developers but they also need unrestricted access to the code to do their job right. So I'm not sure this is even possible. regularly backed…
gAMBOOKa
  • 979
  • 6
  • 18
  • 33
3
votes
2 answers

When upgrading a package with make install, should I run make uninstall for the pre-existing package first?

If I fail to run make uninstall first, is the typical result no worse than simply having unused files lying around? If the given is yes, is the answer universally applicable, or does it depend on the package? The automake docs state that an…
Paul Carey
  • 131
  • 3
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
  • 296
  • 1
  • 2
  • 10
1
2 3 4 5 6