Jboss 7 AS on Redhat 6


vi /etc/hosts and add the hostname

yum install java-1.7.0-openjdk.x86_64

tar xzvf jboss-as-7.0.2.Final.tar.gz

mv jboss-as-7.0.2.Final jboss-as

adduser jboss

chown jboss:jboss /opt/jboss-as

add the following lines to jboss .bash_profile :



export JAVA_HOME


cd /opt/jboss-as/bin

You must type “unset MODULEPATH” beacuse it’s in conflict with default MODULEPATH environment.

./standalone.sh and jboss should start correctly



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 )

Google+ photo

You are commenting using your Google+ 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.