...
Download the tar.gz install package and decompress it,
Code Block |
---|
|
sudosu - svradm # if you are not already
gunzip confluence-3.2-std.tar.gz
tar -xvpf confluence-3.2-std.tar
su - bhitch # log in as a staff user that can run sudo
# Use specific version numbers. This will make upgrade easier in the future.
sudo mv ./confluence-3.2-std /opt/ # You want to use specific version numbers as part of your folder name. This will make upgrade easier in the future. |
Next, we make the symbolic link directory. Scripts and anything else you do will use the symbolic link directory. When the new version of Confluence comes along you have various options for upgrading.
Code Block |
---|
|
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 ./confluence-3.2-std ./confluence |
Manually Setup JRE
I use a manual Java setup with an instance of Java specifically for the application.
Include Page |
---|
| bonsai:9.0 Manually Setup Java on Ubuntu |
---|
| bonsai:9.0 Manually Setup Java on Ubuntu |
---|
|
...
Code Block |
---|
|
cd /home/serveradmin
sudo mv ./jre1.6.0_16/ /opt/confluence/java |
Next, we make the symbolic link directory. Scripts and anything else you do will use the symbolic link directory. When the new version of Confluence comes along you have various options for upgrading.
Code Block |
---|
|
cd /opt
sudo ln -s ./confluence-3.2-std ./confluence |
Configure Confluence to Use JRE
The downloaded Confluence package is powered by Tomcat. You can specify Tomcat use a specific java directory by creating a setenv file,
...
Configure Data Directory
Also we need to create the home directory,
Code Block |
---|
|
cd ~
mkdir confluence-data # We donDon't use specific version numbers here because the data will actually be upgraded
su - bhitch # to get sudo access
sudo mv confluence-data /opt/ |
Set the home (data) directory by modifying the files, ../confluence/WEB-INF/classes/confluence-init.properties, go to the bottom of the file,
...