Instead you’ll need to use the manual installation process that I’m outlining here.

Before you install Tomcat you’ll want to double-check that you’ve installed Java.

You should check to double-check there’s not another version and adjust accordingly.

I chose /usr/local/tomcat, but you could move it somewhere else if you wanted to.

sudo mv apache-tomcat-6.0.14 /usr/local/tomcat

Tomcat requires setting the JAVA_HOME variable.

The best way to do this is to set it in your .bashrc file.

You could also edit your startup.sh file if you so chose.

The better method is editing your .bashrc file and adding the bolded line there.

You’ll have to logout of the shell for the change to take effect.

Execute these two commands and we should be on our way.

sudo ln -s /etc/init.d/tomcat /etc/rc1.d/K99tomcatsudo ln -s /etc/init.d/tomcat /etc/rc2.d/S99tomcat

Tomcat should now be fully installed and operational.