标签:centos 7
cd /etc/yum.repos.d/ wget http://mirrors.163.com/.help/CentOS6-Base-163.repo vim CentOS6-Base-163.repo
修改:
s/\$releasever/7/g
s/RPM-GPG-KEY-CentOS-6/RPM-GPG-KEY-CentOS-7/
centos 7.1 yum
原文地址:http://curran.blog.51cto.com/2788306/1671962