From 2d9e6c01ffaf3584cd59b04835ae7f398bd0bd98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Wed, 16 Feb 2011 16:40:50 +0800 Subject: [PATCH] more docs. --- README | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/README b/README index 6a05028..dd3fd66 100644 --- a/README +++ b/README @@ -9,19 +9,28 @@ that all these modules are played well together. The bundled software components are copyrighted by the respective copyright holders. -To build ngx_openresty, just uncompress the latest ngx_openresty tarball -listed on http://openresty.org and then enter the -ngx_openresty-* directory, -and type the following commands: +To build ngx_openresty, follow the following steps - ./configure --prefix=/opt/ngx_openresty \ - --with-http_lua_module \ - --with-http_drizzle_module \ - --with-http_rds_json_module +1. Download the latest ngx_openresty tarball +listed on , + say, ngx_openresty-0.8.54.0.tar.gz - make +2. and then enter the ngx_openresty-0.8.54.0/ directory, + and type the following command to configure: - make install + ./configure --prefix=/opt/ngx_openresty \ + --with-http_lua_module \ + --with-http_drizzle_module \ + --with-http_rds_json_module + +3. Build everything locally + + make + +4. Install ngx_openresty into the target directory that you specified by + the --prefix option in Step 2. + + make install For bundle maintainers: