1. Download the no-install Tomcat package, unzip
2. Configure Environment variables:
Click New to create a variable named: catalina_home
The variable value is: The location of the Tomcat decompression file, e.g. F:\apache-tomcat-7.0.65
Then, under the variable name path, add the following;%catalina_home%\bin\;
3. Open the Command window, that is: Start and run-->cmd--> carriage return
4. Then open the Bin directory under the Tomcat folder with a service.bat to drag the file to the Command window. Enter. How to do nothing wrong will only print a word. Otherwise check if the above steps are wrong
5. Then enter Service.bat install Tomcat (add Tomcat to the service) under the Command window
6. Open the service, find Tomcat, then modify it to start automatically and enter localhost:8080 in the browser to access the Tomcat page, which is the successful
If you want to uninstall the Tomcat service, the command is as follows: Service.bat uninstall Tomcat
Windows Settings tomcat to start the service automatically