Skip to main content

How to Install JBOSS EAP 7.0.0 on RHEL6.5/CentOS6.5 – a step by step tutorial of INSTALLER Installation

INTRODUCTION
In this tutorial, we will demonstrate how to install and start a JBoss EAP 7.0.0 server on RHEL 6.5/CentOS 6.5. We use Oracle JDK 8 for this tutorial.
This Tutorial Consists Of The Following Steps:
  • Step 1: Download installer link
  • Step 2: JDK installation and verification
  • Step 3 to Step 14: JBoss EAP 7 installation procedure using INSTALLER Installation
  • Step 15: Start Jboss EAP 7 server
Red Hat JBoss EAP 7.0 is based on Wildfly 10, and provides pre-configured options for features such as high-availability clustering, messaging, and distributed caching. And it is an application server that works as a middleware platform, is built on open standards, and is compliant with the Java EE 7 specification.

Step 1: Download the installer from: https://developers.redhat.com/products/eap/download/
Select the EAP 7.0.0 (Developers version) from the list. Click on Installer option within Download column.
For Linux/Windows/Mac, the installer would be jboss-eap-7.0.0-installer.jar (176MB)

Step 2: Make sure your system has updated Java (7/8) installed. The first step before installing JBoss EAP 7, is to install a JDK. Any JDK can be used, such as Sun JDK, OpenJDK, IBM JDK, or JRocket etc. We chose Oracle JDK 8 for this tutorial.

Note: For our installation, here we defining JAVA_HOME, because most production environments with multiple versions of Java, it is recommended to set the JAVA_HOME in the standalone.conf or domain.conf files.
Download jdk1.8 and above version from oracle site.
$ mkdir -p /opt/redhat/
$ cp ~/Download/jdk-8u144-linux-x64.tar.gz /opt/redhat/
$ cd /opt/redhat/
$ tar -xzvf jdk-8u144-linux-x64.tar.gz
open file in editor and add below variables bottom of the file
$ vim ~/.bash_profile
JAVA_HOME="/opt/redhat/jdk1.8.0_144"
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
$ source ~/.bash_profile

Confirming The Install:
Issue the following command to confirm that the proper version of the JDK is on your classpath:
$ java -version
NOTE: For our installation, here we defining JAVA_HOME, because most production environments with multiple versions of Java, it is recommended to set the JAVA_HOME in the standalone.conf or domain.conf files. 
Step 3: Now run the below command and an installer interface will comes up. Follow the below step by step instructions and install your JBoss EAP 7.0.0.
cp ~/Download/jboss-eap-7.0.0-installer.jar /opt/redhat/
cd /opt/redhat/
$ java -jar jboss-eap-7.0.0-installer.jar
Select your preferable language and click on OK.

Step 4: Accept the terms of the license agreement and click on Next.
Step 5: By default, the installer will create a default EAP installation folder on home directory of the user. But we will choose a different location to install it. Select the location /opt/redhat/EAP-7.0.0 and click Next.
Step 6: See the total space required for Red Hat JBoss EAP installation and available disk space. If space is less on selected directory, you can go to Previous step and change the installation directory. Otherwise click on Next option.
Step 7: Within the application server, there would be an administration server. It will control and administer the entire JBoss domain in run-time. To control the admin server and related domain, you need an admin user. By default, the admin username is admin, but you can change it and use another nameHere I kept the admin username same.
Step 8: Now the Installation Overview will show the installation path /opt/redhat/EAP-7.0.0 and Chosen installation packs and Administrative User. If you wish to change anything go to Previous, else Click Next option to start installation.
Step 9: In this section, leave them as they are. But there are multiple options to configure. You can enable SSL security but it would need Keystore. Likewise, for LDAP authentication, you can link the JBoss server direct to your authentication LDAP server. But right now we will not be needing them here, you can change later that section editing manually to standalone.xml or domain.xml.
Step 10: Now installation is finished. Click Next.
Step 11: You can chose to create shortcut in start menu but we will not use this option it. Click Next.
Step 12: In this section you can Generate installation script for silent installation on next server. So click to Generate installation script and properties file. Next two files will be created on JBoss7 EAP home directory silentscript.xml and silentscript.xml.variables and these files will be needed to install silent setup.
Step 13: Give a file name silentscript and click to OK.
Step 14: Installation has been completed successfully and Uninstaller program is also been created automatically. Click on Done.
 
Step 15: Start The JBoss EAP7 Server:
We are now ready to start our new JBoss AS 7 server. With JBoss EAP7, a new standalone and domain model has been introduced. In this tutorial, we focus on starting up a standalone server. The domain server will be part of a future tutorial.
Startup A JBoss EAP7, Standalone Instance:
A standalone instance of JBoss 7 can be starting by executing:
$ cd /opt/redhat/EAP-7.0.0/bin
$ ./standalone.sh &



Comments

Post a Comment

Popular posts from this blog

How to configure a Datasource in JBoss / WildFly as a JAR Deployment

JDBC drivers can be installed as a JAR deployment using either the management CLI or the management console. As long as the driver is JDBC 4-compliant, it will automatically be recognized and installed as a JDBC driver upon deployment. 1. Download the appropriate JDBC driver from your database vendor. 2. Start the JBoss EAP/WildFly server. 3. Now most of the drivers coming with JDBC 4-compliant, but in case If the JDBC driver JAR is not JDBC 4-compliant, it can be made deployable using the following steps. i) Create a directory structure META-INF/services on your local system. $ mkdir -p META-INF/services    ii) Create a file inside META-INF/services/java.sql.Driver. $ touch META-INF/services/java.sql.Driver   iii) Add one line in the file to indicate the fully-qualified class name of the JDBC driver. $ echo “com.mysql.jdbc.Driver” > META-INF/services/java.sql.Driv...

Shift your Data into Virtualization

A single approach to data management that allows an application or user to retrieve and manipulate data without knowing any technical details about the data. That approach called Data Virtualization. Data Virtualization is different than traditional virtualization like - VMWare, Hypervisor, KVM, etc. because we already learned how to do virtualization of OS, Hardware and Storage, now time to add some more into virtualization, which is DATA. What is Data Virtualization? Data virtualization is a single window used to describe any approach to data management that allows an application to retrieve and manipulate data without requiring technical details about the data, such as how it is formatted, or where it is physically located. Why use Data Virtualization? Data virtualization promotes efficiency in data usage and processing and accelerates time to market on projects with complex data storage infrastructure. The purpose is to allow data to be accessed without creating extra ...