更新centos7的yum源:
cd /etc/yum.repos.d mkdir bk && mv * bk/ wget http://mirrors.aliyun.com/repo/Centos-7.repo wget http://mirrors.aliyun.com/repo/epel-7.repo yum clean all yum makecache