Ubuntu integrates apache and tomcat

Source: Internet
Author: User

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 "/>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.