Skip to content

Instantly share code, notes, and snippets.

@levicook
Created April 10, 2012 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save levicook/2352415 to your computer and use it in GitHub Desktop.
Save levicook/2352415 to your computer and use it in GitHub Desktop.
torquebox install ~ fedora 15
##- totally new box
# useradd -b /opt torquebox
# vim /etc/profile.d/torquebox.sh
export TORQUEBOX_HOME=/opt/torquebox/current
export JBOSS_HOME=$TORQUEBOX_HOME/jbossexport JRUBY_HOME=$TORQUEBOX_HOME/jruby
export JRUBY_OPTS=--1.9
PATH=$JBOSS_HOME/bin:$JRUBY_HOME/bin:$PATH
# source /etc/profile.d/torquebox.sh
# cd $JBOSS_HOME
# cp bin/init.d/jboss-as-standalone.sh /etc/init.d/jboss-as-standalone
# mkdir /etc/jboss-as
# vim /etc/jboss-as/jboss-as.conf
JBOSS_USER=torquebox
JBOSS_HOME=/opt/torquebox/current/jboss
JBOSS_PIDFILE=/var/run/torquebox/torquebox.pid
JBOSS_CONSOLE_LOG=/var/log/torquebox/console.log
JBOSS_CONFIG=standalone-ha.xml
$ su - torquebox
$ wget http://torquebox.org/release/org/torquebox/torquebox-dist/2.0.0/torquebox-dist-2.0.0-bin.zip
$ unzip torquebox-dist-2.0.0-bin.zip
$ ln -s torquebox-2.0.0 current
# chkconfig --add jboss-as-standalone
# service jboss-as-standalone start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment