vim /etc/yum/pluginconf.d/fastestmirror.conf enable=0 #将1改为0
1
echo -e "[main]\nenabled=0\nverbose=0\nalways_print_best_host = true\nsocket_timeout=3\n# Relative paths are relative to the cachedir (and so works for users as well\n# as root).\nhostfilepath=timedhosts.txt\nmaxhostfileage=10\nmaxthreads=15\n#exclude=.gov, facebook\n#include_only=.nl,.de,.uk,.ie" > /etc/yum/pluginconf.d/fastestmirror.conf