Tomcat installation steps in Windows environment

Prerequisite: JDK has been successfully installed.

If not installed, please refer to the blog: https://blog.csdn.net/weixin_43184774/article/details/106140147

 

1. Download

1. Open the official website, enter Download, select the latest "Tomcat 9", the official website address: http://tomcat.apache.org

 

2. According to your computer configuration, choose a 32-bit installation package or a 64-bit installation package (64-bit is used as an example here)

 

 

Two, installation

1. Unzip the downloaded Tomcat to the specified directory (the directory can be set at will)

 

2. Double-click to open the startup.bat file in the decompressed bin directory

 

3. Open the startup.bat file as shown below (note that this window should not be closed)

 

 

Three, verify that Tomcat is successfully installed

1. Open the cmd window, and use the cd command to enter the bin directory of the tomcat installation directory

 

2. Enter the version command. If you can see the version information of Tomcat, the installation is successful.

 

3. Open the browser, enter: http://localhost:8080 , and see the following screen, indicating that Tomcat has been successfully started.

 

Guess you like

Origin blog.csdn.net/weixin_43184774/article/details/106140028