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

相关文章:

  • 2021-08-22
  • 2022-12-23
  • 2021-08-21
  • 2022-12-23
  • 2022-01-28
  • 2021-12-12
  • 2021-09-21
猜你喜欢
  • 2021-06-17
  • 2021-10-21
  • 2022-12-23
  • 2021-12-31
  • 2021-10-17
  • 2021-12-06
相关资源
相似解决方案