In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1 download and prepare
First of all, we need to download Tomcat from the official website.
Download the zip file of Tomcat download Windows to local:
Next, we extract the downloaded zip file as follows:
2 installation
Open the Windows terminal and go to the bin directory of Tomcat:
D:\ soft\ tomcats\ apache-tomcat-8.5.51\ bin >
Use the following command to install the service:
D:\ soft\ tomcats\ apache-tomcat-8.5.51\ bin > service install
The output should be similar to the following:
Installing the service 'Tomcat8'... Using CATALINA_HOME: "D:\ soft\ tomcats\ apache-tomcat-8.5.51" Using CATALINA_BASE: "D:\ soft\ tomcats\ apache-tomcat-8.5.51" Using JAVA_HOME: "C:\ Program Files\ Java\ jdk1.8.0_31" Using JRE_HOME: "C:\ Program Files\ Java\ jdk1.8.0_31\ jre" Using JVM: "C:\ Program Files\ Java \ jdk1.8.0_31\ jre\ bin\ server\ jvm.dll "The service 'Tomcat8' has been installed.
3 start the Tomcat service
Start the service using the following command:
D:\ soft\ tomcats\ apache-tomcat-8.5.51\ bin > sc start Tomct8
The console output is as follows:
SERVICE_NAME: Tomcat8 TYPE: 10 WIN32_OWN_PROCESS STATE: 2 START_PENDING (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN) WIN32_EXIT_CODE: 0 (0x0) SERVICE_EXIT_CODE: 0 (0x0) CHECKPOINT: 0x0 WAIT_HINT: 0x7d0 PID: 18232 FLAGS:
Note: if prompted for the following, you need to start the command line as an administrator.
[SC] StartService: OpenService failed 1060:
The specified service is not installed.
4 access test
Open a browser and enter the following URL:
Http://localhost:8080
When you see the following welcome screen, it indicates that the startup is successful:
Summary
This is the end of this article on the installation of Tomcat server under Window. For more information about installing Tomcat server under Window, please search for previous articles or continue to browse the relevant articles below. I hope you will support it in the future!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.