# cd /etc/yum.repos.d/
# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
# vi CentOS6-Base-163.repo #编辑文件
把文件里面的$releasever全部替换为版本号,即6 最后保存!
http://www.centoscn.com/CentOS/config/2015/0716/5865.html
# cd /etc/yum.repos.d/
# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
# vi CentOS6-Base-163.repo #编辑文件
把文件里面的$releasever全部替换为版本号,即6 最后保存!
http://www.centoscn.com/CentOS/config/2015/0716/5865.html