打开tomcat所在的目录,进入bin文件夹,

在cmd中输入 service.bat install

经过上一步之后,系统中已经有这个服务了,我们需要启动这个服务,并让它在系统启动是就自己启动。
按Win+R, 输入services.msc,打开系统服务设置页面,找到Apache Tomcat这个服务,双击或者右键属性,查看属性并做设置。

改为自动延时启动

打开tomcat所在的目录,进入bin文件夹,
在cmd中输入 service.bat install
经过上一步之后,系统中已经有这个服务了,我们需要启动这个服务,并让它在系统启动是就自己启动。
按Win+R, 输入services.msc,打开系统服务设置页面,找到Apache Tomcat这个服务,双击或者右键属性,查看属性并做设置。
改为自动延时启动
本文标题:tomcat 后台运行的方法
本文链接:https://www.haomeiwen.com/subject/hytevctx.html
网友评论