[Linux 学习] Centos 使用yum出现Loaded plugins: refresh-packagekit, security

sudo vim  /etc/yum/pluginconf.d/fastestmirror.conf

  1. enabled=0  //把1改为0  
  2. verbose=0  
  3. socket_timeout=3  
  4. hostfilepath=/var/cache/yum/timedhosts.txt   
  5. maxhostfileage=10  
  6. maxthreads=15  
  7. #exclude=.gov, facebook

sudo vim /etc/yum.conf

keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1                 #将plugins的值修改为0

 

posted @ 2017-05-10 14:14  Wherein  阅读(7746)  评论(0编辑  收藏  举报