Install and manage JBoss EAP 6

Introduction

In this tutorial, we will demonstrate how to install JBoss Enterprise Application Platform 6 to your workstation. We will also perform some configurations and setup to get us started managing our installation. More specifically, we want to be able to:

  • Install JBoss EAP to a specific location on a system
  • Install additional, operating system specific native libraries to enhance JBoss EAP performance
  • Configure minimal security requirements for accessing and managing JBoss EAP
  • Access and manage JBoss EAP using the prvodied tools
  • Configure and start a multi-node, multi-server JBoss EAP domain spanning at least two hosts with multiple servers per host

Assumption

The assumption for this guide is that you have a red hat linux installation.

This guide consists of the following steps

  1. Check system prerequisites
  2. Install JBoss EAP 6 using zip download
  3. Add initial user
  4. Start / Stop JBOSS EAP 6 as a Standalone Server
  5. Start / Stop JBOSS EAP 6 Managed Domain
  6. Access and Manage JBoss EAP 6 using the Management Console and Management CLI

STEP 1: Check System Prerequisites

Before proceeding with the installation, it would be very helpful if you have a Redhat account, you may register here. This will allow you to download resources required for your JBoss EAP 6 installation.

Next is to make sure that you have a JVM installed in your machine. You can try running the following command in your terminal:
$ java -version

java version

In case, you don’t have a JVM installed in you machine, please refer to this link.

STEP 2: Install JBoss EAP 6 using zip download

There are several ways to install JBoss Enterprise Application Platform 6. We’ll stick with the simplest form which is using the zip download. You may install JBoss EAP 6 on any location of your machine. In our case, we will install it on our home directory.

Download the JBoss Enterprise Application Platform 6 from redhat, under Downloads -> JBoss Enterprise Middleware -> Application Platform, at the very bottom. Unzip it to your home directory, this will be our EAP_HOME.

jboss eap home directory

STEP 3: Add Initial User

Before you could use the Management Console and/or Management CLI, we have to setup a management user first.

a. open up terminal and go to EAP_HOME/bin
b. run add user script

STEP 4: Start / Stop JBOSS EAP 6 as a Standalone Server

a. open up terminal and go to EAP_HOME/bin
b. run script $./standalone.sh
c. close terminal to stop server

STEP 5: Start / Stop JBOSS EAP 6 Managed Domain

a. open up terminal and go to EAP_HOME/bin
b. run script $./domain.sh
c. close terminal to stop server

STEP 4: Access and Manage JBoss EAP 6 using the Management Console and Management CLI

Management Console – open browser and type localhost:8080/

Mangament CLI
a. open up terminal and go to EAP_HOME/bin
b. run script $./jboss-cli.sh –connect

Working environment

  •  RHEL 6 (x86_64)
  • JBoss EAP 6

Reference(s)

JBoss Exam Objective (EX248)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s