Tomcat9.0.1下载:https://tomcat.apache.org/download-90.cgi
- 配置jdk的环境变量(略)
-
在系统变量里新建变量名: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
- 打开cmd,进入tomcat下的bin目录,执行“service.bat install” 附:service卸载命令:service.bat remove
然后startup
D:\apache-tomcat-9.0.1\conf\server.xml
浏览器输入:http://localhost:8088/