Jboss As Installation And Startup Mode
  1. User creation
 sudo groupadd webapps

 sudo useradd jbadm -g webapps -d /opt/redhat/jboss

 sudo chown jbadm:webapps /opt/redhat/jboss
  1. Extraction and linking app directory:
tar xf jboss-as-7.1.1.Final.tar.gz

ln -sf jboss-as-7.1.1.Final jboss
  1. Variable settings:

We'll edit the .bashrc in order to point to our startup and admin scripts:

export JB=~/jboss/bin
export PATH=$JB:$PATH

.bashrc (END)