rhel5.4 yum可用华中科技大学的源 http://centos.ustc.edu.cn/ 執行軟件更新
2010-03-05 15:34
363 查看
RHEL是一个非常稳定的Linux发行版,也是业界的领袖级产品,正是因为保守的应用,导致不少初学的朋友们很难适应,最大的问题是软件的安装。 虽然YUM工具也非常的方便,但只要注册了RHN的用户才能真正的享受VIP级别及简易的安装操作,虽然建立YUM本地更新库也是一个办法,毕竟不能和 RHN同日而语。
据说,CentOS的源是和RHN同步的,CentOS作为RHEL源代码重新编译产生的同胞兄弟,因此好多的人都在想能不能将RHEL的更新设置 到CentOS的源上呢?当然是可以的,因为CentOS其实也就是重新编译过的RHEL,所有的东西几乎相同,至于哪一个更值得用户选择,见仁见智的问 题,这里不会讨论。
下面的內容,替換 /etc/yum.repos.d/rhel-debuginfo.repo
# 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-5.3 - Base
baseurl=http://centos.ustc.edu.cn/centos/5.4/os/$basearch/
gpgcheck=1
gpgkey=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5
据说,CentOS的源是和RHN同步的,CentOS作为RHEL源代码重新编译产生的同胞兄弟,因此好多的人都在想能不能将RHEL的更新设置 到CentOS的源上呢?当然是可以的,因为CentOS其实也就是重新编译过的RHEL,所有的东西几乎相同,至于哪一个更值得用户选择,见仁见智的问 题,这里不会讨论。
下面的內容,替換 /etc/yum.repos.d/rhel-debuginfo.repo
# 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-5.3 - Base
baseurl=http://centos.ustc.edu.cn/centos/5.4/os/$basearch/
gpgcheck=1
gpgkey=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5
相关文章推荐
- http://acm.hdu.edu.cn/showproblem.php?pid=1540 更新节点,询问节点所在的位置有多少连续的区间
- 在CentOS/RHEL 6.2上使用YUM安装PHP5.4
- RHEL/CentOS 下安装yum源地址汇集---不定期更新
- 教育网可用RHEL5 yum更新源一则
- centos5.4 yum(更新源
- 3步使RHEL 5的yum更新可用
- 如何使用 yum-cron 自动更新 RHEL/CentOS Linux
- http://acm.hdu.edu.cn/showproblem.php?pid=2795 更新节点构造线段数很关键,询问特殊
- CentOS 6.4 yum安装chrome(http://www.centoscn.com/image-text/install/2013/0729/753.html)
- http://acm.hdu.edu.cn/showproblem.php?pid=1754 更新节点,区间最值
- 在CentOS/RHEL 6.5上使用YUM安装PHP5.4或PHP5.5
- http://acm.hdu.edu.cn/showproblem.php?pid=1779 线段树 求区间最大值 结点更新
- RHEL/CentOS 下安装yum源地址汇集---不定期更新
- 在CentOS/RHEL 6.2上使用YUM安装PHP5.4
- RHEL5.4和CENTOS的YUM升级
- http://acm.hdu.edu.cn/showproblem.php?pid=1166 更新节点,区间求和
- http://acm.hdu.edu.cn/showproblem.php?pid=2871 更新最左区间
- RHEL 5.3使用Centos 5.3的 yum 源进行更新和安装软件
- 如何使用 yum-cron 自动更新 RHEL/CentOS Linux | Linux 中国
- CentOS 5.4 yum 更新国内镜像