Install Tomcat

Apache-Tomcat 是一个Java服务器容器

下载清华源安装包

1
wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/v9.0.2/bin/apache-tomcat-9.0.2.tar.gz 

移动到指定目录

1
mv apache-tomcat-9.0.2 /usr/local/src/tomcat

开启服务

1
/usr/local/src/tomcat/apache-tomcat-9.0.2/bin/startup.sh

关闭服务

1
/usr/local/src/tomcat/apache-tomcat-9.0.2/bin/shutdown.sh