Java-Tomcat for Mac配置
1.eclipse version:
Eclipse Java EE IDE for Web Developers.
Version: Oxygen.1 Release (4.7.1)
Build id: 20170914-1200
(from -->http://www.cnblogs.com/xiaobo-Linux/p/8527834.html)
2.JDK
3.Download Tomcat
https://tomcat.apache.org/download-90.cgi 选择mac版本下载即可.
配置:
移动文件到/Library
➜ /Library sudo mv /Users/xiaobo/Downloads/apache-tomcat-7.0.85 ./
cd /Library/apache-tomcat-7.0.85
更改权限:
chmod 755 /Library/apache-tomcat-7.0.85/bin/*.sh
添加环境变量
➜ ~ vim .profile
# apache-tomcat export PATH=/Library/apache-tomcat-7.0.85/bin:$PATH
启动
➜ ~ startup.sh
关闭
➜ ~ shutdown.sh