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 8693756 docs: adjust installation options (#4621)
8693756 is described below
commit 8693756470dca8228aa1a5b83ee3acc3603ed5f5
Author: yilinzeng <[email protected]>
AuthorDate: Mon Jul 19 20:56:46 2021 +0800
docs: adjust installation options (#4621)
---
docs/en/latest/how-to-build.md | 34 +++++++++++++++++-----------------
docs/zh/latest/how-to-build.md | 34 +++++++++++++++++-----------------
2 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/docs/en/latest/how-to-build.md b/docs/en/latest/how-to-build.md
index 1d3f7e3..4f0314e 100644
--- a/docs/en/latest/how-to-build.md
+++ b/docs/en/latest/how-to-build.md
@@ -29,7 +29,23 @@ Before installing Apache APISIX, please install dependencies
according to the op
## Step 2: Install Apache APISIX
-You can install Apache APISIX via source release packages, RPM package, Docker
and Helm Chart. Please choose one from the following options.
+You can install Apache APISIX via RPM package, Docker, Helm Chart, and source
release package. Please choose one from the following options.
+
+### Installation via RPM Package(CentOS 7)
+
+This installation method is suitable for CentOS 7, please run the following
command to install Apache APISIX.
+
+```shell
+sudo yum install -y
https://github.com/apache/apisix/releases/download/2.7/apisix-2.7-0.x86_64.rpm
+```
+
+### Installation via Docker
+
+Please refer to: [Installing Apache APISIX with
Docker](https://hub.docker.com/r/apache/apisix).
+
+### Installation via Helm Chart
+
+Please refer to: [Installing Apache APISIX with Helm
Chart](https://github.com/apache/apisix-helm-chart).
### Installation via Source Release Package
@@ -62,22 +78,6 @@ You can install Apache APISIX via source release packages,
RPM package, Docker a
make deps
```
-### Installation via RPM Package(CentOS 7)
-
-This installation method is suitable for CentOS 7, please run the following
command to install Apache APISIX.
-
-```shell
-sudo yum install -y
https://github.com/apache/apisix/releases/download/2.7/apisix-2.7-0.x86_64.rpm
-```
-
-### Installation via Docker
-
-Please refer to: [Installing Apache APISIX with
Docker](https://hub.docker.com/r/apache/apisix).
-
-### Installation via Helm Chart
-
-Please refer to: [Installing Apache APISIX with Helm
Chart](https://github.com/apache/apisix-helm-chart).
-
## Step 3: Manage Apache APISIX Server
We can initialize dependencies, start service, and stop service with commands
in the Apache APISIX directory, we can also view all commands and their
corresponding functions with the `make help` command.
diff --git a/docs/zh/latest/how-to-build.md b/docs/zh/latest/how-to-build.md
index 05c5ef3..d7b938a 100644
--- a/docs/zh/latest/how-to-build.md
+++ b/docs/zh/latest/how-to-build.md
@@ -29,7 +29,23 @@ Apache APISIX 的运行环境需要依赖 NGINX 和 etcd,所以在安装 Apach
## 步骤2:安装 Apache APISIX
-你可以通过源码包、RPM 包、Docker、Helm Chart 等多种方式来安装 Apache APISIX。请在以下选项中选择其中一种执行。
+你可以通过 RPM 包、Docker、Helm Chart、源码包等多种方式来安装 Apache APISIX。请在以下选项中选择其中一种执行。
+
+### 通过 RPM 包安装(CentOS 7)
+
+这种安装方式适用于 CentOS 7 操作系统,请运行以下命令安装 Apache APISIX。
+
+```shell
+sudo yum install -y
https://github.com/apache/apisix/releases/download/2.7/apisix-2.7-0.x86_64.rpm
+```
+
+### 通过 Docker 安装
+
+详情请参考:[使用 Docker 安装 Apache APISIX](https://hub.docker.com/r/apache/apisix)。
+
+### 通过 Helm Chart 安装
+
+详情请参考:[使用 Helm Chart 安装 Apache
APISIX](https://github.com/apache/apisix-helm-chart)。
### 通过源码包安装
@@ -62,22 +78,6 @@ Apache APISIX 的运行环境需要依赖 NGINX 和 etcd,所以在安装 Apach
make deps
```
-### 通过 RPM 包安装(CentOS 7)
-
-这种安装方式适用于 CentOS 7 操作系统,请运行以下命令安装 Apache APISIX。
-
-```shell
-sudo yum install -y
https://github.com/apache/apisix/releases/download/2.7/apisix-2.7-0.x86_64.rpm
-```
-
-### 通过 Docker 安装
-
-详情请参考:[使用 Docker 安装 Apache APISIX](https://hub.docker.com/r/apache/apisix)。
-
-### 通过 Helm Chart 安装
-
-详情请参考:[使用 Helm Chart 安装 Apache
APISIX](https://github.com/apache/apisix-helm-chart)。
-
## 步骤3:管理 Apache APISIX 服务
我们可以在 Apache APISIX 的目录下使用命令初始化依赖、启动服务和停止服务,也可以通过 `make help` 命令查看所有命令和对应的功能。