CentOS7——配置阿里云镜像源

#下载CentOS 7的repo文件
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

#更新镜像源
yum clean all
yum makecache

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄