1. sudo -u root /tomcat/bin/startup.sh //啟動service 2. sudo -u root /tomcat/bin/shutdown.sh //停止service 3. ps -ef | grep tomcat //查看伺服器狀態