mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-02 20:17:35 +08:00
doc: fix steps of install from source code. (#2545)
This commit is contained in:
parent
d87ce33485
commit
bf3300ae90
@ -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:
|
||||
|
@ -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 的版本号:
|
||||
|
Loading…
Reference in New Issue
Block a user