解決YUM下Loaded plugins: fastestmirror Determining fastest mirrors 的問題

Centons下socket

其大概意思是fastestmirror不能使用,fastestmirror是yum的一個加速插件,具體我也沒有仔細瞭解過,多是系統不支持或者缺乏組建致使的。處理辦法就是禁用這個插件,方法以下:插件

    1. root@www.ctohome.com]# vi  /etc/yum/pluginconf.d/fastestmirror.conf   
    2. [main]   
    3. enabled=0  //把1改成0  
    4. verbose=0  
    5. socket_timeout=3  
    6. hostfilepath=/var/cache/yum/timedhosts.txt   
    7. maxhostfileage=10  
    8. maxthreads=15  
    9. #exclude=.gov, facebook
    10. =======================================================================================
    11. 修改如下配置文件
    12.  #vi /etc/yum.conf[main]cachedir=/var/cache/yum/$basearch/$releaseverkeepcache=0debuglevel=2logfile=/var/log/yum.logexactarch=1obsoletes=1gpgcheck=1plugins=1                 #將plugins的值修改成0installonly_limit=5
相關文章
相關標籤/搜索