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源已经使用没有问题了
标签:CentOS7,Loading,hostfile,CentOS,cached,repo,Base,yum,163 From: https://www.cnblogs.com/q202105271618/p/16981026.html