Windows10系统下安装配置Tomcat 9.0.1

时间:2021-10-19 19:16:34

Tomcat9.0.1下载:https://tomcat.apache.org/download-90.cgi

 

  1. 配置jdk的环境变量(略)
  2. 在系统变量里新建变量名:CATALINA_BASE,变量值:D:\tomcat\apache-tomcat-9.0.1
    在系统变量里新建变量名:CATALINA_HOME,变量值:D:\tomcat\apache-tomcat-9.0.1
    在系统变量里打开PATH,添加变量值:%CATALINA_HOME%\lib;%CATALINA_HOME%\bin
  3. 打开cmd,进入tomcat下的bin目录,执行“service.bat install”  附:service卸载命令:service.bat remove

Windows10系统下安装配置Tomcat 9.0.1

 

然后startup

Windows10系统下安装配置Tomcat 9.0.1

D:\apache-tomcat-9.0.1\conf\server.xml

Windows10系统下安装配置Tomcat 9.0.1

浏览器输入:http://localhost:8088/

Windows10系统下安装配置Tomcat 9.0.1