How to Install and Setup JBOSS in Red Hat 8

Deepak Nagarkoti
3 min readFeb 13, 2024

--

JBoss 7 EAP

JBoss Enterprise Application Platform (EAP) stands as a cornerstone in the landscape of Java-based application servers. Renowned for its adherence to industry standards, scalability, and rich feature set, JBoss EAP is a trusted platform for developing, deploying, and managing enterprise-grade Java applications. In this guide, we’ll walk you through the step-by-step process of installing JBoss EAP on Red Hat Enterprise Linux (RHEL), ensuring a seamless integration into your development environment.

Prerequisites: Before diving into the installation process, ensure you have the following:

  • A Red Hat Enterprise Linux (RHEL) machine with Java installed in it, you can refer this to INSTALLING JAVA ARTICLE
  • Basic Knowledge of JBoss EAP (Enterprise Application Platform) and Linux Commands
  • Access to JBoss EAP binaries.

Steps to Install JBoss EAP Manually on RHEL:

JBOSS EAP
  1. Download the Binaries: Download the JBoss EAP binaries from the Red Hat Customer Portal, https://developers.redhat.com/products/eap/download and extract the file:
Download and Unzip the Jboss file
JBoss File Hierarchy
Jboss 7.x.x.

2. Create a User for JBoss EAP and give required permission to the Jboss file.

useradd jboss-user
sudo chown -R jboss:jboss /home/jboss/jboss-eap-7.4
sudo chmod -R 755 /home/jboss/jboss-eap-7.4

If you have firewall setup in our environment, open the required ports in your system:

sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent
sudo firewall-cmd --zone=public --add-port=9990/tcp --permanent
sudo firewall-cmd --zone=public --add-port=1433/tcp --permanent
sudo firewall-cmd --zone=public --add-port=8443/tcp --permanent
sudo firewall-cmd --reload

3. Now, Check if java is installed in your machine. Then, just run the bash file inside bin folder of Jboss parent folder, either you want to run Standalone mode of Domain Mode.

Bin folder JBoss

4. Now, just go to http://127.0.0.1:9990 .You will be asked to login into by ManagementRealm.

You will find a add-user.sh bash file, which is used to add the ManagementRealm user. Run the file and create a Management User:

Creating Management User Jboss

Now, again go to browser and login using above credentials:

Dashboard Jboss

References:

  1. https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html/installation_guide/installing_jboss_eap
  2. https://www.novell.com/documentation/extend52/Docs/help/exteNd/books/jbmConfig.html
  3. https://www.microfocus.com/documentation/visual-cobol/30pu9/VC_30PU9_for_Eclipse_for_UNIX_WH/GUID-14D122DB-C8D1-4930-AC04-10E1E4C8023D.html

--

--