sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
10-24
2302
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-10
846
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)