You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by me...@apache.org on 2020/10/28 05:18:58 UTC

[apisix] branch master updated: doc: fix steps of install from source code. (#2545)

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

membphis 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 bf3300a  doc: fix steps of install from source code. (#2545)
bf3300a is described below

commit bf3300ae908952a2c08511af2b6861c92bba29cc
Author: Wen Ming <mo...@gmail.com>
AuthorDate: Wed Oct 28 13:18:26 2020 +0800

    doc: fix steps of install from source code. (#2545)
---
 README.md    | 3 ++-
 README_CN.md | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index bccb111..3b591c2 100644
--- a/README.md
+++ b/README.md
@@ -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:
diff --git a/README_CN.md b/README_CN.md
index 71d1dee..d7a3d0b 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -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 的版本号: