You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/05/05 04:20:57 UTC
[apisix] branch master updated: docs: add more way to install
APISIX (#4181)
This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new d4e5bca docs: add more way to install APISIX (#4181)
d4e5bca is described below
commit d4e5bca1312c123c56bd97a885efd083141560f7
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Wed May 5 12:20:47 2021 +0800
docs: add more way to install APISIX (#4181)
Also prefer to install via package instead of source.
The latter one is not so friendly for beginner.
Signed-off-by: spacewander <sp...@gmail.com>
---
docs/en/latest/how-to-build.md | 20 ++++++++++++++------
docs/zh/latest/how-to-build.md | 20 ++++++++++++++------
2 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/docs/en/latest/how-to-build.md b/docs/en/latest/how-to-build.md
index bbbc66b..0d1f402 100644
--- a/docs/en/latest/how-to-build.md
+++ b/docs/en/latest/how-to-build.md
@@ -31,6 +31,20 @@ So before installation, please follow the different operating systems [install D
You can install Apache APISIX in a variety of ways, including source code packages, Docker, and Luarocks.
+### Installation via RPM package (CentOS 7)
+
+```shell
+sudo yum install -y https://github.com/apache/apisix/releases/download/2.5/apisix-2.5-0.x86_64.rpm
+```
+
+### Installation via Docker
+
+See https://hub.docker.com/r/apache/apisix
+
+### Installation via Helm Chart
+
+See https://github.com/apache/apisix-helm-chart
+
### Installation via source release
You need to download the Apache source release first:
@@ -48,12 +62,6 @@ cd apisix-2.5
make deps
```
-### Installation via RPM package (CentOS 7)
-
-```shell
-sudo yum install -y https://github.com/apache/apisix/releases/download/2.5/apisix-2.5-0.x86_64.rpm
-```
-
## 3. Manage (start/stop) APISIX Server
We can start the APISIX server by command `make run` in APISIX home folder,
diff --git a/docs/zh/latest/how-to-build.md b/docs/zh/latest/how-to-build.md
index 6b434ed..35b4526 100644
--- a/docs/zh/latest/how-to-build.md
+++ b/docs/zh/latest/how-to-build.md
@@ -31,6 +31,20 @@ Apache APISIX 的运行环境需要 Nginx 和 etcd,
你可以通过源码包、Docker、Luarocks 等多种方式来安装 Apache APISIX。
+### 通过 RPM 包安装(CentOS 7)
+
+```shell
+sudo yum install -y https://github.com/apache/apisix/releases/download/2.5/apisix-2.5-0.x86_64.rpm
+```
+
+### 通过 Docker 安装
+
+见 https://hub.docker.com/r/apache/apisix
+
+### 通过 Helm Chart 安装
+
+见 https://github.com/apache/apisix-helm-chart
+
### 通过源码包安装
你需要先下载 Apache Release 源码包:
@@ -48,12 +62,6 @@ cd apisix-2.5
make deps
```
-### 通过 RPM 包安装(CentOS 7)
-
-```shell
-sudo yum install -y https://github.com/apache/apisix/releases/download/2.5/apisix-2.5-0.x86_64.rpm
-```
-
## 3. 管理(启动、关闭等)APISIX 服务
我们可以在 apisix 的目录下用 `make run` 命令来启动服务,或者用 `make stop` 方式关闭服务。