While a default yum.conf sounds good, for those admins that don't
update their yum.conf file after installing a new system, they might
get stuck downloading from a mirror that is not close to them.
There is talk about a system like the ClamAV project which redirects
you to the closest mirror to you automatically, there is 1 common
domain and DNS handles the redirection. In which case everyone would
have the same yum.conf file.
--
Matt Shields
http://masnetworks.biz/
http://www.caosity.org/
On Tue, 14 Dec 2004 10:33:40 +0100, Petr Qaxi KlĂma
qaxi@seznam.cz wrote:
>
> > * Issue: yum
> > Don't ever auto-modify yum.conf. Too confusing.
> > Invent a system for selecting/allocating a mirror. Users should
> > always use a 3rd party mirror and not the main caosity mirrors.
> > Issue: every mirror has different paths. We need to clean up all the
> > symlinks and multi versions on the mirrors. (We need someone in
> > change of the mirrors)
> >
> Why not to point "default" yum.conf to 3rd partymirrors
>
> Something like below.
>
> I let mirror.centos.org there because of statistics ... :-), but this
> setup makes it 1/10th of all downloads ....
> If you add more mirrors it will be less ...
>
> (I forced failovermethod=roundrobin, but it is not necessary
>
http://slovnik.seznam.cz/sl.fcgi?src_trg=en_cz&len=30&word=necessary%20steps
>
> it is default)
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> [main]
> cachedir=/var/cache/yum
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=redhat-release
> installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise
> kernel-debug kernel-unsupported kernel-smp-unsupported
> kernel-hugemem-unsupported
> tolerant=1
> exactarch=1
>
> [base]
> name=CentOS-$releasever - Base
> baseurl=
http://mirror.centos.org/centos-3/$releasever/os/$basearch/
>
http://ftp.upce.cz/caos/centos-3/$releasever/os/$basearch/
>
http://caos.oregonstate.edu/centos-3/$releasever/os/$basearch/
> ftp://sunsite.utk.edu/pub/linux/caos/centos-3/$releasever/os/$basearch/
>
>
http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-3/$releasever...
>
> ftp://ftp.sunsite.org.uk/sites/mirror.caosity.org/cAos/centos-3/$releasever/os/$basearch/
>
http://download.centos.ru/centos-3/$releasever/os/$basearch/
>
> ftp://mirror.pacific.net.au/linux/cAos/centos-3/$releasever/os/$basearch/
>
>
http://public.planetmirror.com/pub/caosity/centos-3/$releasever/os/$basearch...
> ftp://ftp2.tnc.edu.tw/pub1/centos/centos-3/$releasever/os/$basearch/
> gpgcheck=1
> failovermethod=roundrobin
>
> #released updates
> [update]
> name=CentOS-$releasever - Updates
> baseurl=
http://mirror.centos.org/centos-3/$releasever/updates/$basearch/
>
http://ftp.upce.cz/caos/centos-3/$releasever/updates/$basearch/
>
http://caos.oregonstate.edu/centos-3/$releasever/updates/$basearch/
>
> ftp://sunsite.utk.edu/pub/linux/caos/centos-3/$releasever/updates/$basearch/
>
>
http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-3/$releasever...
>
> ftp://ftp.sunsite.org.uk/sites/mirror.caosity.org/cAos/centos-3/$releasever/updates/$basearch/
>
http://download.centos.ru/centos-3/$releasever/updates/$basearch/
>
> ftp://mirror.pacific.net.au/linux/cAos/centos-3/$releasever/updates/$basearch/
>
>
http://public.planetmirror.com/pub/caosity/centos-3/$releasever/updates/$bas...
>
> ftp://ftp2.tnc.edu.tw/pub1/centos/centos-3/$releasever/updates/$basearch/
> gpgcheck=1
> failovermethod=roundrobin
>
> #packages used/produced in the build but not released
> [addons]
> name=CentOS-$releasever - Addons
> baseurl=
http://mirror.centos.org/centos-3/$releasever/addons/$basearch/
>
http://ftp.upce.cz/caos/centos-3/$releasever/addons/$basearch/
>
http://caos.oregonstate.edu/centos-3/$releasever/addons/$basearch/
>
> ftp://sunsite.utk.edu/pub/linux/caos/centos-3/$releasever/addons/$basearch/
>
>
http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-3/$releasever...
>
> ftp://ftp.sunsite.org.uk/sites/mirror.caosity.org/cAos/centos-3/$releasever/addons/$basearch/
>
http://download.centos.ru/centos-3/$releasever/addons/$basearch/
>
> ftp://mirror.pacific.net.au/linux/cAos/centos-3/$releasever/addons/$basearch/
>
>
http://public.planetmirror.com/pub/caosity/centos-3/$releasever/addons/$base...
> ftp://ftp2.tnc.edu.tw/pub1/centos/centos-3/$releasever/addons/$basearch/
> gpgcheck=1
> failovermethod=roundrobin
>
> #additional packages that may be useful
> [extras]
> name=CentOS-$releasever - Extras
> baseurl=
http://mirror.centos.org/centos-3/$releasever/extras/$basearch/
>
http://ftp.upce.cz/caos/centos-3/$releasever/extras/$basearch/
>
http://caos.oregonstate.edu/centos-3/$releasever/extras/$basearch/
>
> ftp://sunsite.utk.edu/pub/linux/caos/centos-3/$releasever/extras/$basearch/
>
>
http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-3/$releasever...
>
> ftp://ftp.sunsite.org.uk/sites/mirror.caosity.org/cAos/centos-3/$releasever/extras/$basearch/
>
http://download.centos.ru/centos-3/$releasever/extras/$basearch/
>
> ftp://mirror.pacific.net.au/linux/cAos/centos-3/$releasever/extras/$basearch/
>
>
http://public.planetmirror.com/pub/caosity/centos-3/$releasever/extras/$base...
> ftp://ftp2.tnc.edu.tw/pub1/centos/centos-3/$releasever/extras/$basearch/
> gpgcheck=1
> failovermethod=roundrobin
>
> #packages in testing
> #[testing]
> #name=CentOS-$releasever - Testing
> #baseurl=
http://mirror.centos.org/centos-3/$releasever/testing/$basearch/
> #
http://ftp.upce.cz/caos/centos-3/$releasever/testing/$basearch/
> #
http://caos.oregonstate.edu/centos-3/$releasever/testing/$basearch/
> #
> ftp://sunsite.utk.edu/pub/linux/caos/centos-3/$releasever/testing/$basearch/
> #
>
http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-3/$releasever...
> #
> ftp://ftp.sunsite.org.uk/sites/mirror.caosity.org/cAos/centos-3/$releasever/testing/$basearch/
> #
http://download.centos.ru/centos-3/$releasever/testing/$basearch/
> #
> ftp://mirror.pacific.net.au/linux/cAos/centos-3/$releasever/testing/$basearch/
> #
>
http://public.planetmirror.com/pub/caosity/centos-3/$releasever/testing/$bas...
> #
> ftp://ftp2.tnc.edu.tw/pub1/centos/centos-3/$releasever/testing/$basearch/
> #gpgcheck=1
> #failovermethod=roundrobin
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@caosity.org
>
http://lists.caosity.org/mailman/listinfo/centos
>