Tomcat installation and environment configuration

1. Tomcat download and installation

Official website: Apache Tomcat® - Welcome!

Select tomcat8 of Download on the right, because I installed tomcat 8.5.77

Here I choose the 64-bit Windows version and download it according to my own needs.

2. Configure environment variables

 System variables add variables:

 

Add %CATALINA_HOME%\bin\ to path 

 

 Find the startup.bat file in the tomcat directory. After double-clicking, a command box appears, indicating that the installation is successful.

 

 

3. Detection and installation

Open the browser and enter localhost:8080 in the address bar. After pressing Enter, if you jump to the official website of tomcat, the installation is successful.

If you find that there is no tomcat in the "service", open the DOS window, enter the bin directory under the installation directory, and execute the service.bat install command

After displaying  the service "tomcat8" has been installed  , it means success

 

This article is reproduced in: Tomcat installation and environment configuration (detailed tutorial)_response_L's blog-CSDN blog_tomcat environment configuration

Guess you like

Origin blog.csdn.net/qq_54705917/article/details/125187174