分类: LINUX
2007-08-03 14:41:35
一)下载j2dsk-1.4.0.i586.bin
resion-3.0
apache
二)安装
chmod 755 j2dsk-1.4.0.i586.bin
./j2dsk-1.4.0.i586.bin
mv j2dsk-1.4.0 /usr/java
vi /etc/profile
在最后加上:
unset i
export JAVA_HOME=/usr/java
export RESIN_HOME=/home/tramp //resion的安装目录
保存退出
tar xzvf httpd-2.0.52.tar.gz
cd httpd-2.0.52
./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite=shared
make;make install
四)编译RESION
tar xzvf resion-3.0.tar.gz
cd resion-3.0
./configure --with-apxs=/usr/local/apache2/bin/apxs --with-apache-libexec=/usr/local/apache2/modules --with-apache-conf=/usr/local/apache2/conf
make;make install
vi resion.conf
修改如下:
重启RESION与apache
/sbin/httpd.sh //在resion bin下有个httpd.sh
vi /usr/local/apache2/htdocs/test.jsp
<%=2+2%>
测试页