Tuesday, July 12, 2011

Faster YUM search!

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
yum install yum-fastestmirror

Once the installation completed, you have to edit the file /etc/yum.conf and add the following line to the file:


If it is already there , no need to add!

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