linux centos yum报错 To address this issue please refer to the below wiki article 解决方法

怼烎@ 2021-09-07 15:44 443阅读 0赞

报错原因:国外yum镜像源 国内下载不了 修改为国内阿里yum镜像源

解决方法:

  1. cd /etc/yum.repos.d/
  2. mkdir repo_bak
  3. mv *.repo repo_bak/
  4. wget http://mirrors.aliyun.com/repo/Centos-7.repo
  5. yum clean all
  6. yum makecache

详细参考:《centos7 配置国内yum源和epel源》https://blog.csdn.net/whatday/article/details/106107168

发表评论

表情:
评论列表 (有 0 条评论,443人围观)

还没有评论,来说两句吧...

相关阅读