PS:此处默认Tomcat安装在Library下
1、使用终端打开Tomcat
/* 此处Library前面必须要加斜杠"/" /
cd /Library/Tomcat/bin
sudo chmod 755 /Library/Tomcat/bin/.sh
sudo sh start.sh
2、使用终端关闭Tomcat
/* 此处Library前面必须要加斜杠"/" /
cd /Library/Tomcat/bin
sudo chmod 755 /Library/Tomcat/bin/.sh
sudo sh shutdown.sh
网友评论