[Ubuntu] 5 Ubuntu 安装 Tomcat

Ubuntu 安装 Tomcat

Posted by Mr.Vincent on 2019-07-14
Estimated Reading Time 1 Minutes
Words 94 In Total
Viewed Times

概述

此处以 Tomcat 8.5.23 为例

下载地址:https://tomcat.apache.org/

解压缩并移动到指定目录

解压缩

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

变更目录名

1
mv apache-tomcat-8.5.23 tomcat

移动目录

1
mv tomcat/ /usr/local/

常用命令

启动

1
/usr/local/tomcat/bin/startup.sh

停止

1
/usr/local/tomcat/bin/shutdown.sh

目录内执行脚本

1
./startup.sh

If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !