Set up jdk, apache tomcat, and hsqldb
==============================
apt-get install sun-java6-jdk
apt-get install tomcat5.5 tomcat5.5-wepapps tomcat5.5-admin
apt-get install hsqldb-server
Set up jogre
=========
wget http://voxel.dl.sourceforge.net/sourceforge/jogre/jogre_beta_0.3_bin.zip
cd /opt
unzip ~/jogre_beta_0.3.bin.zip
adduser jogre
chown -R jogre:jogre jogre
su jogre
cd
echo "export CLASSPATH=$CLASSPATH:/usr/share/java/hsqldb.jar:." >> .profile
source .profile
java org.hsqldb.Server &
cd /opt/jogre/server
chmod a+x *.sh
Configuration
==========
./server.sh &
#I prefer the gui; it's easier to just change the db settings with this tool
./administrator.sh &
#Login with admin, admin
#Change the database from xml to hsqldb
#The path to the db is jdbc:hsqldb:hsql://localhost/jogre_hsqldb
#restart the jogre server
killall server.sh
./server.sh &
#With apache tomcat admin (http://localhost:8180/admin), add jogreweb.war
1 comment:
Nice one! I've done a bit on linux but /opt is the right place for jogre.
Bob
Post a Comment