https://www.cnblogs.com/digdeep/p/10982669.html
1)修改插件的配置文件
# cp /etc/yum/pluginconf.d/fastestmirror.conf /etc/yum/pluginconf.d/fastestmirror.conf.bak
# vi /etc/yum/pluginconf.d/fastestmirror.conf
enabled = 1 //由1改为0,禁用该插件
2)修改yum的配置文件
# cp /etc/yum.conf /etc/yum.conf.bak
# vi /etc/yum.conf
plugins=1 //改为0,不使用插件