[TOC]

概述

文章参考:https://blog.csdn.net/xyphf/article/details/81158529

安装教程

1、进入developer目录,下载tomcat

1
2
# 下载tomcat
wget https://dlcdn.apache.org/tomcat/tomcat-10/v10.0.20/bin/apache-tomcat-10.0.20.tar.gz

2、解压tomcat

1
tar -zxvf  apache-tomcat-10.0.20.tar.gz  

3、进入tomcat目录

1
cd apache-tomcat-10.0.20

启动Tomcat

1
2
3
4
5
6
7
8
9
10
11
12
// 进入bin目录
cd bin/

./startup.sh
#输出
Using CATALINA_BASE: /home/frewen/DevTools/apache-tomcat-10.0.20
Using CATALINA_HOME: /home/frewen/DevTools/apache-tomcat-10.0.20
Using CATALINA_TMPDIR: /home/frewen/DevTools/apache-tomcat-10.0.20/temp
Using JRE_HOME: /usr/local/jdk/jdk-11.0.14
Using CLASSPATH: /home/frewen/DevTools/apache-tomcat-10.0.20/bin/bootstrap.jar:/home/frewen/DevTools/apache-tomcat-10.0.20/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Tomcat started.

image-20220503082010126