Linux下面安装resin

1.安装jdk1.5
chmod +777 jdk-1_5_0_06-linux-i586-rpm.bin
./jdk-1_5_0_06-linux-i586-rpm.bin
rpm -i jdk-1_5_0_06-linux-i586.rpm

安装后,将会在/usr/java下创建jdk1.5.0_06目录

2.配置jdk1.5
vi /etc/profile

JAVA_HOME=/usr/java/jdk1.5.0_06
export JAVA_HOME
CLASSPATH=$JAVA_HOME/lib
export CLASSPATH
PATH=$PATH:$JAVA_HOME/bin
export PATH

3.安装resin3.0
到http://www.caucho.com/download/index.xtp上下载所需要的版本,下面以3.0.22为例

tar -zxvf resin-3.0.22.tar.gz

4.启动resin
cd resin-3.0.22
cd bin
./httpd.sh