使用的是阿裡巴巴開源鏡像站,檔案位址:
https://mirrors.aliyun.com/repo/Centos-8.repo
使用方法:
cd /etc/yum.repos.d/
rm -f CentOS-Base.repo CentOS-AppStream.repo CentOS-PowerTools.repo CentOS-centosplus.repo CentOS-Extras.repo
curl -o CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo
yum makecache