Nginx Lua install

Source: Internet
Author: User

LuaJIT:
Git clone http://luajit.org/git/luajit-2.0.git
Make
Make install

Lua: source

Curl-R-O http://www.lua.org/ftp/lua-5.2.2.tar.gztar zxf lua-5.2.2.tar.gz

Lua-ngxin-module:

Curl-R-O https://codeload.github.com/chaoslawful/lua-nginx-module/tar.gz/v0.8.10

Tar zxf v0.8.10

Ngx_devel_kit:

Curl-R-O https://codeload.github.com/simpl/ngx_devel_kit/tar.gz/v0.2.18

Tar zxf v0.2.18

Nginx:
Wget 'HTTP: // nginx.org/download/nginx-1.4.2.tar.gz'tar-xzvf nginx-1.4.2.tar.gzcd nginx-1.4.2/

Export LUA_LIB =/usr/local/lib
Export LUA_INC =/usr/local/include/luajit-2.0

./Configure -- prefix =/usr/local/nginx -- add-module =/path/to/ngx_devel_kit -- add-module =/path/to/lua-nginx-module
Make
Make install

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.