Resin pro 3.0.21 安装

前言

正式服务器用Resin pro 3.0.21(破解) 当做java容器;
http://scm.im20.com.cn/res/soft/resin-pro-3.0.21-im20.tar.gz

我们选择3.0原因有几:

  • 我们的业务应该没有什么新特性
  • 3.0相对稳定, 我们更加熟悉一些;

安装

cd /data/temp/
wget http: //scm.im20.com.cn/res/soft/resin-pro-3.0.21-im20.tar.gz
tar zxvf resin-pro- 3.0 . 21 -im20.tar.gz -C /data/server/

服务器快速安装命令

__sh install_jdk-6u27_x64
__sh resin-pro- 3.0 . 21

使用

  • 编辑配置文件
    vim /data/server/resin-pro- 3.0 . 21 /conf/resin.xml
  • 添加一个虚拟机
    在resin.xml里面最下方,可以看到一个实例, copy 三行修改路径、域名重启即可;
    <!-- demo host -->
         < host id = "www.xxx.com" root-directory = "." >
            < web-app  id = "/" document-directory = "/data/web/www.xxx.com" />
         </ host >
    <!-- //demo host -->

    更多配置参考: http://caucho.com/resin-3.0/

  • 启动resin
    /data/server/resin-pro- 3.0 . 21 /bin/httpd.sh start
  • 停止resin
    /data/server/resin-pro- 3.0 . 21 /bin/httpd.sh stop
  • 重启resin
    /data/server/resin-pro- 3.0 . 21 /bin/httpd.sh restart

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值