On 11/16/2010 05:25 PM, Clint Byrum wrote: > On Tue, 2010-11-16 at 10:31 +0100, Nicolas Barcet wrote: >> On 11/16/2010 10:02 AM, Tapas Mishra wrote: >>> Here is a mail in /var/mail/root which I received in my server logs >>> http://paste.ubuntu.com/532866/ >>> I see same packages downloaded many times again and again. >>> The servers which are upgrading are total 5 (4 virtual machines and one >>> host) >>> so is there a way I can save bandwidth on this sort of setup. >> >> You should setup a local package proxy. This can be done using packages >> such as squid-deb-proxy or apt-cacher-ng and adding the following line >> in /etc/apt/apt.conf.d/00Proxy : >> Acquire::http { Proxy "http://IPAddress:port"; }; >> > > You don't need to add any config files if you are using squid-deb-proxy. > Just install it on one box (with lots of extra disk space and a good > network connection!) and then install squid-deb-proxy-client on all of > your machines on the same LAN that need to use it, and it installs the > appropriate apt-conf.d file to pick it up from the avahi publish.
That's really cool. Did not know about that one. Just found Jorge's post about it [1] which I must have missed. [1] http://castrojo.wordpress.com/2010/02/28/zeroconfing-squid-deb-proxy/ Nick
signature.asc
Description: OpenPGP digital signature
-- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam