centos 7.1 yum

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)