« HOWTO: Convert from single disk to RAID 1 without reinstallingHOWTO:Set up NFS sharing »

HOWTO: Setup apt-cacher, caching service for installation packages

22/12/08

HOWTO: Setup apt-cacher, caching service for installation packages

If like me you have multiple machines running Ubuntu Linux and want to take the load off from those updates! You know you need to get the upgraded software and look forward to the new features. But why download the same packages over and over when it could be done just the once :)


This being Linux someone has already found an answer to the problem and released the software, it is called apt-cacher.
From the man pages, which are a great source of information for this time saving tool,

Apt-cacher is a caching proxy for Debian packages, allowing a number of computers to share a single cache. Packages requested from the cache only need to be downloaded from the Debian mirrors once, no matter how  many local machines need to install them. This saves network bandwidth, improves performance for users, and reduces the load on the mirrors.

When choosing where to run the server side. It is more important to have a large disk and good internet connection than high powered CPUs. This puts very little strain on the server machine. The cached packages are store by default in /var/cache/apt-cacher

Pages: 1 · 2 · 3

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
What can birds and aeroplanes both do?
antispam test