cd /etc/yum.repos.d/

从这里下载对应的3个文件,ssh上传进行替换

http://mirrors.aliyun.com/repo/

 如:centos 6.8

Centos-6.repo  => CentOS-Base.repo
epel-6.repo  => epel.repo
epel-testing.repo  => epel-testing.repo

执行 yum makecache

重新安装wget,一切顺畅了

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-07-30
  • 2022-03-02
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2021-08-14
  • 2021-06-26
  • 2021-08-27
  • 2021-09-20
  • 2021-11-01
相关资源
相似解决方案