1.cd /etc/yum.repos.d 2.wget wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 3.删除原本的源即可 4.yum update