yum install wget
wget -O /etc/yum .repos .d /CentOS-Base .repo http://mirrors .aliyun .com /repo/Centos- 7. repo
yum clean all
yum makecache
wget -O /etc/yum .repos .d /CentOS-Base .repo http://mirrors .aliyun .com /repo/Centos- 7. repo
yum clean all
yum makecache