Yum auto mirroring?

Tim ignored_mailbox at yahoo.com.au
Tue Jul 1 13:18:24 UTC 2008

On Tue, 2008-07-01 at 00:50 -0500, Arthur Pemberton wrote:
> I would like to speed things up by hosting some form of mirroring on
> my Centos5 box.
> I am thinking Squid, but not sure if that's the best solution.
> Des anyone have success stories? Squid or otherwise? Ideally I could
> just set yum only to use a squid port, but yum doesn't seem to
> directly support proxies, just indirectly via ENV variables.

Looking at man yum.conf

       proxy  url to the proxy server that yum should use.

              username to use for proxy

              password for this proxy

I'm using 7 at the moment, see if Fedora 9 has the same options.  If so,
set each YUM to use your proxy, and always the same mirror (comment out
the mirror list, set pick a specific baseurl URI.

This should work, we used to do the same with Windows to speed up
Windows Update (cache through Squid), it made a huge difference.

(This computer runs FC7, my others run FC4, FC5 & FC6, all using Gnome
 in case that's important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

More information about the fedora-list mailing list