Published on Jun 17 2014 in

To host confluence with our Tomcat or Tomcat Plus packages you would need Confluence in WAR format. Get it from Atlassian website. Current version is Confluence 5.5.2 - EAR/WAR. You can run Confluence as a Trial (also with embedded database) or a licensed version. One-time license fee for the first 10 users is $10 (paid to Atlassian).

If you want us to preinstall Confluence for you just add an instruction (like 'setup confluence') to order notes at the time of placing order or send us a support ticket. Here go the steps for manual installation of Confluence on Tomcat.

Login via SSH then download and unpack

cd && wget http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.5.2-war.tar.gz
tar xzf atlassian-confluence-5.5.2-war.tar.gz

Set Confluence home and build

cd confluence-5.5.2
echo "confluence.home=/home/tomcat/confluence_data" >> confluence/WEB-INF/classes/confluence-init.properties
./build.sh

Using classpath: "./lib/endorsed/*.jar"
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Buildfile: build.xml

init:

clean:

war:
Created dir: /home/tomcat/confluence-5.5.2/tmp/build/war
Created dir: /home/tomcat/confluence-5.5.2/dist
Created dir: /home/tomcat/confluence-5.5.2/edit-webapp
Copying 2385 files to /home/tomcat/confluence-5.5.2/tmp/build/war
Building jar: /home/tomcat/confluence-5.5.2/dist/confluence-5.5.2.war

You can now deploy to following WAR in your application server:
dist/confluence-5.5.2.war

BUILD SUCCESSFUL
Total time: 18 seconds

Create Confluence data directory and deploy the WAR

mkdir /home/tomcat/confluence_data

When deploying to root '/' URL:

mv ~/appservers/apache-tomcat-7.0.43/webapps/ROOT ~/appservers/apache-tomcat-7.0.43/webapps/ROOT.bak 
cp dist/confluence-5.5.2.war ~/appservers/apache-tomcat-7.0.43/webapps/ROOT.war

When deploying to '/confluence' URL

cp dist/confluence-5.5.2.war ~/appservers/apache-tomcat-7.0.43/webapps/confluence.war

License key and memory usage

After a few seconds the application should be deployed. Check Tomcat logs to see if it deployed correctly and access your website. You will be asked to enter existing licence key or generate a new one. To generate a license key you may first need to setup an account at http://my.atlassian.com.

With our Tomcat package (128MB of heap + 128MB of PermGen) memory usage right after Confluence starts is:

confluence memory usage idle

Confluence on a VPS with or without WHM/cPanel

Alternatively you can host Confluence on your own VPS where we preinstall MySQL, JDK, Tomcat and Confluence in WAR format or All-in-One Confluence bundle depending on your preference. cPanel can be installed there too but reserve additional 512MB of memory for it. We are flexible when it comes to your setup so feel free to contact us if you have non-standard requirements.