采用yum工具
- 在/etc/yum.repos.d目录下创建一个文件,xxx.repo,文件内容:
[update]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://xxx@abc.com:password@updateserver.com/redhat/yum/5/server/upda
tes/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
其中baseurl是存放升级补丁的server地址,name随意 - 运行 yum check-update,查看可以升级的包
- 运行yum update开始更新。
- 也可以运行yum update --exclude gcc*排除某个包的更新。
本文介绍如何通过YUM工具在Red Hat Enterprise Linux系统上进行软件包的更新。主要步骤包括配置YUM源文件、检查可更新的软件包、执行更新操作以及排除特定软件包的更新。
2721

被折叠的 条评论
为什么被折叠?



