- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Installing JBoss EAP on RHEL 8
Red Hat's JBoss Enterprise Application Platform (EAP) is a Java EE-based application platform built around deploying and managing Java applications and services. JBoss EAP is cross-platform and works on anything that supports Java. This hands-on lab focuses on a Red Hat 8 deployment wherein we configure JBoss EAP to run as a service on the machine.
Lab Info
Table of Contents
-
Challenge
Install OpenJDK
Install OpenJDK.
-
Challenge
Install JBoss EAP
-
Run the installer located in the
cloud_user's home directory. -
In the installer, set the following values:
- Select your language below: Enter
0for English. - End user license agreement: Enter
1to continue. - Select the installation path: Use
/opt/jboss-eapto match default configuration and enter1to continue. - Select the packs you want to install: Enter
0to confirm and1to continue. - Admin username: Enter
admin. - Admin password: Enter your password twice and
1to continue. - Configure Runtime Environment: Enter
0to perform the default configuration and1to continue. - Would you like to generate an automatic installation script and properties file?: Enter
n.
- Select your language below: Enter
-
-
Challenge
Configure JBoss EAP as a Service
-
Create the service user.
-
Open the configuration file.
-
Uncomment the
JBOSS_HOMEandJBOSS_USERsettings; save and exit. -
Copy service files to the appropriate locations.
-
Set script as an executable.
-
Set the service to start automatically.
-
Create the
/var/run/jboss-eapdirectory and set thejboss-eapuser as the owner. -
Change the ownership of
/opt/jboss-eapas well.
-
-
Challenge
Set SELinux Policy for JBoss
An SELinux type enforcement file is provided at
/home/cloud_user/selinux/jboss-eap-rhel.te.-
Create a policy module from this file.
-
Add the policy module.
-
-
Challenge
Start the JBoss EAP Service
Start the service by running
sudo systemctl start jboss-eap-rhel.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.