1.在/etc/yum.repos.d/下进行如下操作(请做好相应备份):
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
mv CentOS7-Base-163.repo CentOS-Base.repo
2.重建缓存
yum clean all
yum makecache
1.在/etc/yum.repos.d/下进行如下操作(请做好相应备份):
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
mv CentOS7-Base-163.repo CentOS-Base.repo
2.重建缓存
yum clean all
yum makecache