doc: fix steps of install from source code. (#2545)

This commit is contained in:
Wen Ming 2020-10-28 13:18:26 +08:00 committed by GitHub
parent d87ce33485
commit bf3300ae90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -167,12 +167,13 @@ There are several ways to install the Apache Release version of APISIX:
- Installation runtime dependencies: OpenResty and etcd, and compilation dependencies: luarocks. Refer to [install dependencies documentation](doc/install-dependencies.md)
- Download the latest source code release package:
```shell
$ mkdir apisix-2.0
$ cd apisix-2.0
$ wget https://downloads.apache.org/apisix/2.0/apache-apisix-2.0-src.tgz
$ tar zxvf apache-apisix-2.0-src.tgz
```
- Install the dependencies
```shell
$ cd apache-apisix-2.0
$ make deps
```
- check version of APISIX:

View File

@ -165,12 +165,13 @@ CentOS 7, Ubuntu 16.04, Ubuntu 18.04, Debian 9, Debian 10, macOS, **ARM64** Ubun
- 安装运行时依赖OpenResty 和 etcd以及编译的依赖luarocks。参考[依赖安装文档](doc/zh-cn/install-dependencies.md)
- 下载最新的源码发布包:
```shell
$ wget http://www.apache.org/dist/apisix/2.0/apache-apisix-2.0-src.tgz
$ mkdir apisix-2.0
$ cd apisix-2.0
$ wget https://downloads.apache.org/apisix/2.0/apache-apisix-2.0-src.tgz
$ tar zxvf apache-apisix-2.0-src.tgz
```
- 安装运行时依赖的 Lua 库:
```shell
$ cd apache-apisix-2.0
$ make deps
```
- 检查 APISIX 的版本号: