Loading mirror speeds from cached hostfile

yum源的需要进行更换了,下面操作换成163的

cd /etc/yum.repos.d

  将原有yum源备份

mv CentOS-Base.repo CentOS-Base.repo.back

  下载163的源

wget http://mirrors.163.com/.help/CentOS7-Base-163.repo

  将CentOS7-Base-163.repo重新命名为CentOS-Base.repo

mv CentOS7-Base-163.repo CentOS-Base.repo

  

 

 新更换的yum源已经使用没有问题了

posted @ 2022-12-14 00:01  不忘初心2021  阅读(81)  评论(0编辑  收藏  举报