首页 > 代码库 > CentOS 6.8yum源的配置
CentOS 6.8yum源的配置
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源的配置
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。