BASE
EXAM DUMPS
REDHAT
EX248
28% OFF Automatically For You
Red Hat Certified Specialist in Enterprise
Application Server Administration
, 1.Download JBoss EAP 7.x from the Red Hat Customer Portal, install it to /opt/jboss-
eap, set proper permissions for the jboss user, and verify the installation by starting
the standalone server and accessing the CLI.
Answer:
2. Go to https: //access.redhat.com, search for JBoss EAP 7.x, and download the ZIP.
3. Copy it to your server and extract:
unzip jboss-eap-7.x.zip -d /opt/
mv /opt/jboss-eap-7.x /opt/jboss-eap
4. Create the jboss user and set permissions:
useradd jboss && chown -R jboss: jboss /opt/jboss-eap
s
as
P
5. Switch to the jboss user, start the server, and access the CLI:
to
./opt/jboss-eap/bin/standalone.sh &
ay
W
./opt/jboss-eap/bin/jboss-cli.sh --connect
ve
ti
ec
6. Run: read-resource () to verify. E
ff
t
os
M
7.Create a systemd service for JBoss EAP standalone server so it starts automatically
he
-T
on boot.
)
Answer:
02
8.
(V
8. Create a service file /etc/systemd/system/jboss.service:
ps
[Unit]
um
D
Description=JBoss EAP Standalone
8
After=network.target
24
X
[Service]
E
at
Type=simple
H
User=jboss
ed
R
ExecStart=/opt/jboss-eap/bin/standalone.sh
Restart=on-abort
[Install]
WantedBy=multi-user.target
9. Reload and enable the service:
systemctl daemon-reexec
systemctl enable jboss
systemctl start jboss
10. Confirm with systemctl status jboss.