Este contenido no está disponible en el idioma seleccionado.

Chapter 6. Installing JBoss EAP by using the RPM installation method


You can install JBoss EAP by using RPM packages on supported installations of Red Hat Enterprise Linux 8, and Red Hat Enterprise Linux 9.

6.1. Subscribing to the JBoss EAP software repository

If you want to install JBoss EAP by using the RPM installation method, you must subscribe to the Red Hat Enterprise Linux Server base software repository, and a minor JBoss EAP repository.

Prerequisites

  • You have set up an account on the Red Hat Customer Portal.
  • Your JBoss EAP host is running on a supported operating system.
  • You have subscribed to the Red Hat Enterprise Linux Server base software repository.
  • You have administrator privileges on the server.

Procedure

  1. Enter the Red Hat Subscription Manager.

    Important

    To subscribe to the Red Hat Enterprise Linux server base repository and a minor JBoss EAP repository, enter one of the following commands:

  2. Replace EAP_MINOR_VERSION with your intended JBoss EAP minor version. For example, 8.0.

    subscription-manager repos --enable=jb-eap-EAP_MINOR_VERSION-for-rhel-RHEL_VERSION-ARCH-rpms
    Copy to Clipboard Toggle word wrap

6.2. Installing JBoss EAP by using the RPM installation method

Prerequisites

  • You have set up an account on the Red Hat Customer Portal.
  • Your JBoss EAP host is running on a supported operating system.
  • You have administrator privileges on the server.
  • You have subscribed to the Red Hat Enterprise Linux Server base software repository.
  • You have subscribed to the JBoss EAP8 software repository.

Procedure

  1. Install JBoss EAP and JDK 17.

    dnf groupinstall jboss-eap8
    Copy to Clipboard Toggle word wrap
  2. Install JBoss EAP and JDK 11. JDK 11 is available for Red Hat Enterprise Linux 8 and later:

    • Red Hat Enterprise Linux 8:

      dnf groupinstall jboss-eap8-jdk11
      Copy to Clipboard Toggle word wrap
Note

If the specified version of the JDK is not already installed on the system, the groupinstall command automatically installs this version of the JDK. If a different version of the JDK is already installed, the system contains multiple installed JDK versions after you run the preceding command.

If multiple JDK versions are installed on your system after you run the groupinstall command, check which JDK version JBoss EAP is using. By default, JBoss EAP uses the system default JDK.

  1. Modify the default JDK in either of the following ways:

    • Change system wide configuration by using the alternatives command:

      alternatives --config java
      Copy to Clipboard Toggle word wrap
    • Change the JDK that uses JBoss EAP by using the JAVA_HOME property. Your installation is complete. The default EAP_HOME path for the RPM installation is /opt/rh/eap8/root/usr/share/wildfly.
Important

When you install JBoss EAP by using RPM packages, you cannot configure multiple domain or host controllers on the same machine.

6.3. Configuring JBoss EAP RPM installation as a service on RHEL

You can configure the Red Hat Packet Manager (RPM) installation to run as a service in Red Hat Enterprise Linux (RHEL). An RPM installation of JBoss EAP installs everything that is required to run JBoss EAP as a service

Run the appropriate command for your RHEL, as demonstrated in this procedure. Replace EAP_SERVICE_NAME with either eap8-standalone for a standalone JBoss EAP server, or eap8-domain for a managed domain.

Prerequisites

  • You have installed JBoss EAP as an RPM installation.
  • You have administrator privileges on the server.

Procedure

  • For Red Hat Enterprise Linux 8 and later:

    systemctl enable EAP_SERVICE_NAME.service
    Copy to Clipboard Toggle word wrap

You can change the software subscription from one JBoss EAP repository to another based on the following conditions:

  • If you are changing to the next minor JBoss EAP version, you can change from a minor repository to another minor repository. For example, you can change from JBoss EAP 8.0 to JBoss EAP 8.1, but you cannot change from JBoss EAP 8.0 to JBoss EAP 8.2.

Prerequisites

  • You have installed JBoss EAP by using the RPM installation method.
  • You have chosen a repository.
  • You have applied all the applicable updates to your JBoss EAP application.
  • You have administrator privileges on the server.

Procedure

  1. Unsubscribe from the existing repository and subscribe to the new repository by using the Red Hat Subscription Manager.

    subscription-manager repos --disable=EXISTING_REPOSITORY --enable=NEW_REPOSITORY
    Copy to Clipboard Toggle word wrap

6.5. Uninstalling JBoss EAP using the RPM installation method

Note

To avoid potential issues, do not uninstall a JBoss EAP installation that you have installed from RPM packages.

Because of the nature of RPM package management, uninstalling JBoss EAP might not completely remove all installed packages and dependencies. Uninstalling JBoss EAP might also leave the system in an inconsistent state because of missing package dependencies.

Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat