https://developer.aliyun.com/mirror/
打开开源镜像中心
yum install wget
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
下载完后
yum clean all
yum makecache