在mac上的apache和tomcat的安装,macapachetomcat


apache和tomcat的区别:区别tomcat服务器安装:

1. 下载java,配置JDK环境。见mac配置Java环境

2. 下载tomcat http://tomcat.apache.org/

3. 解压至/Users/name/library/tomcat7088

4. 增加权限 cd /Users/name/library/tomcat7088/bin     sudo chmod 755 /Users/name/library/tomcat7088/bin/*.sh

5. 启动sudo sh startup.sh    关闭sudo sh shutdown.sh       http://localhost:8080

6. 配置环境变量:open -e .bash_profile

    打开文件输入:

        export PATH=$PATH:/Users/qiyue/library/tomcat7088/bin

        export PATH=$PATH:/Users/qiyue/library/tomcat7088/logs

    激活 source .bash_profile

相关内容

    暂无相关文章