Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
server-administration:yum-fastestmirror-reset [2010-12-20 08:38:33]
garrett.plasky created
server-administration:yum-fastestmirror-reset [2011-05-13 16:46:21]
garrett.plasky Approved
Line 3: Line 3:
 The yum-fastestmirror plugin is great for server admins. It goes out and attempts to determine which mirror would be faster to download from and automatically selects that mirror. The plugin works well for the most part but every once in a while it can choose a mirror that is slow. If you want to reset the plugin so that it will retest the mirrors all you have to do is the following: The yum-fastestmirror plugin is great for server admins. It goes out and attempts to determine which mirror would be faster to download from and automatically selects that mirror. The plugin works well for the most part but every once in a while it can choose a mirror that is slow. If you want to reset the plugin so that it will retest the mirrors all you have to do is the following:
  
-<code console> +<sxh bash>rm -f /​var/​cache/​yum/​timedhosts.txt 
-rm -f /​var/​cache/​yum/​timedhosts.txt +yum install <​package>​ 
-yum install <​package>​ +</sxh>
-</code>+
  
 {{tag>​centos how-to administration console}} {{tag>​centos how-to administration console}}