Ubuntu integrates apache and tomcat ubuntu: 12.04.1 apache: 2 tomcat: 7.0.27 versions. The configuration is the same. 1. install apache and reference aptitude install apache2. install tomcat to directly download compressed files. For more information, see my personal usage. I prefer to download compressed files. 3. A plug-in libapache2-mod-jk that loads apache to connect tomcat references apt-get install libapache2-mod-jk 4. Enable jk module and Its Configuration references a2enmod jk If You Want To enable include and rewrite modules, run the following command to reference a2enmod include a2enmod rewrite 5 and configure apache to modify the/etc/apache2/sites-available/default file, add the following line to reference JKMount/* ajp13_worker 6, modify/etc/libapache2-mod-jk/worker. the properties file references workers. tomcat_home = specifies the local tomcat path workers. java_home =/home/steven/tools/jdk1.6.0 _ 25 7. Reference to the ajp module that enables tomcat <Connector port = "8009" protocol = "AJP/1.3" redirectPort = "8443 "/>