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并啟動、關(guān)閉Tomcat服務(wù)器。