Apache安装配置 tar xvzf httpd* //解压源码包 cd httpd* //进入安装目录 /configure --prefix=/usr/local/apache2 --enable-so //进行编译 //--enable-so根据apache的版本不同可能不同,请用--help参数查看可用的选项 make make install //安装 修改conf/httpd.conf进行HTTP配置 Resin安装配置 tar zxvf resin* //解压源码包 cd resin* //进入安装目录 ./configure --with-apxs=$Apache2_home/bin/apxs ... //进行编译,可以用--help参数查看可用的选项 make make install //安装 此时已经生成Resin连接Apache2的.so文件了,其存在与$Apache2_home/modules/mod_caucho.so 修改conf/httpd.conf进行HTTP配置 LoadModule caucho_modules modules/mod_caucho.so ResinConfigServer localhost 6802 <location /caucho-status> sethandler caucho-status </location> 修改$resin_home/conf/resin.conf中的 <web-app id='/' document-directory="/webapps/ROOT"/> 把webapps/ROOT改成Apache的httpd.conf配置文件document ROOT所对应的目录
分别先后启动Resin和Apache 访问http://hostname/caucho-status 可以看到Resin的状态页面 
|