centos6.5版本安装tomcat安装过程及配置

1. 下载tomcat安装包

https://pan.baidu.com/s/1NrO9F0J8upKP1I2-Uq_B2A--云盘下载地址

2. 新建安装tomca安装目录

 centos6.5版本安装tomcat安装过程及配置

3. 对压缩包进行解压

tar -zxvf apache-tomcat-9.0.8.tar.gz

 centos6.5版本安装tomcat安装过程及配置

 centos6.5版本安装tomcat安装过程及配置

4. 删除原先的安装包

 centos6.5版本安装tomcat安装过程及配置

5. 进入tomcat安装目录下的bin目录下,启动tomcat

./startup.sh

centos6.5版本安装tomcat安装过程及配置

6. 对防火墙添加列外

vim /etc/sysconfig/iptables

 centos6.5版本安装tomcat安装过程及配置

7. 重新启动防火墙

 centos6.5版本安装tomcat安装过程及配置

8. 查看防火墙启动状态

 centos6.5版本安装tomcat安装过程及配置

9. 输入网址查看tomcat是否启动成功

 centos6.5版本安装tomcat安装过程及配置