apache+resin安装配置全过程
需要注意的是,编译apache时候必须加入了DSO支持,如果没有,请加入 --enable-module=so 选项重新编译apache
安装resin:
下载resin的安装包
/usr/local
# tar -zxvf resin-2.1.4.tar.gz
/usr/local
# cd resin-2.1.4/bin
/usr/local/resin-2.1.4/bin
# httpd.sh start
如果没有错误消息
看一下http://ip:8080/
能看到resin的页面就表示单独运行resin成功了
下面是比较重要的整合resin和apache
首先编译mod_caucho
下载resin的源代码
/usr/local# tar -zxvf resin-2.1.4-src.tar.gz /usr/local
# cd resin-2.1.4-src /usr/local/resin-2.1.4-src
# ./configure --with-apxs=/usr/local/apache/bin/apxs 或者 /usr/local/resin-2.1.4-src
# ./configure --with-apxs=/usr/local/apache /usr/local/apache为apache的安装路径 然后 /usr/local/resin-2.1.4-src
# make
# make install
修改resin-2.1.4/conf/resin.conf
;
;
;/usr/local/apache/htdocs/;
;
这段将doc-dir改成自己的doc dir,我这里是/usr/local/apache/htdocs/
安装resin:
下载resin的安装包
/usr/local
# tar -zxvf resin-2.1.4.tar.gz
/usr/local
# cd resin-2.1.4/bin
/usr/local/resin-2.1.4/bin
# httpd.sh start
如果没有错误消息
看一下http://ip:8080/
能看到resin的页面就表示单独运行resin成功了
下面是比较重要的整合resin和apache
首先编译mod_caucho
下载resin的源代码
/usr/local# tar -zxvf resin-2.1.4-src.tar.gz /usr/local
# cd resin-2.1.4-src /usr/local/resin-2.1.4-src
# ./configure --with-apxs=/usr/local/apache/bin/apxs 或者 /usr/local/resin-2.1.4-src
# ./configure --with-apxs=/usr/local/apache /usr/local/apache为apache的安装路径 然后 /usr/local/resin-2.1.4-src
# make
# make install
修改resin-2.1.4/conf/resin.conf
;
;
;/usr/local/apache/htdocs/;
;
这段将doc-dir改成自己的doc dir,我这里是/usr/local/apache/htdocs/
相关推荐
pittpakk 2011-04-17
寒星孤照 2011-03-04
claytang 2011-02-21
香帅 2010-09-09
smallwhale 2009-01-31
lwplvx 2011-04-17
小波波 2011-06-13
88971730 2011-04-12
liboxue 2017-06-28
futurezone 2016-12-27
liangkaiping0 2010-12-28
wozijisunfly 2010-10-28
宁静致远 2010-10-13
liufangbaishi0 2012-05-07