使用的是阿里巴巴开源镜像站,文件地址:
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
转载请注明原文地址:https://tech.qufami.com/read-22867.html