Installing Apache Tomcat 6 on CentOS
CentOS is great substitute for Red Hat Enterprise Linux but is missing some useful packages like Apache Tomcat 6. Installing Apache Tomcat 6 on CentOS 5 from gzip-package is fairly easy. The following guide is at least for CentOS 5.4.
First you need to install Sun JDK and you can follow the instructions given in Installing Sun JDK 1.6 on CentOS
After Java is on place it’s time to get ready for Tomcat.… Jatka lukemista
Redirect HTTP and HTTPS traffic to Tomcat’s ports
Apache Tomcat likes with default settings to listen to requests on 8080 and 8443 ports but it is more enjoyable to use the more common 80 and 443 ports for HTTP and HTTPS traffic. This way the user don’t have to put those pesky port numbers after the address. Of course you could just tell Tomcat to listen to those ports but it has some negative sides: hassle with the startup and running Tomcat as root.… Jatka lukemista