[CentOS] Automatic site selection for dowload

Karanbir Singh kbsingh at centos.org
Fri Jun 27 08:27:03 UTC 2008

tech wrote:
> I would like to ask that more flexibility be built into automatically 
> choosing sites for downloading.

You can always just disable the yum-fastestmirror plugin if its not 
working well for you. In /etc/yum/pluginconf.d there should be a file 
called fastestmirror.conf - look in there, and change enabled=1 to 
enabled=0. Might be worth running it with verbose=1 for a little while 
to work out whats going on. Perhaps also reduce the maxhostfileage value 
to have fastestmirror speed check each mirror more often.

There is also always the option of only using mirrors you know work 
well. To do that, comment out the mirrorlist= lines from 
/etc/yum.repos.d/CentOS-Base.repo and replace them with baseurl=<url to 
mirror>. You can have multiple mirrors listed there. man yum.conf for 
more info on that.

Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #centos at irc.freenode.net

More information about the CentOS mailing list