rhel5.4 yum可用华中科技大学的源 執行軟件更新
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=centos/5.4/os/$basearch/
gpgcheck=1
gpgkey=centos/RPM-GPG-KEY-CentOS-5
阅读(1332) | 评论(0) | 转发(0) |