Yum auto mirroring?

Arthur Pemberton pemboa at gmail.com
Tue Jul 1 15:57:51 UTC 2008


On Tue, Jul 1, 2008 at 8:18 AM, Tim <ignored_mailbox at yahoo.com.au> wrote:
> 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.
>
>       proxy_username
>              username to use for proxy
>
>       proxy_password
>              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.

Great, I knew that was a requested feature for yum , didn't realise
that it had made it in.

Thank you.

-- 
Fedora 7 : sipping some of that moonshine
( www.pembo13.com )




More information about the fedora-list mailing list