Centons下 解决yum Loaded plugins: fastestmirror Determining
[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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |