Uninstall tomcat9 1. Since the installation of Tomcat only needs to be unzipped to a directory, uninstallation also only needs to delete the original Tomcat directory 2. Delete the relevant registry. Press the shortcut key win+R to call out "Run", enter "regedit" and press Enter, click Agree to call out the registry management interface, press ctrl+F to find the relevant files of tomcat, enter "tomcat" to search and delete them one by one 3. Run cmd as an administrator and execute the command sc delete tomcat9 (the tomcat version I installed before is tomcat89.0.17, depending on your own version), delete the tomcat service Uninstall successful! Install Tomcat Download tomcat and unzip it to a directory. I downloaded apache-tomcat-9.0.17-windows-x64 and unzipped it in my D drive, D:\apache-tomcat-9.0.17 Set environment variables in My Computer –> Properties –> Environment Variables CATALINA_HOME=D:\apache-tomcat-9.0.17 (decompression directory) Add %CATALINA_HOME\bin%;%CATALINA_HOME\lib% to PATH After configuring the environment variables, open cmd as an administrator, enter the bin folder in Tomcat, and execute service.bat install If the installation is successful, you can drag the startup.bat in the bin directory to the cmd window to start tomcat to verify whether the installation is successful. Oh. Garbled? ! Solution to cmd garbled code when running tomcat Go to the tomcat/conf/ directory and modify logging.properties Modified to GBK This is the end of this article about the implementation of uninstalling and reinstalling Tomcat (with pictures and text). For more relevant content about uninstalling and reinstalling Tomcat, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: js to realize web message board function
>>: Let's talk about the difference between MyISAM and InnoDB
How to install and configure mysql-5.7.5-m15-winx...
This article mainly introduces the implementation...
This is because the database server is set to aut...
Install CentOS 7 after installing VirtualBox. I w...
Usually the goal of building a website is to have...
Portainer is an excellent Docker graphical manage...
This article shares the specific code for using j...
Today, I set up a newly purchased Alibaba Cloud E...
1. Introduction to DockerUI DockerUI is based on ...
1. Docker installation and settings #Install Cent...
Download the latest version of MySQL for Ubuntu L...
Table of contents sequence 1. Centralized routing...
Harbor Harbor is an open source solution for buil...
The following is an introduction to using SQL que...
Preface I have an old laptop with Win7. In order ...