CentOS 添加163源
2010-09-29 14:37
183 查看
以超级用户登路
先关闭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名就可以了。
先关闭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名就可以了。
相关文章推荐
- Centos 6.5添加网易163源
- 为中标麒麟增加yum源(也可实现CentOS添加163源)
- Linux centos添加源+网易163源+搜狐源
- CentOS 添加163源
- CentOS添加163源和EPEL
- CentOS 6.5添加网易163源
- CentOS添加163源
- Centos 6.4添加国内163源
- CentOS 6.5添加163源
- centos 163源
- centOS6.0 防火墙 添加TOMCAT访问端口
- CentOS下添加用户并且让用户获得root权限
- CentOS添加永久静态路由
- 添加 Ubuntu/Debian 到 RHEL/CentOS 7的 PXE 网络启动环境
- <摘录>CentOS6.5下添加epel源
- VMware 10 中为CentOS 7添加多网卡并重命名
- centos系统中添加epel丰富yum源
- Centos 7 添加epel源
- Centos 7 学习之添加用户
- 为CentOS添加网络yum源