1、安装resin2.1.16到windows服务
通过httpd.exe的参数install,如
dos:\> ${resin_home}\bin\httpd.exe -install-as resin
卸载则使用remove, 如
dos:\> ${resin_home}\bin\httpd.exe -remove
2、安装tomcat-6.0.14到windows服务
格式:service.bat install/remove [service_name]
dos:\>${tomcat_home}\bin\service.bat install tomcat
3、控制台命令控制windows服务
启动服务:net start [service_name]
停止服务:net stop [service_name]