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/11/15 08:14:48 UTC

[apisix] branch release/2.10 updated: docs: for step 3, we should replace "make" with "apisix" (#5511)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch release/2.10
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/release/2.10 by this push:
     new be360b4  docs: for step 3, we should replace "make" with "apisix" (#5511)
be360b4 is described below

commit be360b4b9072477dcd6acbf89129bd76526bf293
Author: zhanliukun <92...@users.noreply.github.com>
AuthorDate: Mon Nov 15 16:14:39 2021 +0800

    docs: for step 3, we should replace "make" with "apisix" (#5511)
---
 docs/zh/latest/how-to-build.md | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/zh/latest/how-to-build.md b/docs/zh/latest/how-to-build.md
index c7810d9..63aedbd 100644
--- a/docs/zh/latest/how-to-build.md
+++ b/docs/zh/latest/how-to-build.md
@@ -80,7 +80,7 @@ sudo yum install -y https://github.com/apache/apisix/releases/download/2.10.1/ap
 
 ## 步骤3:管理 Apache APISIX 服务
 
-我们可以在 Apache APISIX 的目录下使用命令初始化依赖、启动服务和停止服务,也可以通过 `make help` 命令查看所有命令和对应的功能。
+我们可以在 Apache APISIX 的目录下使用命令初始化依赖、启动服务和停止服务,也可以通过 `apisix help` 命令查看所有命令和对应的功能。
 
 ### 初始化依赖
 
@@ -88,7 +88,7 @@ sudo yum install -y https://github.com/apache/apisix/releases/download/2.10.1/ap
 
 ```shell
 # initialize NGINX config file and etcd
-make init
+apisix init
 ```
 
 ### 启动 Apache APISIX
@@ -97,34 +97,34 @@ make init
 
 ```shell
 # start Apache APISIX server
-make run
+apisix run
 ```
 
 ### 停止运行 Apache APISIX
 
-优雅停机 `make quit` 和强制停机 `make stop`都可以停止运行 Apache APISIX。建议您优先选择优雅停机的方式停止 Apache APISIX,因为这种停止方式能够保证 Apache APISIX 完成了已经接受到的请求之后再停止;而强制停机则是立即停止 Apache APISIX,在这种情况下,Apache APISIX 接收到但未完成的请求会随着强制停机一并停止。
+优雅停机 `apisix quit` 和强制停机 `apisix stop`都可以停止运行 Apache APISIX。建议您优先选择优雅停机的方式停止 Apache APISIX,因为这种停止方式能够保证 Apache APISIX 完成了已经接受到的请求之后再停止;而强制停机则是立即停止 Apache APISIX,在这种情况下,Apache APISIX 接收到但未完成的请求会随着强制停机一并停止。
 
 执行优雅停机的命令如下所示:
 
 ```shell
 # stop Apache APISIX server gracefully
-make quit
+apisix quit
 ```
 
 执行强制停机的命令如下所示:
 
 ```shell
 # stop Apache APISIX server immediately
-make stop
+apisix stop
 ```
 
 ### 查看其他操作
 
-运行 `make help` 命令,查看返回结果,获取其他操作的命令和描述。
+运行 `apisix help` 命令,查看返回结果,获取其他操作的命令和描述。
 
 ```shell
 # more actions find by `help`
-make help
+apisix help
 ```
 
 ## 步骤4:运行测试案例