首页 > Windows开发 > 详细

resin在Windows server上的启动配置

时间:2015-03-05 23:37:18      阅读:424      评论:0      收藏:0      [点我收藏+]

在resin.conf中查找<web-app>标签,该标签表示一个web应用标签中,id属性表示该应用的Web路径。如<web-app id=‘/test‘>,表示该应用在Web上访问的时候应该用http://hostname/test/来访问。app-dir属性表示该应用的实际路径。如<app-dir>d:\resin\doc\test</app-dir>表示该应用在d:\resin\doc\test目录下面。默认值为根下面的和id同名的目录。

 

如果是windows的启动命令是:

dos:\> ${resin_home}\httpd.exe 参数 -install-as 服务名字

dos:\> ${resin_home}\httpd.exe 参数 -remove-as 服务名字

 

 

如果是linux的启动命令是: 
停止 
Xshell:\> ${resin_home}\httpd.sh -server 项目服务名 stop 
开始 
Xshell:\> ${resin_home}\httpd.sh -server 项目服务名 start 
重启 
Xshell:\> ${resin_home}\httpd.sh -server 项目服务名 restart

resin在Windows server上的启动配置

原文:http://www.cnblogs.com/buptmt/p/4316910.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!