SL7: fastest mirrors
to enable the automatic checking for fastest mirrors within yum install the following plugin: $ sudo yum install yum-plugin-fastestmirror
check that plugins are enabled:
[code languag="bash"]
$ cat /etc/yum.conf
<truncated>
plugins=1
[/code]
check that the config file contains the following:
[code languag="bash"]
$ cat /etc/yum/pluginconf.d/fastestmirror.conf
[main]
verbose = 0
socket_timeout = 3
enabled = 1
hostfilepath = /var/cache/yum/timedhosts.txt
maxhostfileage = 1
[/code]