Mac命令行启动关闭Tomcat

在Tomcat目录的bin目录下执行sh startup.sh或./startup.sh命名启动Tomcat,执行sh shutdown.sh或./shutdown.sh命令关闭Tomcat

Mac命令行启动关闭Tomcat

浏览器输入localhost:8080测试

Mac命令行启动关闭Tomcat

关闭服务

Mac命令行启动关闭Tomcat

相关推荐