Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
su - bhitch # log in as a staff user that can run sudo
cd /opt
# make a symbolic link which scripts and commands can run against
sudo ln -s ./atlassian-confluence-4.0.5 ./confluence

Manually Setup

...

JRE

I use a manual Java setup with an instance of Java specifically for the application.

Note

Make sure you are install a JDK and not a JRE. This is a requirement of Confluence.ensure that your version of Confluence supports the JRE. At some point before Conflouence 4.2.2 only the JDK was supported.

Include Page
9.0 Zero Footprint Java on Ubuntu
9.0 Zero Footprint Java on Ubuntu

...

Code Block
languagebash
cd /home/serveradmin
sudo mv ./jdk1jre1.6.0_29/ /opt/confluence/java # moves and renames the directory in one step

Configure Confluence to Use

...

JRE

The downloaded Confluence package is powered by Tomcat. You can specify Tomcat use a specific java directory by modifying the Confluence confluence/bin/setenv.sh file and test with confluence/bin/version.sh as described at Running Tomcat with a specific JRE version.

Warning

TDB - This can be improved by moving "how to specify java for Tomcat" out of the Tomcat 6 setup instructions into a separate page and then using an "include" here.

...