第 4 章 JBoss EAP 的 RPM 安装

您可以使用 RPM 软件包在受支持的 Red Hat Enterprise Linux 6、Red Hat Enterprise Linux 7 和 Red Hat Enterprise Linux 8 安装 JBoss EAP。

4.1. 订阅次版本 JBoss EAP 存储库

若要使用 RPM 安装 JBoss EAP,您需要订阅 Red Hat Enterprise Linux Server 基础软件存储库和次要 JBoss EAP 存储库。

对于 JBoss EAP 存储库,您必须订阅 minor JBoss EAP 存储库。minor 存储库提供 JBoss EAP 7 的特定次要版本及所有适用补丁。这使您可以保持相同的 JBoss EAP 次要版本,同时获得高严重性和安全补丁。

例如,从此存储库的更新包括 JBoss EAP 次版本的补丁和安全更新,但包括从 JBoss EAP 7.4 升级到 JBoss EAP 7.5。

先决条件

流程

  1. 输入 Red Hat Subscription Manager。
  2. EAP_MINOR_VERSION 替换为您预期的 JBoss EAP minor 版本。例如,7.4

    1. 对于 Red Hat Enterprise Linux 6 和 7,根据您的 Red Hat Enterprise Linux 版本,将 RHEL_VERSION 替换为 67

      # subscription-manager repos --enable=jb-eap-EAP_MINOR_VERSION-for-rhel-RHEL_VERSION-server-rpms
    2. 对于 Red Hat Enterprise Linux 8,使用以下命令:

      # subscription-manager repos --enable=jb-eap-EAP_MINOR_VERSION-for-rhel-RHEL_VERSION-ARCH-rpms