Tomcat registered as a system service

Introduction: Set the service to start automatically tomcat is divided into two, the first is to install version, the second is free installation version of the installed version by clicking on the file to run the installation step by step, install version generate the registration file in the registry, in corresponding to generate their own service on the server. Free installation is a folder, which contains all the files needed tomcat, but he did not form their own service in the service, so we give it to configure your system, start with the operating system and open.

Tomcat version installed

  Install version no longer say, do not like to use.

Tomcat free installation

        1, start the cmd into the dos interface, enter tomcat's bin directory (note win7 non-administrator users need administrator rights to run right cmd)

        2, in the bin directory, enter service.bat install the service name (service name can be customized, such as TomcatService)

Time with their own start, enter the following link

http://localhost:8080/

       Uninstall Tomcat Service

           Start cmd, enter the dos interface, enter the tomcat bin directory in the bin directory, enter service.bat uninstall the service name (service name can be customized, such as TomcatService)  

Guess you like

Origin www.cnblogs.com/kaspar/p/12462983.html