rhel6用centos163 yum源

cd /etc/yum.repos.d/

wget wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

sed -i "s/\$releasever/6/" CentOS6-Base-163.repo 

 

posted @ 2014-01-06 15:33  yanghuahui  阅读(169)  评论(0编辑  收藏  举报