CentOS8配置阿里云YUM源

备份源

mv CentOS-Linux-Base.repo CentOS-Linux-Base.repo.bak

下载镜像源配置

wget http://mirrors.aliyun.com/repo/Centos-8.rep

修改镜像源

vim CentOS-Base.repo
# vim命令模式下执行
%s/mirrors.cloud.aliyuncs.com/mirrors.aliyun.com/g
%s/$releasever/$releasever-stream/g

你可能感兴趣的:(CentOS8配置阿里云YUM源)