(原)Linux下安装tomcat

1 下载apache-tomcat-7.0.67.tar.gz

2)#tar -zxvf apache-tomcat-7.0.67.tar.gz ;//解压

3)#cp -R apache-tomcat-7.0.67.tar.gz /usr/local/tomcat;//拷贝apache-tomcat-6.0.10到/usr/local/下并重命名为tomcat

启动tomcat之前要配置一下环境变量,

export CATALINA_HOME=/usr/local/tomcat
export CATALINE_BASH=/usr/local/tomcat

4) /usr/local/tomcat/bin/startup.sh; //启动tomcat

/usr/local/tomcat/bin/shutdown.sh  关闭tomcat

posted @ 2015-12-23 16:58  Dre.trace  阅读(167)  评论(0编辑  收藏  举报