We were wanting to install JIRA and Confluence from /http://www.atlassian.com and while it worked OK on Tomcat 5.5, since each program needed to be installed in different Tomcat containers, we were tight on RAM/Resources (have a 4gig RAM Centos 5 server).
Read that 6.0 is better with memory management so need to get to Tomcat6. And we were able to upgrade from Tomcat 5.5 to Tomcat 6. Was easier then I thought but having a few issues. First we started by using easyApache to install Tomcat 5.5.
1. Download and expand Tomcat 6 in /usr/local/jakarta. Be sure to change group owner to Nobody/Tomcat with 0755 (same as 5.5 directory).
2. Change the tomcat symlink to point to your new version (i.e. /usr/local/jakarta/apache-tomcat-6.0.XX)
3. Then follow below:
Code:
# cd apache-tomcat-6.0.33
# cd bin
# tar xvfz commons-daemon-native.tar.gz
# cd commons-daemon-1.0.7-native-src
# cd unix
# chmod +x configure
# ./configure
# make
# cp jsvc ..
# cd ..
4. Then start as follows:
Code:
# su tomcat
# /usr/local/jakarta/tomcat/bin/startup.sh
Note: to shutdown:
Code:
# /usr/local/jakarta/tomcat/bin/shutdown.sh
5. Uncomment users to check Tomcat Manager, this file: /usr/local/jakarta/tomcat/conf/tomcat-users.xml
Add/ucomment below:
Code:
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="root" password="newone" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<role rolename="manager-gui"/>
<user username="tomcat" password="secret" roles="manager-gui"/>
</tomcat-users>
6. Then with that, you should be able to login to Tomcat Manager: /http://youdomain.com:8080
with
User: tomcat
Password: secret
7. Check and be sure it's running OK.