参考:https://www.cnblogs.com/jieerma666/p/7527338.html

http://blog.csdn.net/lcyaiym/article/details/76696192

http://blog.csdn.net/qq_34021712/article/details/69844275

1.下载apache-tomcat-7.0.82.tar.gz,放入目录/usr/local

2.tar -zxvf apache-tomcat-7.0.82.tar.gz #解压

3.rm -rf apache-tomcat-7.0.82.tar.gz #删除

4.添加环境变量

vim /etc/profile

export CATALINA_HOME=/usr/local/apache-tomcat-7.0.82

5.启动tomcat

cd /usr/local/apache-tomcat-7.0.82/bin

./startup.sh # 开启

./shutdown.sh # 关闭

 

posted on 2018-02-28 15:19  shuangxinye  阅读(128)  评论(0编辑  收藏  举报