Caching updates locally

Jakub Jelinek jakub at redhat.com
Mon Oct 30 15:08:09 UTC 2006


On Mon, Oct 30, 2006 at 09:54:00AM -0500, Joe Tseng wrote:
> I want to be able to cache yum updates locally so when I build machines via 
> kickstart I can have them update more quickly from a local server.  I can't 
> seem to recall how to do this using wget, and googling hasn't turned 
> anything up yet.

Set up squid and add
proxy=http://your.squid.box:3128/
to your /etc/yum.conf on all hosts?  Also, tweak /etc/yum.repos.d/ so that
you don't use mirrorlist, but one particular mirror.

	Jakub




More information about the fedora-list mailing list