您的位置:首页 > 其它

Centons下 解决yum Loaded plugins: fastestmirror Determining fastest mirrors 的问题

2017-08-13 20:09 483 查看
[root@oldboyedu ~]# vim /etc/yum/pluginconf.d/fastestmirror.conf
[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,.ie
~
~
~
~
~
~
"/etc/yum/pluginconf.d/fastestmirror.conf" 12L, 279C written
第二步:
[root@oldboyedu ~]# vi /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=0 -----把原来的1改为0
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=19&ref=http://bugs.centos.org/
bug_report_page.php?category=yum
distroverpkg=centos-release

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
"/etc/yum.conf" 25L, 969C written
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  解决 yum Centons
相关文章推荐