开启服务 打开终端到cd /Library/Tomcat/bin目录。 执行命令sudo sh ./startup.sh。tomcat服务器就开启了。 关闭服务 终端输入sh ./shutdown.sh 即可关闭tomcat服务。 相关文章: