Installing apt-cacher-ng proxy to accelerate installations and save bandwidth

The Installation is quite simple. On a Debian or Ubuntu just type: apt-get install apt-cacher-ng This will install the package and already start the service. Then you will have to point you clients to use your proxy when installing new packages. Therefore just create /etc/apt/apt.conf.d/01proxy with the following content: Acquire::http { Proxy ""; }; whereas […]

Using Debian behind a Proxy

If you are using Debian behind a proxy (e.g. Squid), you just have to declare the following environment variables to use it: export HTTP_PROXY=[IP]:[PORT] export HTTPS_PROXY=[IP]:[PORT] export FTP_PROXY=[IP]:[PORT] An example for [IP]:[PORT] could be In order to stay persistent, you could add the above commands to ~/.profile or /etc/bash.bashrc for example.

Setting up a transparent proxy for VPN via SSH using sshuttle

I found this tool and it's quite useful if you need to run VPN via SSH on Linux or Mac OS. You can download the tool from here via git or as a zip file. git clone Then go to your sshuttle folder and start your proxy like this: ./sshuttle –dns -vvr <user>@<host> 0/0 <user> and […]

Install Jenkins on Debian

First of all add the key of the Jenkins server to apt: wget -q -O – | apt-key add – Then create the sources.list entry or better create a file in /etc/apt/sources.list.d/: echo "deb binary/" > /etc/apt/sources.list.d/jenkins.list Then install the package: apt-get update apt-get install jenkins   Jenkins will by default run on […]