# tar -zxvf openssl-0.9.7d.tar.gz
# cd openssl-0.9.7d
# ./configure --prefix=/usr/local/openssl #设置安装路径
# make
# make install
3、配置Apache
# cd /usr/local/
# tar -zxvf ~sea/server/httpd-2.0.50.tar.gz
# ./configure --enable-so --enable-ssl --with-ssl=/usr/local/openssl --enable-rewrite
# make
# make install
生成 Apache 启动文件
# cd /etc/rc.d/init.d
# sed 's/sbin/atd/local/servers/apache/bin/httpd/g' atd >; httpd
# sed 's/atd/httpd/g' httpd >; /tmp/txt
# sed 's/at daemon/httpd daemon/g' /tmp/txt >; httpd
# rm /tmp/txt
# chmod 755 httpd
# chkconfig --level 345 httpd on
# chkconfig --level 0126 httpd off
# cd /usr/local
# tar -zxvf ~/server/resin-3.0.8.tar.gz
# cd resin-3.0.8/
# ./configure --with-java-home=/usr/java/j2sdk1.4.2_05 --with-apxs=/usr/local/apache2/bin/apxs --with-apache=/usr/local/apache2