1、Base源
wget http://mirrors.aliyun.com/repo/Centos-7.repo
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
2、安装epel源,epel源安装成功,比原来多了一个epel.repo和epel-testing.repo文件
yum install -y epel-release
换成阿里的源
wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo
Recent Comments