RHEL3的yum配置

RHEL3的yum配置

一个比较老的系统了, uname的结果是
Linux pc  2.4 . 21 - 4 .EL # 1  Fri Oct  3   18 : 13 : 58  EDT  2003  i686 i686 i386 GNU / Linux
安装的yum版本是 yum-2.0.7-1.noarch.rpm.

找的源是针对Centos3的, 请参考:
Centos-3 is a distribution that rebuilds the Enterprise Linux 3 release by taking the Source RPMs and rebuilding them with full binary compatibility to the upstream RPM packages of the EL3 line (see the project website for more details about this distribution: www.centos.org).
Centos 3 represents a rebuild of the latest updated release of Enterprise Linux 3


用的是DUKE大学提供的source, 参见 Packages for Centos-3:
[duke - base]
name
= Linux@DUKE Centos $releasever  -  $basearch  -  Base
baseurl
= http: // install.linux.duke.edu/pub/linux/base/centos-3/$basearch/
gpgcheck = 1

[updates]
name
= Linux@DUKE Centos $releasever  -  $basearch  -  Updates
baseurl
= http: // install.linux.duke.edu/pub/linux/updates/centos-3/$basearch/
gpgcheck = 1

[duke
- distrib]
name
= Linux@DUKE Freely Distributable add - on packages  for  Centos $releasever  -  $basearch
baseurl
= http: // install.linux.duke.edu/pub/linux/add-on/distrib/centos-3/$basearch/
gpgcheck = 1

需要导入的key参见 Using Signature Checking in Yum :
但好像其中i386下的一个key是错误的,最后导入的key是这样的:
rpm  -- import  http: // install.linux.duke.edu/pub/linux/base/centos-3/i386/RPM-GPG-KEY-CentOS-3
rpm --import http://install.linux.duke.edu/pub/linux/add-on/distrib/Linux-at-DUKE-GPG-KEY

最后,如果业务有需要,还是购买正式的RHEL服务吧,呵呵,或者用其他免费的版本.

你可能感兴趣的:(RHEL3的yum配置)