resin 简易配置

下载 resin3.1.2

解压缩, 进入resin3.1.2 运行 httpd.exe 启动resin 服务,
访问 http://localhost:8080/

(晕,竟然保存不成功, javaeye 的同学要查查这个bug)
[b]将 resin 注册为 windows 服务[/b]

resin-3.1.2>httpd -install -conf conf/resin.conf

在 resin-3.1.2/conf 目录下提供了一些 .conf 配置文件,应该是启动的配置文件
,没细研究,这里使用了 resin.conf 文件

windows 服务可以使用 net 命令来启动和终止,such as :

resin-3.1.2>net start resin

resin-3.1.2>net stop resin

对于其他的 windows 服务也可以使用 net 来启动,关闭。对于含空格的服务名
用 "" 括起来。

>net start "Windows Time"

>net stop "Windows Time"

试了一下服务名不区分大小写。

[b]移除 resin 服务[/b]


resin-3.1.2>httpd -remove

可以用不同的配置文件注册多个服务,such as:

resin-3.1.2>httpd -install-as resin_minimal -conf conf/minimal.conf

resin-3.1.2>httpd -install-as resin_resin -conf conf/resin.conf

同样用 net 启动,但是不知道怎么删除这个服务。
httpd -remove 无效,只好用 sc delete 服务名了

>sc delete resin_minimal
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值