CentOS6.3环境下openresty安装drizzle模块,


看过很多篇openresty安装drizzle,而且进行尝试都没有成功,经过多次尝试终于安装好了,虽然经过自己处理,但是原来的核心还是属于别人的,嘻嘻,进入正文:

1.首先安装drizzle7-2011.07.21.tar.gz
wget  http://agentzh.org/misc/nginx/drizzle7-2011.07.21.tar.gz
tar zxvf drizzle7-2011.07.21.tar.gz 
cd drizzle7-2011.07.21
./configure --prefix=/usr/local/drizzle --without-server
make install-libdrizzle-1.0
echo  "/usr/local/drizzle/lib/" >> /etc/ld.so.conf
ldconfig

2.然后输入命令: vim /etc/profile   

在最后加两行
export LIBDRIZZLE_INC=/usr/local/drizzle/include/libdrizzle-1.0
export LIBDRIZZLE_LIB=/usr/local/drizzle/lib
让profile立刻生效:source /etc/profile

3.最后安装openresty(openresty在网上随处可下载):
./configure --prefix=/usr/local/openresty --with-luajit --with-http_drizzle_module --with-http_iconv_module
make && make install

相关内容

    暂无相关文章