The default config won't cache large files. And yum will try to use different mirrors every time.
Aha. I thought I had it set for no file limit, but I guess using different mirrors is what is confounding me.
So squid will cache a specific file from a specific site, I guess? And even if it tries to get the exact same file elsewhere, it will re-download it afresh?
On Mon, Dec 19, 2011 at 12:39 PM, Alan McKay alan.mckay@gmail.com wrote:
The default config won't cache large files. And yum will try to use different mirrors every time.
Aha. I thought I had it set for no file limit, but I guess using different mirrors is what is confounding me.
So squid will cache a specific file from a specific site, I guess? And even if it tries to get the exact same file elsewhere, it will re-download it afresh?
Yes, the default setup really goes out of its way to defeat any standard caching proxies and make the mirrors do extra work, although once you accumulate the copies from 5 or 6 sources everything will work like you expect. That used to bother me but now the mirrors seem to be insanely fast so if your own connection is good it just doesn't matter.
Yes, the default setup really goes out of its way to defeat any standard caching proxies and make the mirrors do extra work, although once you accumulate the copies from 5 or 6 sources everything will work like you expect. That used to bother me but now the mirrors seem to be insanely fast so if your own connection is good it just doesn't matter.
Part of my problem is that my own connection is absolutely terrible.
Anyway, I'll figure something out. What I'll probably end up doing is taking my laptop home and rsycing a mirror to it, then taking it back into work and shooting that over to my server.
Though just for giggles I'm going to try to get central IT to unblock rsync for me :-)
On Mon, Dec 19, 2011 at 1:47 PM, Alan McKay alan.mckay@gmail.com wrote:
Yes, the default setup really goes out of its way to defeat any standard caching proxies and make the mirrors do extra work, although once you accumulate the copies from 5 or 6 sources everything will work like you expect. That used to bother me but now the mirrors seem to be insanely fast so if your own connection is good it just doesn't matter.
Part of my problem is that my own connection is absolutely terrible.
Anyway, I'll figure something out. What I'll probably end up doing is taking my laptop home and rsycing a mirror to it, then taking it back into work and shooting that over to my server.
Though just for giggles I'm going to try to get central IT to unblock rsync for me :-)
I think, after doing a 'yum --downloadonly update' you could rsync wherever the packages land under /var/cache/yum to other machines that will need them.