1. Preparation 1.1 Download the tomcat compressed package with service.bat, download address https://tomcat.apache.org 2. Set the tomcat service name Search for "set SERVICE_NAME=", set the tomcat service name set SERVICE_NAME=Tomcat9_8080 3. Set the tomcat service display name Search for "DisplayName" and modify the display name of the tomcat service 4. Add tomcat to windows service method 1 Open cmd (if you do not have sufficient permissions, run it as an administrator) and enter the bin directory of tomcat, and execute the following command: service.bat install Added to service Uninstall Tomcat's Windows service service.bat remove 5. Add tomcat to windows service method 2 Direct command addition // Add service service.bat install Service name (customizable, not the same as in the configuration file) // Uninstall service service.bat remove service name (customizable, not the same as in the configuration file) Summarize The above is a detailed tutorial on how to install Tomcat9 Windows service. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: How to connect to virtual machine MySQL using VScode in window environment
>>: Detailed explanation of SQL injection - security (Part 2)
After reinstalling the system today, I reinstalle...
Table of contents What is a skeleton screen How t...
Table of contents 1. Introduction 2. Prepare a pr...
Preparation: 192.168.16.128 192.168.16.129 Two vi...
Installation of Python 3 1. Install dependent env...
Let me show you the effect picture first. Persona...
The editor recently wanted to get started with th...
CSS combination selectors include various combina...
Table of contents Why use gzip compression? nginx...
Enter Alibaba vector icon library Alibaba Vector ...
We know that the commonly used events in JS are: ...
Copy code The code is as follows: <hr style=&q...
The previous article introduced two methods to ch...
Frame structure tag <frameset></frameset...
How to center the entire page content and how to m...