CentOS: install yum fastest mirror plugin for faster connection update


linux, centos yum update, centos linuxYum 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:-

Advertisements

yum install yum-plugin-fastestmirror

or

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:

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

[tags]centos fatest mirror plugin, yum fatest mirror, yum plugin, yum-plugin-fastestmirror, centos yum plugin, linux yum plugin, linux yum fatest mirror plugin, linux tips, centos tips, centos[/tags]




Share this with your friends:-

5 Responses to “CentOS: install yum fastest mirror plugin for faster connection update”

  1. chua says:

    yes, you might not see improvement as the way it determine fastest mirror is by ping and not throughput.

  2. SIFE says:

    I don’t see any speed improvement.

  3. sogua says:

    Philip: try “yum install yum-fastestmirror”, over the time centos has changed the name of the plugin. i’ve just updated the post above.

  4. Philip says:

    sounds pretty cool, but i get “no yum-plugin-fastestmirror package available”. Any advice?

  5. Mick Russom says:

    This tool is an improvement, but it relies only on latency and not on bandwidth.

Leave a Reply