Installing on Ubuntu in 10 minutes

Installing JAVA:

For test use Open JDK but we still recommend Oracle JDK for production:

sudo apt-get install openjdk-7-jdk

Installing MySQL:

sudo netstat -tap | grep mysql

sudo apt-get install mysql-server
sudo apt-get install mysql-client

sudo /etc/init.d/mysql restart

Installing tomcat:

sudo apt-get install tomcat6

Installing Apache Ant:

sudo apt-get install ant

Installing Git client:

sudo apt-get install git

Installing Infoglue 3 from Git

First we create a Build-folder:

#(can be anywhere – this is just an example)

sudo su -
cd /root
mkdir BuildProject
cd BuildProject

Next we fetch the code from git.

# Clone Infoglue:
git clone git://github.com/bogeblad/infoglue.git

# if you want a certain tag you do (optional - if not you get the latest changes)
git checkout infoglue3.0.0final
 

Create redeployAll.sh in BuildProject containing:

#!/bin/bash
/etc/init.d/tomcat6 stop
cd infoglue
git pull
ant deploy
chown -R root:tomcat6 /var/lib/tomcat6/webapps/infoglue*
chmod -R 777 /var/lib/tomcat6/webapps/infoglue*
/etc/init.d/tomcat6 start

Chmod it:

chmod 755 redeployAll.sh

Now copy and edit infoglue/build.template.properties
Set all paths and database settings so it suits your needs.

cp infoglue/build.template.properties infoglue/build.properties
nano infoglue/build.properties

Fill the file with these properties and exchange the paths with the ones proper for your system:

When save run redeployAll.sh i /root/BuildProject

./redeployAll.sh