赞
踩
cd ~/Library
tar -zxvf /Users/用户名/Downloads/apache-tomcat-7.0.99.tar.gz
mv apache-tomcat-7.0.99 ~/Library/tomcat
vi ~/.bash_profile
export TOMCAT_HOME=/Users/用户名/Library/tomcat
export PATH=$PATH:$TOMCAT_HOME/bin
cd tomcat/bin
sudo chmod 755 *.sh
startup.sh # 启动
shutdown.sh # 关闭
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。