Last active
May 25, 2018 10:23
-
-
Save fnzv/de04997477b924bdc4ad39f76e904349 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget --no-check-certificate http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA.zip/download -O /tmp/jboss-5.1.0.GA.zip | |
mv /tmp/jboss-5.1.0.GA.zip /usr/share/jboss-5.1.0.GA.zip | |
cd /usr/share | |
unzip -q jboss-5.1.0.GA.zip | |
groupadd jboss | |
useradd -s /bin/bash -g jboss jboss | |
chown -Rf jboss.jboss /usr/share/jboss-5.1.0.GA/ | |
cp /usr/share/jboss-5.1.0.GA/bin/jboss_init_redhat.sh /etc/init.d/jboss | |
chmod 755 /etc/init.d/jboss | |
chkconfig --add jboss | |
chkconfig --level 234 jboss on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment