Install Apache Tomcat in Windows

Source: Internet
Author: User
Tags apache tomcat

Www.2cto.com


1. Configure Environment Variables
After downloading and installing JDK, add it to the Environment Variable
The variable name is JAVA_HOME, And the JDK installation directory.
Variable name CLASSPATH, variable value.; JDK installation \ jre \ lib \ rt. jar.
Variable name PATH, variable value JDK installation directory \ bin.
2. Download and install Tomcat
Now the latest version is Tomcat7.0. Open http://tomcat.apache.org/download-70.cgiand download the zipping of core.zip.
Decompress the package to drive C and open startup. bat in the bin directory.
Iii. Test whether Tomcat is started
Open the browser and enter localhost. If port 80 is occupied, open the server under the conf directory under the Tomcat directory. in the xml configuration file, search for the port to change the port value after ctor to 8080 and restart the Tomcat server.
Enter http: // localhost: 8080 or http: 127.0.0.1: 8080 in the browser to display the test page.

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.