2.4. 从离线存储库安装 Satellite 软件包
使用此流程从离线存储库安装 Satellite 软件包。
流程
确保 Red Hat Enterprise Linux Server 和 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。