1、下载jdk8并安装
2、下载tomcat windows环境下的免安装版zip包
3、设置两个环境变量
4、在tomcat的bin路径下双击startup.bat 启动tomcat服务器
5、使用 service.bat install 命令将tomcat注册为windows下的一个服务,并设置服务的启动方式为:自动,这样每次开启电脑,tomcat服务就是自动启动
参考 https://blog.csdn.net/ytx2014214081/article/details/76945387