ubuntu NGINX LUA安装

作者: 李秋
发布时间:2015-07-13 11:12:03

以前一直介绍NGINX 和 PHP安装,今天安装NGINX+LUA,开始感觉挺难的,其实很容易!~

1、安装各种包 

# sudo apt-get install libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl

2、去下载春哥的openresty,下载地址:http://agentzh.org/misc/nginx/ngx_openresty-1.2.6.1.tar.gz

3、安装 

./configure --prefix=/opt/openresty \              --with-luajit \              --without-http_redis2_module \              --with-http_iconv_module \              --with-http_postgres_module \              -j2

4、make && make install

 

 

摘自:http://openresty.org

标签: Lua Nginx Ubuntu
来源:http://www.cnblogs.com/liqiu/archive/2013/02/01/2889019.html

推荐: