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.shUsing CATALINA_BASE: /Users/yp/Documents/workspace/apache-tomcat-7.0.68Using CATALINA_HOME: /Users/yp/Documents/workspace/apache-tomcat-7.0.68Using CATALINA_TMPDIR: /Users/yp/Documents/workspace/apache-tomcat-7.0.68/tempUsing JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/HomeUsing 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.jarTomcat started.
访问http://localhost:8080/
以上就是MAC 命令启动tomcat 的实例,如有疑问请留言或者到本站社区交流讨论,大家共同进步,感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
新闻热点
疑难解答
图片精选