阅读量:0
文章目录
下载
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 # 关闭