时间:2020-11-22 22:21:57 | 栏目:Tomcat | 点击:次
MAC 命令行启动tomcat的详细介绍
一、修改授权
进入tomcat的bin目录,修改授权
➜ bin pwd /Users/yp/Documents/workspace/apache-tomcat-7.0.68/bin ➜ bin sudo chmod 755 *.sh
二、启动
执行启动命令sudo sh ./startup.sh:
➜ bin sudo sh ./startup.sh Using CATALINA_BASE: /Users/yp/Documents/workspace/apache-tomcat-7.0.68 Using CATALINA_HOME: /Users/yp/Documents/workspace/apache-tomcat-7.0.68 Using CATALINA_TMPDIR: /Users/yp/Documents/workspace/apache-tomcat-7.0.68/temp Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home Using CLASSPATH: /Users/yp/Documents/workspace/apache-tomcat-7.0.68/bin/bootstrap.jar:/Users/yp/Documents/workspace/apache-tomcat-7.0.68/bin/tomcat-juli.jar Tomcat started.
访问http://localhost:8080/
以上就是MAC 命令启动tomcat 的实例,如有疑问请留言或者到本站社区交流讨论,大家共同进步,感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!