more docs.

This commit is contained in:
agentzh (章亦春) 2011-02-16 16:40:50 +08:00
parent 454fb5cbb2
commit 2d9e6c01ff
1 changed files with 19 additions and 10 deletions

29
README
View File

@ -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 <http://openresty.org >,
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: