CentOS: install yum fastest mirror plugin for faster connection update
Yum fastest mirror plugin (yum-plugin-fastestmirror) allow yum to select the closest and freshest mirror around you for your yum update. Once the yum fastest mirror plugin is activated, whenever you perform yum update or install, you will get a better connection. As yum will search the mirror based on your IP thru the GeoIP system. Yum select the fastest mirror based on:-
1. The connecting location of the client.
2. The current freshness/staleness of the mirrors for that region.
yum fastest mirror plugin (yum-plugin-fastestmirror) sound interesting? Want to try?
To install yum fastest mirror plugin (yum-plugin-fastestmirror) you can use this command:-
yum install yum-plugin-fastestmirror
Once the installation completed, you have to edit the file /etc/yum.conf and add the following line to the file:
plugins=1
Done. you have just installed yum fastest mirror plugin.
if you perform yum install or yum update now,
you will notice there is a new line added like below
Loading “fastestmirror” plugin
Setting up Install Process
Setting up repositories
…
Happy yumming!
For more information visit CentOS
Note: If you see that the file /etc/yum.repos.d/CentOS-Base.repo.rpmnew is created, you are not using the new update system because your CentOS-Base.repo has been previously edited and was not replaced. If you want to try the new system, you must manually move the new CentOS-Base.repo.rpmnew to be CentOS-Base.repo.
GeoIP is a registered trademark of MaxMind LLC
Posted at March 22nd, 2007 by chuaIf you think this article helps you to solve your problem and clear your headache, feel free to buy me a drink :)








