2021-06-26,Centos 6无法使用yum解决办法

Centos 6无法使用yum解决办法

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.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo
yum clean all
yum makecache

上一篇:YUM命令出现“Error: Cannot find a valid baseurl for repo


下一篇:4 linux系统核心命令