openresty 环境搭建

博客已经搬家,请访问如下地址:http://www.czhphp.com

  

    drizzle 的安装:
    http://agentzh.org/misc/nginx/drizzle7-2011.07.21.tar.gz

    When you get the drizzle7 2011.07.21 release tarball, you can install libdrizzle-1.0 like this:

    tar xzvf drizzle7-2011.07.21.tar.gz
    cd drizzle7-2011.07.21/
    ./configure --without-server
    make libdrizzle-1.0
    make install-libdrizzle-1.0
    
    export LIBDRIZZLE_LIB=/usr/local/lib

    ngx_openresty安装:
    下载: wget http://agentzh.org/misc/nginx/ngx_openresty-1.2.4.14.tar.gz
    解压:tar xzvf ngx_openresty-1.2.4.14.tar.gz
    编译:cd ngx_openresty-1.2.4.14
    mkdir -p /usr/local/openresty
    ./configure --prefix=/usr/local/openresty \
            --with-http_drizzle_module \
            --with-http_iconv_module \
            --with-http_stub_status_module \
            --with-libdrizzle=/usr/local \
            --with-luajit
    gmake && gmake install

  引自:http://openresty.org/cn/

博客已经搬家,请访问如下地址:http://www.czhphp.com

posted @ 2013-01-06 12:36  曹振华  阅读(469)  评论(0编辑  收藏  举报