使用yum 出现 Loaded plugins: fastestmirror

  使用yum 安装是出现 : Loaded plugins: fastestmirrorvim

[root@localhost yum.repos.d]# yum –y install httpd  httpd-devel
Loaded plugins: fastestmirror缓存

 

解决办法:socket

1.修改插件配置文件插件

[root@localhost yum.repos.d]# vim  /etc/yum/pluginconf.d/fastestmirror.confast

[main]
enabled=0   //由 1 改为0 ,禁用该插件
verbose=0
always_print_best_host = true
socket_timeout=3
#  Relative paths are relative to the cachedir (and so works for users as well
# as root).
hostfilepath=timedhosts.txt
maxhostfileage=10
maxthreads=15
#exclude=.gov, facebook
#include_only=.nl,.de,.uk,.iethread

 

2.修改yum 配置文件test

[root@localhost yum.repos.d]# vim /etc/yum.conf配置

9 plugins=0  //不使用插件file

 

3. 清除缓存并从新构建yum 源plugin

[root@localhost yum.repos.d]# yum clean all

[root@localhost yum.repos.d]# yum makecache

 

4. 使用yum 从新安装

相关文章
相关标签/搜索