码迷,mamicode.com
首页 > 其他好文 > 详细

OpenResty 安装 drizzle-nginx-module

时间:2014-11-01 16:15:53      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   ar   sp   div   on   2014   

1、下载drizzle模块

wget http://openresty.org/download/drizzle7-2011.07.21.tar.gz

2、安装drizzle模块

tar zxvf drizzle7-2011.07.21.tar.gz
cd drizzle7-2011.07.21
./configure --prefix=/usr/local/drizzle --without-server
make libdrizzle-1.0
make install-libdrizzle-1.0
echo  "/usr/local/drizzle/lib/" >> /etc/ld.so.conf
ldconfig

3、安装openresty(参考我另一篇博客http://www.cnblogs.com/kgdxpr/p/3550633.html
编译时增加--with-http_drizzle_module

./configure --prefix=/usr/local/openresty/ --with-http_drizzle_module --with-luajit

查看openresty安装的模块

/usr/local/openresty/nginx/sbin/nginx -V

bubuko.com,布布扣

 

OpenResty 安装 drizzle-nginx-module

标签:style   blog   http   color   ar   sp   div   on   2014   

原文地址:http://www.cnblogs.com/kgdxpr/p/4067207.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!