First, download Tomcat
- Open Tomcat website in browser: http://tomcat.apache.org/
- 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
- Download complete
Ii. installation of Tomcat
- Can be used after decompression
Third, configure environment variables
- Configure environment variables for JDK (slightly)
- New variable name in system variable: catalina_base, Variable value: D:\tomcat\apache-tomcat-9.0.0.M9 new variable name in system variable: catalina_home, variable value: D:\tomcat\ APACHE-TOMCAT-9.0.0.M9 Open path in system variable , add variable value:%catalina_home%\lib;%catalina_home%\bin
- Open cmd, go to the Bin directory under Tomcat, execute "service.bat install" attached: Service Uninstall command: Service.bat remove
Four, the launch of the Tomcat method two:1, method one: The tomcat path under the Bin folder double hit Open Tomcat9w.exe, in the Open Soft management software Click "Start" Can
2, 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;V. Test the installation is successful using the browser to open http://localhost:8080/, if successfully opened indicates that the Tomcat installation and run successfully
WIN10 Tomcat Environment Building