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

前端之家收集整理的这篇文章主要介绍了Centons下 解决yum Loaded plugins: fastestmirror Determining fastest mirrors 的问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

[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

原文链接:https://www.f2er.com/bash/391452.html

猜你在找的Bash相关文章