wget http://apache.mirrors.tds.net/tomcat/tomcat-9/v9.0.48/bin/apache-tomcat-9.0.48.tar.gz
tar -zxvf apache-tomcat-9.0.48.tar.gz
cd apache-tomcat-9.0.48
./bin/startup.sh
http://localhost:8080
./bin/shutdown.sh
通过以上步骤,您可以成功安装Tomcat并启动、关闭Tomcat服务器。