首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

RHEL-AS4装配yum

2012-07-27 
RHEL-AS4安装yum我的系统版本:Red Hat Enterprise Linux AS release 4(用命令 lsb_release -a查看)??1.

RHEL-AS4安装yum

我的系统版本:

Red Hat Enterprise Linux AS release 4(用命令" lsb_release -a"查看)

?

?

1.下载软件包:?

wget http://yum.baseurl.org/download/2.0/yum-2.0.8-1.src.rpm?

?

2.安装(由于是RPM源码包所以安装比较特殊)?

#rpmbuild --rebuild yum-2.0.8-1.src.rpm?

?

?

3.进入到:/usr/src/redhat/RPMS/noarch/?

?

4. 使用rpm -ivh yum-2.0.8-1.noarch.rpm 安装

?

5.配置文件/etc/yum.conf

?

主要修改[base]和[updates]下的内容,这里我们使用centos的源:

改成这样就可用了:

?

yum update >> yumUpdate.log 2>&1 &?

?

参考:http://mr-lonely-hp.iteye.com/blog/1066508

热点排行