首页 > 系统运维 > CentOS 添加163源
您的足迹
  • 你没有浏览过任何文章或者你没有开启cookies。

CentOS 添加163源

以超级用户登路

先关闭fastestmirror

#“vi /etc/yum/pluginconf.d/fastestmirror.conf”     and set “enable=0″
#cd /etc/yum.repos.d/
#wget http://mirrors.163.com/.help/CentOS-Base-163.repo
#wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo //sohu的源
#yum list

查看一下是否成功。

此时会有如下提示:

Repository base is listed more than once in the configuration

Repository updates is listed more than once in the configuration

Repository addons is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

Repository contrib is listed more than once in the configuration

解决方法:修改原来的CentOS-Base.repo名就可以了。

  1. 还没有评论
评论提交中, 请稍候...

留言

可以使用的标签: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackbacks & Pingbacks ( 0 )
  1. 还没有 trackbacks
Feed