我是靠谱客的博主 高挑萝莉,这篇文章主要介绍resin在Windows server上的启动配置,现在分享给大家,希望可以做个参考。

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

 

如果是windows的启动命令是:

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

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

 C:> resin-3.1.10binhttpd.exe -install-as XXX -conf c:/resin2.16/conf/resin.conf -server a

 C:> resin-3.1.10binhttpd.exe -install-as XXX

 C:> resin-3.1.10binhttpd.exe -install XXX

 移除服务 sc -delete XXX

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

转载于:https://www.cnblogs.com/buptmt/p/4316910.html

最后

以上就是高挑萝莉最近收集整理的关于resin在Windows server上的启动配置的全部内容,更多相关resin在Windows内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(88)

评论列表共有 0 条评论

立即
投稿
返回
顶部