centos8更改镜像源

服务器   发布日期:2025年05月28日   浏览次数:366

centos8更改镜像源

阿里云:阿里云社区关于centos8镜像       https://developer.aliyun.com/mirror/centos

curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo
sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo

yum makecache

以上就是centos8更改镜像源的详细内容,更多关于centos8更改镜像源的资料请关注九品源码其它相关文章!