how to save bandwidth while package upgrades
Nicolas Barcet
nick.barcet at canonical.com
Tue Nov 16 09:31:31 UTC 2010
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"; };
Hope this helps,
Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20101116/5d6d79e9/attachment.pgp>
More information about the ubuntu-server
mailing list