码迷,mamicode.com
首页 > 系统相关 > 详细

linux 安装tomcat

时间:2018-07-07 15:37:15      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:linu   shu   官网   防火   设置   ble   shutdown   centos   目录   

1. 到 apache tomcat官网下载tomcat7
2. 上传到centos
3.在 /usr下建 java/tomcat目录
4. 将上传的tomcat cp 到 tomcat目录
5. 解压缩
6. 直接在bin里面启动 ./startup.sh 关闭 ./shutdown.sh
7. 设置防火墙  (vim /etc/sysconfig/iptables)

8.测试 http://192.168.1.139:8080/

linux 安装tomcat

标签:linu   shu   官网   防火   设置   ble   shutdown   centos   目录   

原文地址:https://www.cnblogs.com/maohuidong/p/9277051.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!