1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| cd /etc/yum.repos.d
cd ..
mkdir repoBack
cd /etc/yum.repos.d
mv * ../repoBack
wget http://mirrors.aliyun.com/repo/Centos-7.repo
mv Centos-7.repo CentOS-Base.repo
yum clean all
yum makecache
yum update
|