Java Web Development Environment Configuration Series (ii) installing Tomcat

Source: Internet
Author: User
Tags tomcat server

Today, reading is sometimes a matter of "trouble". It takes time, energy, and a mind to pay. --just use theJava Web Development Environment Configuration Series to mourn the passing of ...
1, download the Tomcat compression package, enter the official website http://tomcat.apache.org/, the official website has the corresponding download list, choose the appropriate version, enter the download page, here download is 64-bit Windows zip

  

2, after downloading, extract to the specified file directory, such as: D:\Program Files\tomcat

  

3. Configure environment variables (right-click "My Computer"-"advanced"-"Environment variables")

1) Create a new "tomcat_home" variable in the system variable, the value of the variable is: D:\Program files\tomcat (fill in according to your own installation path)

  

2) Create a new "catalina_home" variable in the system variable, the value of the variable is: D:\Program files\tomcat (fill in according to their own installation path), here and the value of the Tomcat_home variable is the same

  

3) Modify the "Path" variable in the system variable, append the value of the variable:%catalina_home%\bin;%catalina_home%\lib (remember to separate it with semicolons)

  

4. Start the Tomcat server

Enter startup return under CMD Command window, run as shown

  

  

Test whether the Tomcat server is successfully installed, enter: http://localhost:8080 or http://127.0.0.1:8080 in the browser, install successfully:

5. Install Tomcat Service

Java Web Development Environment Configuration Series (ii) installing Tomcat

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.