Tomcat Learning-tomcat Download installation and configuration of environment variables (Windows environment)

Source: Internet
Author: User
Tags tomcat server

Tomcat download installation and configuration of environment variables

Today you will learn about the configuration of Tomcat downloads and environment variables, and start the Tomcat server to show the effect. First you need to configure the Java environment before you can do so. This refers to the installation configuration Tomcat. Place

1: Download Tomcat

Download the Tomcat version you need at Tomcat's official website, tomcat downloads.

I download the study is TOMCAT7-free version of the installation, download a good tomcat--apache-tomcat-7.0.63-windows-i64.zip only need to extract to the specified directory. My decompression in: D:\KuYuPritace\apache-tomcat-7.0.63

2: Configuration of environment variables

This configuration is also done on the basis of Java installation and environment variable configuration.

The input reads as follows:

Variable name 1:catalina_home

Variable Value: D:\KuYuPritace\apache-tomcat-7.0.63

Variable name 2:catalina_base

Variable Value: D:\KuYuPritace\apache-tomcat-7.0.63

Variable name 3:tomcat_home

Variable Value: D:\KuYuPritace\apache-tomcat-7.0.63

After determination, add%catalina_home%\common\lib\servlet-api.jar to the classpath;

Add%tomcat_home%\lib to Path;


3: Start the Tomcat server

Once configured, you can start Tomcat directly using the cmd command call!

4: See if the configuration was successful.

After Tomcat starts, enter http://localhost:8080 in the Web address bar to view

The following effect appears, stating that the configuration was successful.



5: View the version and configuration information for Tomcat

Enter version for viewing.


6: Turn off Tomcat server

Using the Shutdown command


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.