yum install wget -yrm -rf /etc/yum.repos.d/*wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo yum clean all yum makecache
CentOS7快速更改yum源
原文:http://www.cnblogs.com/vincent-liang/p/7043099.html