resin安装文档:

设置环境变量

vi .bash_profile
JAVA_HOME=/opt/jdk1.6.0_18
PATH=$JAVA_HOME:$PATH
export $PATH

下载源码包:

wget http://www.caucho.com/download/resin-pro-4.0.4.tar.gz

安装resin:

tar xzvf resin-pro-4.0.4.tar.gz
cd resin-pro-4.0.4
./configure --prefix=/opt/resin \
--with-resin-root=/opt/data/ \
--with-resin-conf=/opt/resin/conf \
--with-resin-log=/opt/reisn/log \
--with-java-home=/opt/jdk1.6.0_18 \
--with-apxs=/opt/apache/bin/apxs #整合apache
make && make install

启动resin:

java -jar /opt/resin/lib/resin.jar -root-directory '/opt/case' start

参看文档:

http://docs.huihoo.com/resin/4.0/index.xtp