1 . Close Tomcat First , enter cmd command in " start " → " run " , Enter MS-DOS interface
2. Enter into the Tomcat Bin directory (unzip version of the Tomcat directory , such as I am F:\javasoft\apache-tomcat-6.0.45-windows-x64)
F:
CD Javasoft\apache-tomcat-6.0.45-windows-x64\bin
3, run the command service install, you can register tomcat as a system service
f:/javasoft\apache-tomcat-6.0.45-windows-x64\bin > Service Install
The service installation is successful as shown
4, so the registered service startup type is manual, if you want to set up to boot automatically, you need to modify the Tomcat bin directory of the service.bat file. Open this file with Notepad , in the penultimate line of the sentence output echo the service '%service_name% ' has been installed. This is the output service installation succeeded. Before this add :sc config%service_name% start= auto as shown:
5. Finally, start the Tomcat service with the following command:
f:/javasoft\apache-tomcat-6.0.45-windows-x64\bin >net Start Tomcat6
Note:
The Shutdown Service command is: net stop Tomcat6
The Delete Service command is: Service Uninstall
Unzipped version of Tomcat set to system service