下载
http://www.caucho.com/download/
选择一个版本,我选的是Resin 3.2.1
下载完解压到 /usr下
重命名为resin
配置RESIN_HOME
cd /etc/
vim profile
添加
export RESIN_HOME=/usr/resin
resin安装完成
修改resin.xml
cd /usr/resin/conf
vim resin.xml
找到
<resin:if test=${resin.UserName='=root'}>。。。。</resin:if>
把上面的内容注释掉
不注释则启动resin时会报
can't start -server '' for watchdog at 127.0.0.1:6600.
com.caucho.config.ConfigException: <user-name> requires compiled JNI.
Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for
libresin_os.so.
错误
修改后可启动resin
cd /usr/resin/bin
启动
sh resin.sh start
关闭
sh resin.sh stop