首页 > 其他 > 详细

CentOS 6.8yum源的配置

时间:2016-12-25 09:37:55      阅读:809      评论:0      收藏:0      [点我收藏+]
Centos配置163的yum源
1、首先备份当前系统的yum源
# mv /etc/yum.repo.d/Centos-Base.repo /etc/yum.repo.d/Centos-Base.repo.d.bak
2、在http://mirrors.centos.com/.html/下载相对应版本的repo文件,放入到/etc/yum.repo.d/
3、将CentOS6-Base-163.repo重命名为Centos-Base.repo
4、执行以下命令:
# yum clean all
# yum makecache
# yum update
2、在163源的基础上以pkgs.org配置第二yum源
# vim /etc/yum.repo.d/linuxtech.repo
[linuxtech] name=LinuxTECH baseurl=http://pkgrepo.linuxtech.net/el6/release/ enabled=1 gpgcheck=1 gpgkey=http://pkgrepo.linuxtech.net/el6/release/RPM-GPG-KEY-LinuxTECH.NET

CentOS 6.8yum源的配置

原文:http://www.cnblogs.com/nxmydlp/p/6219031.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!