A.7. 在 RHUA 节点上启用所需的软件仓库
要在系统上安装 RHUI,您必须首先在包含所需软件包的节点上启用特定的软件仓库。以下说明解释了如何在 RHUA 节点上启用 rhel-8-for-x86_64-baseos-rhui-rpms 和 rhel-8-for-x86_64-appstream-rhui-rpms 存储库。
如果您计划将 Ceph 文件系统(CephFS)用作共享存储,还必须启用 rhceph-5-tools-for-rhel-8-x86_64-rhui-rpms 存储库。
RHUA 节点需要带有基本软件包的 RHEL 安装,并且禁用所有存储库,除了 rhel-8-for-x86_64-baseos-rhui-rpms、rhel-8-for-x86_64-appstream-rhui-rpms,以及可选的 rhceph-5-tools-for-rhel-8-x86_64-rhui-rpms 存储库。这个要求意味着您无法安装服务器直接操作不需要的任何第三方配置或软件。这种限制包括强化或其他非红帽安全软件。
先决条件
- 确定您有对 RHUA 节点的 root 访问权限。
流程
导航到 RHUA 节点,列出已启用的存储库,并验证您的系统是否已正确订阅。
# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Update Infrastructure and RHEL Add-Ons for Providers Provides: JBoss Enterprise Application Platform from RHUI JBoss Enterprise Web Server from RHUI JBoss Operations Network from RHUI RHEL for SAP - Update Services for SAP Solutions from RHUI Red Hat Developer Tools from RHUI (for RHEL Server) Red Hat Enterprise Linux Server - Extended Update Support from RHUI RHEL for SAP HANA - Update Services for SAP Solutions from RHUI Red Hat Developer Tools Beta from RHUI (for RHEL Server) Red Hat Enterprise Linux High Availability (for RHEL Server) from RHUI Red Hat JBoss Core Services from RHUI Red Hat Enterprise Linux for x86_64 from RHUI Red Hat Enterprise Linux for x86_64 Beta from RHUI Red Hat Enterprise Linux Load Balancer (for RHEL Server) from RHUI Red Hat Enterprise Linux Resilient Storage (for RHEL Server) from RHUI Red Hat Enterprise Linux Scalable File System (for RHEL Server) from RHUI Red Hat Enterprise Linux High Performance Networking (for RHEL Server) from RHUI Red Hat Enterprise Linux for SAP from RHUI Red Hat CodeReady Linux Builder for x86_64 from RHUI Red Hat Enterprise Linux for SAP Hana from RHUI Red Hat CodeReady Linux Builder for ARM 64 from RHUI RHEL Software Test Suite (for RHEL Server) from RHUI Red Hat Gluster Storage Server for On-premise from RHUI Red Hat Single Sign-On from RHUI Red Hat Enterprise Linux High Availability for x86_64 from RHUI Red Hat Enterprise Linux Resilient Storage for x86_64 from RHUI Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support from RHUI Red Hat Enterprise Linux Server - Extended Life Cycle Support (from RHUI) Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support from RHUI RHEL for SAP HANA - Extended Update Support (from RHUI) RHEL for SAP - Extended Update Support (from RHUI) Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support from RHUI Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support from RHUI Red Hat Enterprise Linux for ARM 64 from RHUI Red Hat Enterprise Linux Server - Update Services for SAP Solutions from RHUI Red Hat Software Collections (for RHEL Server) from RHUI Red Hat Enterprise Linux Server for ARM from RHUI Red Hat Enterprise Linux High Availability - Update Services for SAP Solutions from RHUI Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support from RHUI Red Hat Software Collections (for RHEL Server for ARM) from RHUI Red Hat Ansible Engine from RHUI Red Hat Software Collections Beta (for RHEL Server for ARM) from RHUI Red Hat Enterprise Linux for ARM 64 Beta from RHUI Red Hat Developer Tools (for RHEL Server for ARM) from RHUI Red Hat Developer Tools Beta (for RHEL Server for ARM) from RHUI dotNET on RHEL (for RHEL Server) from RHUI dotNET on RHEL Beta (for RHEL Server) from RHUI Red Hat Update Infrastructure Red Hat Enterprise Linux Server from RHUI SKU: RC11164 Contract: 126839 Account: 5401 Serial: 5744492009337488 Pool ID: 8a85f9a1790fb0ed017961af515b7 Provides Management: No Active: True Quantity Used: 1 Service Type: L1-L3 Roles: Service Level: Premium Usage: Add-ons: Status Details: Subscription is current Subscription Type: Standard Starts: 05/12/2021 Ends: 05/11/2022 Entitlement Type: Physical ---------------------------------------------------------------------------------禁用所有软件仓库。
# subscription-manager repos --disable=*启用相关的软件仓库。
# subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rhui-rpms --enable=rhel-8-for-x86_64-appstream-rhui-rpms可选: 如果您计划使用 CephFS,请启用 Ceph 工具存储库。
# subscription-manager repos --enable rhceph-5-tools-for-rhel-8-x86_64-rhui-rpms启用 RHUI 4 软件仓库。
# subscription-manager repos --enable=rhui-4-for-rhel-8-x86_64-rpms