阿里源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak
curl http://mirrors.aliyun.com/repo/Centos-7.repo -o /etc/yum.repos.d/CentOS-Base.repo
# 阿里 epel 源
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo_bak
curl http://mirrors.aliyun.com/repo/epel-7.repo -o /etc/yum.repos.d/epel.repo
标签:epel,repo,repos,CentOS7,etc,Base,yum,更换
From: https://www.cnblogs.com/Star-Haitian/p/17003427.html