Shashikant shah

Tuesday 19 February 2013

Install JBOSS in RHEL-5.5


1.downlod jdk:-

# jdk-7-linux-i586.tar.gz or other version

2.unzip the package:-
# tar -xvf jdk-7-linux-i586.tar.gz

3.Copy jdk to following directory

# mv jdk1.7.0 to /usr/java

4.seting java home variable
vim /etc/profile
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

JAVA_HOME=/usr/java/jdk1.7.0

PATH=$PATH:$JAVA_HOME/bin

export JAVA_HOME

export PATH

wq! save and exit

5.update profile

source /etc/profile

6.test your java installation:-
javac -version

7.Download the jboss:-
# jboss-4.2.3.GA.zip

8.This location jboss
# /usr/local/jboss-4.2.3.GA

9.set jboss envirnement:
# vim /etc/profile
export JBOSS_HOME=/usr/local/jboss-4.2.3.GA

export PATH=$PATH:$JBOSS_HOME/bin

OR

# vim .bash_profile

export JBOSS_HOME=/usr/local/jboss-4.2.3.GA

export PATH=$PATH:$JBOSS_HOME/bin

# source /etc/profile

10.start the jboss:-
# cd /usr/local/jboss-4.2.3.GA/

# ./run.sh

11.now test your jboss using url :-
             OR
http://localhost:8080