免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 938 | 回复: 0
打印 上一主题 下一主题

RHEL4通过YUM实现自动升级---据原文修改 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-22 11:15 |只看该作者 |倒序浏览
RHEL4通过YUM实现自动升级

下载地址:
http://www.chinalinuxpub.com/yum.tgz

安装:
tar zxvf yum.tgz
cd yum
rpm -ivh *.rpm
rm -rf /etc/yum.repos.d/CentOS-Base.repo
vi /etc/yum.repos.d/as4-update.repo
加入:
#released updates
[update]
name=Red Hat Enterprise AS release 4 Updates
baseurl=http://ftp.chinalinuxpub.com/redhat/enterprise/updates/4AS/
gpgcheck=1
gpgkey=http://ftp.chinalinuxpub.com/redhat/enterprise/RPM-GPG-KEY-linuxpub
vi /etc/yum.repos.d/as4-base.repo
加入:
#released base
[base]
name=Red Hat Enterprise AS release 4 Updates
baseurl=http://ftp.chinalinuxpub.com/redhat/enterprise/os/i***/RedHat/
gpgcheck=1
gpgkey=http://ftp.chinalinuxpub.com/redhat/enterprise/RPM-GPG-KEY-linuxpub
然后就可以正常使用yum了.

说明一下,这个本来是从网上贴下来的,但是我试验后没有成功。经过一点小小的改动,可以升级了。

此处改动:

baseurl=http://ftp.chinalinuxpub.com/redhat/enterprise/os/i***/RedHat/

改成这样:

http://ftp.chinalinuxpub.com/redhat/enterprise/os/i386/RedHat/

可能是因为chinalinuxpub上只有i386文件夹,通配没有生效。不该就没有升级成功。

有很多人都在问linux下的qq。lumaqq好像不能登陆了,反正我的是不能用了。我推荐一个pidgin。可以登陆很多聊天工具。

正好试一下yum!

这是官方网站:

http://www.pidgin.im/download/centos_rhel/

下面是官方的说明,挺简单的英语。

To install Pidgin on CentOS 4 or 5, or RHEL 5, save the pidgin.repo file from above in /etc/yum.repos.d/
You can then use "yum install pidgin", or your favorite package manager, to install Pidgin
To install Pidgin on RHEL 4, add the following line to /etc/sysconfig/rhn/sources:
yum pidgin http://rpm.pidgin.im/rhel/4/$ARCH
You will also need to install the GPG signing key manually:
rpm --import http://rpm.pidgin.im/RPM-GPG-KEY-pidgin
You can then use "up2date -u pidgin" to install Pidgin.
ok ?!!!


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/52819/showart_503549.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP