zz from
http://ubuntuforums.org/showthread.php?t=219985原文对应的jdk版本是5, tomcat版本是5
修改成现有版本是jdk6, tomcat5.5
-----
HOWTO : Apache2 + Tomcat5.5
# All the modified or additional information will be updated on this post in order for everyone to get alwasys up-to date information.
This how to explains you the way to set up apache (http server) + tomcat (servlet container). Tomcat itself can work standalone http server however when we consider about the performance, it's better to use the connector to bind apache and tomcat. (If you really need the performance, RESIN is one of the best servlet container though)
About the connector development of mod-jk2 has been end since 15 November 2004. So please use mod-jk instead.
1) Install the needed package
First of all, let's install the packages needed.
$ sudo apt-get install apache2-mpm-prefork apache2-common apache2-utils
$ sudo apt-get install sun-java6-jdk tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
$ sudo apt-get install libapache2-mod-jk