Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Deploy Tomcat8 under windows

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

System environment: Windows Server 2012 R2

1 install JDK environment. Exe installation is recommended.

2 install apache-tomcat-8.5.31-windows-x64 and decompress it directly

3 set relevant environment variables

Add a system variable:

The value of JAVA_HOME is:

C:\ Program Files\ Java\ jdk1.8.0_112

The TOMCAT_ home value is:

E:\ tomcat-8.0

The CATALINA_ home value is (not required for multiple instances):

E:\ tomcat-8.0

The CLASSPATH value is:

% JAVA_HOME%\ lib\ dt.jar;%JAVA_HOME%\ lib\ tools.jar

The added value of Path is:

";% TOMCAT_HOME%\ bin;%CATALINA_HOME%\ lib;%JAVA_HOME%\ bin;%JAVA_HOME%\ jre\ bin"

4 Tomcat is set as system service: enter the directory C:/windows/system32/

Execute the command in the cmd window: service.bat install, and then you can see the added Tomcat service in the service management

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report