以前一直介绍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

相关文章:

  • 2022-12-23
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2021-04-05
  • 2021-09-28
猜你喜欢
  • 2021-09-18
  • 2022-12-23
  • 2021-06-18
  • 2021-06-10
  • 2022-01-02
  • 2021-12-28
  • 2021-07-27
相关资源
相似解决方案