[CentOS] auto-creating a local yum cache?

William Hooper whooperhsd at gmail.com
Mon Dec 12 20:57:41 UTC 2011


On Monday, December 12, 2011, Alan McKay <alan.mckay at gmail.com> wrote:
> Surely there must be a way to have yum on the first box automatically
cache
> everything and then have the other boxes use the cache?   Maybe if not
> directly, then with squid or something like that?

You can find the RPMs in /var/cache/yum (from memory, so doubt check)

For CentOS 5 I've used automirror (
http://terrarum.net/administration/caching-rpms-with-automirror.html), but
it has a note that it doesn't work with CentOS 6. I have tries what that
page suggests as a replacement.



More information about the CentOS mailing list