Beruflich Dokumente
Kultur Dokumente
Prerequisites
Set up an account on the Red
Hat Customer Portal.
Review the JBoss EAP 7
supported configurations and ensure
your system is supportable.
RPM Prerequisites
The JBoss EAP JAR installer is available from the Red Hat Customer Portal. The .jararchive can be
used to run either the graphical or text-based installers. The installer is the preferred way to install
JBoss EAP on all supported platforms.
Downloading the JBoss EAP Installer
1. Open a browser and log in to the Red Hat Customer Portal
athttps://access.redhat.com.
2. Click Downloads.
3. Click Red Hat JBoss Enterprise Application in the Product Downloads list.
4. Select the correct JBoss EAP version from the Version drop-down menu.
5. Find Red Hat JBoss Enterprise Application 7.x.x Installer in the list and click the
Download link.
When it Appears
Description
Langauge
Selection
Always
License
Agreement
Always
Installation Path
Always
Component
Selection
Always
Admin
Creation
User Always
Installation
Overview
Always
Component
Installation
Always
Configure
Runtime
Environment
Always
Configure
Password Vault
SSL Security
LDAP
Configuration
Figure 3.5. JBoss EAP Installer - LDAP Security Realm Configuration Screen
Infinispan
Configuration
JSSE
Configuration
Quickstarts
If you choose to install Select the quickstart installation path, then click Next.
quickstarts in the advanced
configuration of the runtime
environment.
Maven
If you choose to install Select your Maven repository and settings file.
Repository Setup quickstarts in the advanced
configuration of the runtime
environment.
Figure 3.9. JBoss EAP Installer - Maven Repository Setup Screen
Socket Bindings
Custom Socket If you choose to configure Configure the ports and system properties for each of
Bindings
for custom port bindings for the standalone configurations (standalone,standalone ha,
Standalone
standalone mode.
standalone full,standalone full-ha), then clickNext.
Configurations
Figure 3.11. JBoss EAP Installer - Custom Socket Bindings for Standalone
Configurations Screen
Figure 3.12. JBoss EAP Installer - Custom Socket Bindings for Domain Configurations
Screen
Logging Options
JDBC
Setup
If you choose to configure Select the desired logging levels, then click Next.
logging
levels
in
the
advanced configuration of the
runtime environment.
Datasource
Setup
Shortcut
Configuration
Always
Installation
Complete
Always
2.1. PREREQUISITES
You must remove the tomcatjss package before installing the tomcat-native package.
The tomcatjss package uses an underlying NSS security model rather than the OpenSSL
security model.
Procedure 2.2. Removing the tomcatjss Package
As the root user, run the following command to remove tomcatjss:
# yum remove tomcatjss
Procedure 2.3. Installing Required Packages
For your version of Red Hat Enterprise Linux, run the install command below as the
root user:
For Red Hat Enterprise Linux 6:
# yum install krb5-workstation elinks mailcap
For Red Hat Enterprise Linux 7:
# yum install apr apr-devel apr-util apr-util-devel apr-util-ldap elinks krb5workstation mailcap
The directory created by extracting the ZIP archives is the top-level directory for JBoss Web Server.
This is referred to as JWS_HOME.
JBoss Web Server supports SSL by default, but it can be removed. Follow this procedure to remove or
re-add SSL support.
Go to the JWS_HOME/httpd/conf.d/ directory and rename the SSL configuration file:
A. To remove SSL, rename ssl.conf to ssl.conf.disabled.
B. To re-add SSL, rename ssl.conf.disabled to ssl.conf.
Procedure 2.10. Enabling log4j Logging for Tomcat
If required, follow this procedure to add log4j logging to Tomcat.
1. Open a shell prompt and change directory to JWS_HOME/extras/.
2. Copy the log4j-eap6.jar, log4j.properties, and tomcat-juli-adapters.jar files to the lib
directory of the Tomcat directory.
For example:
# cp log4j.properties ../tomcat<VERSION>/lib/
# cp log4j-eap6.jar ../tomcat<VERSION>/lib/
# cp tomcat-juli-adapters.jar ../tomcat<VERSION>/lib/
Replace <VERSION> with the respective Tomcat version number (7 or 8).
3. Replace tomcat-juli.jar file in your Tomcat bin directory with the tomcat-juli.jar file
from JWS_HOME/extras/:
# cp tomcat-juli.jar ../tomcat<VERSION>/bin/
Before downloading and installing the RPM packages, you must register your system with Red Hat
Subscription Management and subscribe to the respective Content Delivery Network (CDN)
repositories.
Procedure 2.18. Installing JBoss Web Server from RPM Packages
1. Log in to Red Hat Subscription Manager.
2. Click on Systems in the Subscriber Inventory.
3. Subscribe to the JBoss Web Server CDN repositories for your operating system
version and architecture:
A. For Red Hat Enterprise Linux 6:
jws-3-for-rhel-6-server-rpms
B. For Red Hat Enterprise Linux 7:
jws-3-for-rhel-7-server-rpms
4. Run the following command as the root user to install JBoss Web Server:
# yum groupinstall jws3
In a shell prompt as the root user, start the Apache HTTP Server service:
A. For Red Hat Enterprise Linux 6:
# service httpd24 start
B. For Red Hat Enterprise Linux 7:
# systemctl start httpd24.service