The Lua module Ubuntu to install nginx

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

The Lua module Ubuntu to install nginx


System information 1: cat /proc/version

Linux version 3.5.0-25-generic (buildd@lamiak) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #39-Ubuntu SMP Mon Feb 25 19:02:34 UTC 2013


The 2 version of nginx installed

wget -q http://nginx.org/download/nginx-1.4.4.tar.gz ;

3 add third party modules

git clone  https://github.com/simpl/ngx_devel_kit

git clone  https://github.com/agentzh/set-misc-nginx-module

git clone  https://github.com/agentzh/memc-nginx-module

git clone  https://github.com/agentzh/echo-nginx-module

git clone  https://github.com/chaoslawful/lua-nginx-module

git clone  https://github.com/agentzh/srcache-nginx-module

git clone  https://github.com/chaoslawful/drizzle-nginx-module

git clone  https://github.com/agentzh/rds-json-nginx-module


Prepare 4 before Compilation

Install lua-nginx-module modules need to install Lua, specific installation method Baidu, after installation to set environment variables in the/etc/environment


5 installation began

tar xzf nginx-1.4.4.tar.gz 

cd nginx-1.4.4 

./configure --group=www --prefix=/usr/local/nginx --with-pcre  --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ipv6 --with-debug --add-module=./ngx_devel_kit --add-module=./set-misc-nginx-module --add-module=./memc-nginx-module --add-module=./echo-nginx-module  --add-module=./lua-nginx-module --add-module=./srcache-nginx-module --add-module=./rds-json-nginx-module 


This module has a problem

--add-module=./drizzle-nginx-module


6.make && make install 

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Ellis at January 03, 2014 - 3:23 PM