...
Code Block | ||
---|---|---|
| ||
su - serveradmin # if you are not already
wget http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-4.0.5.tar.gz
gunzip atlassian-confluence-4.0.5.tar.gz
tar -xvpf atlassian-confluence-4.0.5.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 /home/serveradmin/atlassian-confluence-4.0.5/ /opt/ |
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.
...
Follow the section of Portable Tomcat 6.x & Instances described in the table below. Also make sure to adjust the file paths as shown,
Section | Tomcat | Confluence |
---|---|---|
Run Tomcat with a Specific Java Version Using setenv.sh | opt/apache/tomcat.1/bin/setenv.sh | /opt/confluence/bin/setenv.sh |
opt/apache/tomcat.1/bin/version.sh | /opt/confluence/bin/bin/version.sh |
Configure Confluence to Only Start and Stop with ServerAdmin
...
Follow the section of Portable Tomcat 6.x & Instances described in the table below. Also make sure to adjust the file paths as shown,
Section | Tomcat | Confluence |
---|---|---|
Only Allow serveradmin to Run Tomcat | /opt/apache/tomcat.1/bin/startup.sh | /opt/confluence/bin/startup.sh |
/opt/apache/tomcat.1/bin/shutdown.sh | /opt/confluence/bin/shutdown.sh |
Modify user.sh
As of Confluence 4.x, new start up scripts added,
...