安装Basel repo源

1 cd /etc/yum.repos.d/
1 wget http://mirrors.aliyun.com/repo/Centos-7.repo

备份系统原来的repo文件

mv CentOs-Base.repo CentOs-Base.repo.bak

将下载的repo源,从命令

mv Centos-7.repo CentOs-Base.repo
清理缓存
yum clean all
重新生成缓存
yum makecache
升级yum源
yum uptade

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-30
  • 2022-01-14
  • 2021-09-04
相关资源
相似解决方案