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

How to install Tomcat Services in a CentOS 7 system

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

How do I install Tomcat services on a CentOS 7 system? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.

Environment:

CentOS Linux release 7.3.1611 (Core)

3.10.0-514.16.1.el7.x86_64

1. Install the Java environment

Jre has the difference between ServerJre and Jre. The specific difference between the two is that when ServerJre starts, the default Jvm is Server mode, and contains some monitoring tools. For specific differences, see Oracle's site. A common problem now is that most JAVA programs are based on JAVA7, but Oracle has long been updated to Java8, and Jre8 downloads are available by default on the website. However, no matter which version of JRE you want to download, you can find it here. Before downloading ServerJre, you need to select Accept License Agreement to activate the download link. Server-jre-7u80-linux-x64.tar.gz is selected here. After downloading, unzip it to / usr/local/, and note that the name of the extracted server-jre-7u80-linux-x64.tar.gz is jdk1.7.0_79, but I have tested it, and this is different from the real JDK file. After the decompression is complete, edit / etc/profile to set the environment variable and verify:

Cat > > / etc/profile

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