In Linux, how does one install Tomcat to port 80? (How to Integrate Tomcat and Apache)

Source: Internet
Author: User

Google has numerous pages, and all pages are similar. Do you want to integrate Tomcat and Apache?

Line, but you need to download a module first, then configure httpd. conf and tomcat, and then continue the troubles of HTML and JSP separation after successful :).

Annoying! Why integration? Do you want tomcat to port 80?

Nnd, I will take your httpd off and take it exclusively!

Several Simple Steps (although there are several steps, they are better at simplicity ):

  • Setup removes the HTTPd service;
  • Httpd-K stop (if not, add-D hostname)
  • Modify Tomcat's server. xml and change the 8080 of connector to 80.
  • Restart Tomcat
  • If a problem occurs between ports or services are not stopped, use service network restart.

Try again with http://www.hostname.com/Try :)

Region ~ The whole world is quiet! It's really nice to have 8080!

Note: Don't hold on to the efficiency of httpd in processing static pages. I don't believe how much it will affect if the efficiency is less than millions!

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.