In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
This article is to share with you Centos7 installation tomcat and how to use, I believe that most people do not know how to install and use, in order to let you learn, to give you a summary of the following content, without much to say, let's read on.
1. Install jdk
Tomcat9 can work on jdk8 and later versions
So you can install jdk8 or jdk11
Dnf install java-11-openjdk # centos8yum install java-11-openjdk # centos72. Download the latest tomcat binary package
Open the website https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/
Find the latest version here and enter the bin directory
There is a file named apache-tomcat-XXXX.tar.gz. Right-click to copy the address.
Download and decompress
Wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/v9.0.31/bin/apache-tomcat-9.0.31.tar.gztar xvf apache-tomcat-9.0.31.tar.gz
Move to the installation directory
Mv apache-tomcat-9.0.31 / opt/tomcat93. Common commands and directory commands or directory functions / opt/tomcat9/bin/startup.sh startup tomcat/opt/tomcat9/bin/shutdown.sh shutdown tomcat/opt/tomcat9/conf/ configuration / opt/tomcat9/logs/ log / opt/tomcat9/webapps/ default application directory 4. How to choose the tomcat version
The following table is from the official website of tomcat
Servlet specification JSP specification EL specification WebSocket specification JASPIC specification Apache Tomcat version (2020.2.19) supported Java version 4.02.33.01.11.19.0.x9.0.318 and later3.12.33.01.11.18.5.x8.5.517 and later3.12.33.01.1N/A8.0.x (superseded) 8.0.53 (superseded) 7 and later3.02.22.21.1N/A7.0.x7. 0.1006 and later (7 and later for WebSocket) 2.52.12.1N/AN/A6.0.x (archived) 6.0.53 (archived) 5 and later2.42.0N/AN/AN/A5.5.x (archived) 5.5.36 (archived) 1.4 and later2.31.2N/AN/AN/A4.1.x (archived) 4.1.40 (archived) 1.3 and later2.21.1N/AN/AN/A3.3.x (archived) 3.3.2 (archived) 1.1 and later
These are the details of Centos7's installation of tomcat and how to use it. Have you gained anything after reading it? If you want to know more about it, you are welcome to follow the industry information!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.