ITeye博客

apache + resin linux 环境配置

彭自荣 · 2009-12-11 23:23 · 编程语言 · Markdown

apache + resin linux 环境配置 参考 http://www.chinaunix.net/jh/13/488469.html http://www.qqread.com/network/server/e226679.html 一、安装resin 1.下载resin-3.1.9.tar.gz 2.tar zxvf resin-3.1.9.tar.gz mv -r resin-3.1.9 /usr/java/ 3.cd resin* 4../configure 5.make 6.make install

二、安装apache 1.下载httpd-2.2.6.tar.bz2 2.tar zxvf httpd-2.2.6.tar.bz2 mv -r httpd-2.2.6 /usr/java/ 2../configure --prefix=/usr/java/httpd2 --enable-module=most --enable-shared=max 3.make 4.make install

这样apache被安装在/usr/java/httpd2目录下

三.cd /usr/java/resin //进入resin安装目录 关联编译

./configure --with-apxs=/usr/java/httpd2/bin/apxs

make

make install

这样在/usr/java/httpd2/modules 目录下会生成一个 mod_caucho.so 文件

并会自动对 .../httpd2/conf/httpd.conf 进行配置

默认自动配置:LoadModule caucho_module /usr/java/httpd2/modules/mod_caucho.so ResinConfigServer localhost 6800 CauchoConfigCacheDirectory /tmp CauchoStatus yes

   最后改成如下: 
   #LoadModule caucho_module modules/mod_caucho.so    

#ResinConfigServer localhost 6800
#<location /caucho-status>

sethandler caucho-status

# 6.最后修改/usr/java/resin/conf/resin.conf --change to-->

7.检查配置: 查检resin.conf 端口是否与httpd.conf 的 ResinConfigServer localhost 6800 配置是否一致

评论(1)

  1. #1 楼 · laitaogood · 2010-01-10 18:28

    荣荣,你好屌…… :idea:

评论功能维护中,当前仅展示历史评论。