【转载】tomcat 9 安装配置过程

  1. 感谢原作者,原文链接:https://jingyan.baidu.com/article/60ccbceb543d3064cab19739.html
  2. apache-tomcat-9安装
  3.  

    打开cmd移动到tomcat安装目录:使用e:移动到安装盘,再次输入cd apache-tomcat-9.0.0.M1\bin 移动到tomcat\bin目录下。

    apache-tomcat-9安装
    apache-tomcat-9安装
  4.  

    输入 service.bat install 安装服务,自动帮你配置好tomcat环境变量。如图说明正确安装

    apache-tomcat-9安装
  5.  

    启动tomcat,有四种方法!!

    1、双击bin目录下的startup.bat批处理运行tomcat(这样的好处是可以看到运行状态,出现数据库,代码报错。推荐使用)

    2、以管理员运行cmd运行net start tomcat9命令(9是版本号)

    3、通过任务管理器里面的服务运行

    4、双击bin目录下的tomcat9w.exe打卡并点击start运行tomcat

    apache-tomcat-9安装
    apache-tomcat-9安装
    apache-tomcat-9安装
    apache-tomcat-9安装
  6.  

    最后一步测试网页,浏览器中http://localhost:8080/

    apache-tomcat-9安装
  7.  

posted on 2017-05-06 18:49  小白狐狸2017  阅读(2419)  评论(0)    收藏  举报

导航