Saturday, 22 February 2014

squid-deb-proxy crashing

I had a problem with squid-deb-proxy crashing. I could see this in the system log:

avahi-daemon[830]: Service group file /services/squid-deb-proxy.service vanished, removing services This happened after I had a "disk full" incident on the server it was running on. I couldn't find that error anywhere on Google so I figured that maybe the cache had been corrupted. So with squid-deb-proxy stopped I deleted everything from inside /var/cache/squid-deb-proxy and started the service again. It hasn't crashed since.

Monday, 10 February 2014

Using apt-get through a proxy.

The network nazi's have blocked your access to the Internet and are forcing everything through a proxy. What to do?  
Well, you can do this. 
Edit or create /etc/apt/apt.conf. Add the following lines; 
Acquire::http::proxy "http://username:password@proxyserver:port/";
Acquire::https::proxy "https://username:password@proxyserver:port/";
Acquire::socks::proxy "socks://username:password@proxyserver:port/";