linu安装tomat

准备工具

  1. 一台安装好的虚拟机
  2. apache-tomcat-7.0.57.tar.gz
    下载地址:https://download.csdn.net/download/u014605229/10591660

安装步骤

  1. 上传tomcat压缩包到虚拟机上
  2. 解压
    tar -xvf apache-tomcat-7.0.57.tar.gz
  3. 对外开放8080端口
    /sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
  4. 启动tomcat
    ./startup.sh
  5. 访问192.168.200.151:8080
    linu安装tomat
  6. 关闭tomcat
    ./shutdown.sh

相关文章:

  • 2021-09-08
  • 2022-01-24
  • 2021-05-14
  • 2022-02-25
  • 2022-03-07
  • 2021-07-26
  • 2021-12-05
  • 2021-12-05
猜你喜欢
  • 2021-11-06
  • 2021-10-19
  • 2021-04-08
  • 2021-04-23
  • 2021-08-23
  • 2022-02-24
  • 2021-11-19
相关资源
相似解决方案