freakalad
July 1st, 2009, 11:21 PM
Been using apt-cacher-ng at home & work for quite some time now.
Absolutely FANTASTIC! Especially if either have several debian-based systems on the same network, or if you frequently build & test VM systems.
The problem I've got, is that I have a netbook & laptop that I use at both sites, and I have to reconfigure my proxy at every site.
A simple solution, I guess, would be to have a script that would set the proxy for each environment, but I was hoping to specify multiple proxies in the single config file.
The config for /etc/apt/apt.conf.d/00proxy
@ home: Acquire::http { Proxy "http://10.0.0.16:3142"; };
@ work, Acquire::http { Proxy "http://192.168.0.160:3142"; };
will start working on a script, but was hoping there was a simpler solution off the bat
Absolutely FANTASTIC! Especially if either have several debian-based systems on the same network, or if you frequently build & test VM systems.
The problem I've got, is that I have a netbook & laptop that I use at both sites, and I have to reconfigure my proxy at every site.
A simple solution, I guess, would be to have a script that would set the proxy for each environment, but I was hoping to specify multiple proxies in the single config file.
The config for /etc/apt/apt.conf.d/00proxy
@ home: Acquire::http { Proxy "http://10.0.0.16:3142"; };
@ work, Acquire::http { Proxy "http://192.168.0.160:3142"; };
will start working on a script, but was hoping there was a simpler solution off the bat