The basic steps for deploying tomcat to a system service in cmd
This article introduces the knowledge of "the basic steps of deploying tomcat to system services in cmd". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Basic steps:
1. First copy the entire tomcat to the installation path
two。 Open cmd and set JAVA_HOME. The value set is the local variable corresponding to cmd.
Set JAVA_HOME=E:\ tmp\ 2016\ bghc\ jdk1.7.0.02
3. Once set, enter the tomcat/bin path and execute
Service install testupdata
4. Then you can see the service in our computer-> Administration-> service, which can be started and stopped, similar to tomcat in the development environment.
This is the end of the "basic steps for deploying tomcat to system Services in cmd". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!