2.4. 从离线软件仓库安装 Satellite 软件包
使用这个流程从离线软件仓库安装 Satellite 软件包。
流程
确保挂载了 Red Hat Enterprise Linux 服务器和 Red Hat Satellite 的 ISO 镜像:
# findmnt -t iso9660
导入 Red Hat GPG 密钥:
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
确定基本操作系统使用 Binary DVD 镜像是最新的:
# dnf upgrade
切换到挂载 Satellite ISO 的目录:
# cd /media/sat6/
在挂载的目录中运行安装脚本:
# ./install_packages
注意脚本包含一个启用
satellite:el8
模块的命令。启用模块satellite:el8
会警告与postgresql:10
和ruby:2.5
冲突,因为这些模块被设置为 Red Hat Enterprise Linux 8 上的默认模块版本。模块satellite:el8
具有模块postgresql:12
和ruby:2.7
的依赖项,它将通过satellite:el8
模块启用。这些警告不会导致安装过程失败,因此可以安全地忽略。有关 Red Hat Enterprise Linux 8 模块和生命周期流的更多信息,请参阅 Red Hat Enterprise Linux Application Streams 生命周期。如果您成功安装了 Satellite 软件包,则会显示以下信息:
Install is complete。请运行 satellite-installer --scenario satellite
。