tomcat写入windows服务

(说明:cmd 先进入tomcat安装路径下的bin,然后service install tomcat6.0)

F:

cd  F:\apache-tomcat-6.0.29\bin
service install tomcat6.0


(说明:启动tomcat服务)

net start tomcat6.0


(说明:停止tomcat服务)

net stop tomcat6.0


(说明:从windows服务中删除tomcat服务)

sc delete tomcat6.0

你可能感兴趣的:(tomcat)