首页 > 代码库 > OpenResty 安装 drizzle-nginx-module

OpenResty 安装 drizzle-nginx-module

1、下载drizzle模块

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

2、安装drizzle模块

tar zxvf drizzle7-2011.07.21.tar.gzcd drizzle7-2011.07.21./configure --prefix=/usr/local/drizzle --without-servermake libdrizzle-1.0make install-libdrizzle-1.0echo  "/usr/local/drizzle/lib/" >> /etc/ld.so.confldconfig

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

 

OpenResty 安装 drizzle-nginx-module