[CentOS] Squid +Yum = apt-cacher?
Matt Hyclak
hyclak at math.ohiou.edu
Fri May 25 14:25:45 UTC 2007
On Fri, May 25, 2007 at 08:41:26AM -0500, Les Mikesell enlightened us:
> Lorenzo wrote:
> >>>
> >>>This used to 'just work' in Centos3 since the repos all had the same
> >>>name and used round robin dns to distribute the load and maybe it
> >>>does again in Centos5 - I thought I'd seen something about some work
> >>>being done. But with Centos4 and the fedoras the mirrorlist would
> >>>usually give you something different every time and fill up the cache
> >>>with multiple copies.
> >>
> >>Yup, that's what happens with Fedora. Too many repos, the cache hit
> >>rate is pretty low.
> >>
> >
> >So again would be nice to "convince" someone (maybe already working with
> >Fedora) to make such tool (suggested name: yum-cacher; function: doing
> >for Fedora/CentOS/ any other RPM based distro the same thing that
> >apt-cacher does for debian)
>
> I'd rather not have any tool-specific, distro-specific, or
> version-specific thing to set up. Http caching has been well understood
> for ages and works with everything that doesn't go out of its way to
> break it. There has to be some way to make yum work again without
> breaking it.
There is, use a baseurl in your config file rather than the mirrorlist.
Matt
--
Matt Hyclak
Department of Mathematics
Department of Social Work
Ohio University
(740) 593-1263
More information about the CentOS
mailing list