这yum源、6咋地这么费呢
sed -i “s|enabled=1|enabled=0|g” /etc/yum/pluginconf.d/fastestmirror.conf
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo
最后为了检测这一次yum的源是否是成功的,使用下面的命令来进行测试
yum grouplist
————————————————
原文链接:https://blog.csdn.net/SPSITA/article/details/116358056