Windows installation Tomcat

Source: Internet
Author: User
Tags apache tomcat

1. Open Official website http://tomcat.apache.org/

2. In the left navigation bar download Select the latest Tomcat 9 below, click "64-bit Windows Zip (PGP, MD5, SHA1)" below the page to proceed

3. Unzip to a directory

4. Configure Environment variables

A. Configuring environment variables for the JDK (slightly)

B. Create a new variable name in the system variable: catalina_base, Variable value: D:\Program files\apache-tomcat-9.0.6

C. Create a new variable in the system variable name: catalina_home, Variable value: D:\Program files\apache-tomcat-9.0.6

D. Open path in system variable, add variable value:%catalina_home%\lib;%catalina_home%\bin

5. Install Tomcat

Open cmd, go to the Bin directory under Tomcat, execute "service.bat install" attached: Service Uninstall command: Service.bat remove

6. Start Tomcat

Method One: In the Bin folder under the Tomcat path, double-click Open Tomcat9w.exe, and in the soft management software open, tap "start" to

Method Two: Right click on the desktop "My Computer", "Management", "services and Applications", "services", find "Apache Tomcat 9.0 Tomcat9" service, right click on the service, select "Start".

After Tomcat is started, you can find the "Commons Daemon service Runner" process in the Task Manager's process, under which a "Apache Tomcat 9.0 Tomcat9" service is running;

7. Test whether the installation is successful

Use browser to open http://localhost:8080/, if successful, indicates Tomcat installation and run successfully

Windows installation Tomcat

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.