RHEL/CentOS 6的更新源
2013-09-04 14:31
471 查看
RedHat/CentOS 6 yum repository更新源
Linux安装软件,rpm方法总会遇到依赖的问题,烦不胜烦。yum install是一个比较方便的安装方式,所以要选择一个好一些yum repository更新源。国内不错的更新源有中科大/搜狐/163.国内三个主要的开源镜像站
(教育网)中科大镜像站:http://mirrors.ustc.edu.cn/搜狐镜像站:http://mirrors.sohu.com/
163镜像站:http://mirrors.163.com/
修改CentOS-Base.repo
vim /etc/yum.repos.d/CentOS-Base.repo;# 用vim修改CentOS-Base.repo。如果用中科大镜像站的yum源,文件内容改为:
# CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base baseurl=http://mirrors.163.com/centos/6/os/$basearch/ gpgcheck=1 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6 #released updates [updates] name=CentOS-$releasever - Updates baseurl=http://mirrors.163.com/centos/6/updates/$basearch/ gpgcheck=1 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6 #packages used/produced in the build but not released #[addons] #name=CentOS-$releasever - Addons #baseurl=http://mirrors.163.com/centos/$releasever/addons/$basearch/ #gpgcheck=1 #gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras baseurl=http://mirrors.163.com/centos/6/extras/$basearch/ gpgcheck=1 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus baseurl=http://mirrors.163.com/centos/6/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
View Code
相关文章推荐
- 利用CentOS的yum更新源来实现RHEL5的YUM功能
- centos/rhel 6.5(更新至centos 7)下rabbitmq安装(最简单方便的方式)
- 在 CentOS 和 RHEL 系统上安装或自动更新安全补丁
- RHEL5.3使用CentOS5.3的更新源
- rhel5 使用centos 源更新
- CentOS /RHEL 系统更新安全补丁的方法
- RHEL/CentOS 下安装yum源地址汇集---不定期更新
- RHEL 5.3使用Centos 5.3的 yum 源进行更新和安装软件
- RHEL6.0使用centos的YUM更新源
- CentOS /RHEL 系统更新安全补丁的方法
- CentOS 6和RHEL 6获取FragmentSmack缺陷的重要内核安全更新
- CentOS /RHEL 系统更新安全补丁的方法
- CentOS /RHEL 系统更新安全补丁的方法
- rhel5.4 yum可用华中科技大学的源 http://centos.ustc.edu.cn/ 執行軟件更新
- redhat(rhel)用CentOS的yum源更新/安装软件 推荐
- CentOS /RHEL 系统更新安全补丁的方法
- 使用163.com的Centos6 yum源,更新RHEL6系统
- CentOS /RHEL 系统更新安全补丁的方法
- RHEL5.X更换CentOS的更新源
- Centos or RHEL 添加第三方源(不定期更新)