CENTOS 7 换源
帮助中心 2021-01-27 16:01 11872

cd /etc/yum.repos.d/

rm -f dvd.repo

此源为163

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

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

yum clean all

yum makecache