Skip to content

Commit

Permalink
more edits in the package pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Jul 14, 2016
1 parent d84b0d8 commit 31f2c9e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions v2/en/linux-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@title Linux Packages
--->

OpenResty provides official pre-built packages for the following Linux distributions and versions:
OpenResty provides official pre-built packages for the following Linux distributions and versions.

* RHEL/CentOS

Expand All @@ -25,7 +25,7 @@ OpenResty provides official pre-built packages for the following Linux distribut
# RHEL/CentOS

You can add the `openresty` repository to your RHEL or CentOS system so as to easily install
our packages and receive updates automatically in the future. To add the repository, just
our packages and receive updates in the future (via the `yum update` command). To add the repository, just
create the file named `/etc/yum.repos.d/OpenResty.repo` with the following content:

```ini
Expand Down Expand Up @@ -63,7 +63,7 @@ sudo dnf copr enable openresty/openresty
```

Then you can easily install packages from the `openresty-openresty` repository and receive updates
automatically in the future. For example, to install the `openresty` package, we can just run the
in the future (through the `dnf update` command). For example, to install the `openresty` package, we can just run the
following command:

```bash
Expand Down
12 changes: 9 additions & 3 deletions v2/en/rpm-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@title RPM Packages
--->

The OpenResty official Yum repositories provide the following RPM packages:
The OpenResty official Yum repositories provide the following RPM packages.

# openresty

Expand Down Expand Up @@ -69,8 +69,6 @@ restydoc ngx_lua

restydoc -s content_by_lua

restydoc -s table.concat

restydoc -s proxy_pass
```

Expand All @@ -89,6 +87,10 @@ differences:
2. It enables the NGINX debugging log capability.
3. It uses the `openresty-openssl-debug` package instead of `openresty-openssl` for the OpenSSL library.
4. It enables API checks and assertions in the LuaJIT build.
5. It enables the assertions in the `ngx_http_lua` module.
6. It makes the `ngx_http_lua` module abort the current nginx worker process immediately upon LuaJIT allocation
failures in its GC-managed memory (the default behavior is logging an error message and gracefully quit
the current worker process).

You should never use this package in production. This package is for development only.

Expand All @@ -103,6 +105,10 @@ done in the `openresty-debug` package:
2. It enforces LuaJIT to use the system allocator instead of its own.
3. It enables the internal Valgrind co-operations in the LuaJIT build.

See the following tutorials on more details on Valgrind-based testing in the context of OpenResty:

https://openresty.gitbooks.io/programming-openresty/content/testing/test-modes.html#_valgrind_mode

# openresty-openssl

This is our own build of the OpenSSL library. In particular, we have disabled the threads support in the build
Expand Down

0 comments on commit 31f2c9e

Please sign in to comment.