Tomcat download and configuration, Tomcat download configuration

Source: Internet
Author: User

Tomcat download and configuration, Tomcat download configuration

Directory structure:

Contents structure [-] Download Tomcat

You can download Tomcat from the apache official website. I downloaded tomcat 7.0.55 [32-bit windows]. Note that the minimum JDK version required for tomcat 8.5 is 1.7. For details, see the JDK installation configuration.

Configure Tomcat

Create the following three values in the system environment variables:

TOMCAT_HOME = D: \ Program Files \ app \ apache-tomcat-7.0.55

CATALINA_HOME = D: \ Program Files \ app \ apache-tomcat-7.0.55

CATALINA_BASE = D: \ Program Files \ app \ apache-tomcat-7.0.55

The value is the location where the reader installs Tomcat.

Then add the following in classPATH:

% TOMCAT_HOME % \ lib \ servlet-api.jar;

Add the following in path:

% CATALINA_HOME % \ bin;

If the reader has installed other servers and the like, basically every server is installed with 8080 by default. We recommend that you change the port number, open the server. xml file in the conf directory, and find

<Connector port = "8080" protocol = "HTTP/1.1" connectionTimeout = "20000" redirectPort = "8443"/>

Replace the port number with a number. For example, you can change port to "8081 ".

Run Tomcat

In the Tomcat installation directory, find startup. bat in the bin directory, open it, and enter http: // localhost: 8081/in the browser. If the following interface appears, the configuration is successful.

References

Http://jingyan.baidu.com/article/86f4a73e5be03237d65269ef.html

Http://mirrors.cnnic.cn/apache/tomcat/tomcat-8/v8.5.9/README.html

Http://tomcat.apache.org/download-80.cgi

 

This article is an original blog article. If you need to reprint it, please indicate the source.

Related Article

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.