解決YUM下Loaded plugins: fastestmirror Determining fastest mirrors

Centons下出現這個問題 
其大概意思是fastestmirror不能使用,fastestmirror是yum的一個加速插件,具體我也沒有仔細瞭解過,多是系統不支持或者缺乏組建致使的。處理辦法就是禁用這個插件,方法以下: 
root@www.ctohome.com]# vi /etc/yum/pluginconf.d/fastestmirror.confsocket

[main] 
enabled=0 //把1改成0 
verbose=0 
socket_timeout=3 
hostfilepath=/var/cache/yum/timedhosts.txt 
maxhostfileage=10 
maxthreads=15ide

exclude=.gov, facebook

=======================================================================================插件

修改如下配置文件 
#vi /etc/yum.confdebug

[main] 
cachedir=/var/cache/yum/basearch/basearch/releasever 
keepcache=0 
debuglevel=2 
logfile=/var/log/yum.log 
exactarch=1 
obsoletes=1 
gpgcheck=1 
plugins=1 #將plugins的值修改成0 
installonly_limit=5it

相關文章
相關標籤/搜索