Deploying JBoss AS 7 on Linux.
1. Download the JBoss AS tarball from http://www.jboss.org/jbossas/downloads/
wget http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.tar.gz
2. Extract the downloaded tarball
tar -zxvf jboss-as-7.1.1.Final.tar.gz
3. Move the folder to a filesystem with plenty of room:
mv jboss-as-7.1.1.Final /usr/local/
4. Rename the folder to jboss (or symlink the versioned folder to jboss)
mv jboss-as-7.1.1.Final jboss
or
ln -s jboss-as-7.1.1.Final jboss
This particular version comes with 2 modes of operation, standalone or domain. You’ll need to choose which one you need. Use the init script from my github repo: (coming soon)