how setup lpugin fastestmirror on centos

This plugin is designed to test the speed of each mirror followed by sorting to use YUM. It establishes a connection with each of the mirror, time of connectionand then sorts on fast to slow.


If you are using the default configuration, and if you are not behind a proxyserver, fastestmirror strongly recommended (in CentOS 5.3 it is selected by default).


To use this plugin, you must enable the use of plugins in/etc/yum.conf file, see.Yum plugins for details. Starting with CentOS 5, plug-ins are enabled by default.


You can install plugin, fastestmirror using the following command:


Or by using the following command on CentOS 5:

After installing fastestmirror, make sure it is turned on. Edit the file/etc/yum/pluginconf.d/fastestmirror.conf and make sure it contains the following lines:

To exclude a particular mirror, the TLD (top level domain), or something in between, add the line ‘ exclude = in/etc/yum/pluginconf.d/fastestmirror.conf:

With protectbase plugin fastestmirror YUM and you get quick updates with maximum protection against accidental damage from third-party repositories.