[CentOS] apt-cacher for CentOS
Ross S. W. Walker
rwalker at medallion.com
Wed Oct 10 17:51:30 UTC 2007
James A. Peltier wrote:
> Tronn Wærdahl wrote:
> > I dont know about apt-cacher, but if its something to do
> with apt-get
> > you could you --download-only. Like apt-get upgrade --download-only
> > Tronn
> apt-cacher allows you to point all clients to a centralized location,
> when one client performs, say and apt-get dist-upgrade, the apt-cache
> server caches all of the packages to it's local apt directory. It's
> very convienent and easy to setup, whereas the squid solution
> by Dag is a fair bit more conviluted.
> A possible solution would be to possibly extend create-repo to add
> functionality to mirror updates and packages for selected
> Perhaps add the proxy/caching functionality that is required to
> perform these operations?
I just have a central server mirror the updates repo with wget and
have either apache or iis serve them up to clients.
Then in the yum repo files, comment out mirrorlist=, uncomment
baseurl=, add the url to your update server first for baseurl= and
set the failovermethod=priority.
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
More information about the CentOS