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.gztar 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 -->????<hostid="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?
- 重启resin
- 停止resin
- 启动resin
- 添加一个虚拟机
- 编辑配置文件