我是靠谱客的博主 微笑哈密瓜,最近开发中收集的这篇文章主要介绍使用yum更新补丁包,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

实现:让linux服务器能自动安装你需要的一些依赖包、补丁等 ,以便你安装调试各种服务器,安装软件时不必自己去找各种依赖包、补丁
redhat AS4安装yum
方法一
1、下载下列rpm包
centos-yumconf_4-4.3_noarch.rpm
python-urlgrabber_2.9.6-2_noarch.rpm
python-elementtree_1.2.6-4_i386.rpm
sqlite_3.2.2-1_i386.rpm
python-sqlite_1.1.6-1_i386.rpm
yum_2.4.0-1.centos4_noarch.rpm
可以直接下载地址: [url]http://www.chinalinuxpub.com/yum.tgz[/url] 得到
2、安装上述rpm包
rpm -ivh *.rpm
3、将原先的centos库去除并添加AS4库
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/i386/RedHat/
gpgcheck=1
gpgkey=http://ftp.chinalinuxpub.com/redhat/enterprise/RPM-GPG-KEY-linuxpub
至此yum便可以用了。

转载于:https://blog.51cto.com/xiaohei/69312

最后

以上就是微笑哈密瓜为你收集整理的使用yum更新补丁包的全部内容,希望文章能够帮你解决使用yum更新补丁包所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(71)

评论列表共有 0 条评论

立即
投稿
返回
顶部