Thursday 13 August 2015

How to Install Jboss on linux Server

What is Jboss?

JBoss is a applications server and is a J2EE platform for developing and deploying enterprise Java applications, Web applications and services, and portals.

Prerequisites: jdk 1.6 or 1.7 to be installed: How to install jdk in linux

How to install Jboss Eap 6.2 on linux.

Step1: Go to https://www.jboss.org and download "jboss-eap-6.2.0.zip" for linux

Step2: Create Jboss user and password

Command: useradd -d /opt/app/jboss -s /bin/bash -m jboss
Command: password jboss

Step3: Copy "jboss-eap-6.2.0.zip" to /opt/app/jboss

Step4: Unzip jboss-eap-6.2.0.zip

Command: unzip jboss-eap-6.2.0.zip

Step5: Change the ownership

Command: chown -R jboss:jboss /opt/app/jboss/jboss-eap-6.2
Command: chown -R 775 /opt/app/jboss/jboss-eap-6.2

Step6: Set JBOSS_HOME for newly installed Jboss, Create a file jboss.sh and place it under /etc/profile.d/ with below content.

Command: cat  jboss.sh > export JBOSS_HOME=/opt/app/jboss/jboss-eap-6.2
save and exit wq!

Source the jboss.sh

Command: source /etc/profile.d/jboss.sh

Step7: Now you are done with jboss installation

Step8: Test the installation depend upon your type (Domain mode or Standalone mode),

$JBOSS_HOME/bin/./standalone.sh

$JBOSS_HOME/bin/./domain.sh

3 comments:

  1. can this steps work for 6.4 and beyond?

    ReplyDelete
  2. JAMBO BET COOLYWOOD MOHEGAN RESORT (WABEAL) - JT
    JAMBO 포천 출장마사지 BET COOLYWOOD MOHEGAN RESORT 여수 출장샵 (WABEAL) 동해 출장샵 - 77701 WABEAL Blvd, 안동 출장샵 Hanover, IN 4-star (648) 하남 출장마사지 997-0777.

    ReplyDelete