1. 程式人生 > >rhel伺服器改為centos源

rhel伺服器改為centos源

# 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