You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/17 00:41:33 UTC

[GitHub] [apisix] imjoey commented on a change in pull request #5252: docs: Add RPM repository guide for CentOS 7

imjoey commented on a change in pull request #5252:
URL: https://github.com/apache/apisix/pull/5252#discussion_r729859795



##########
File path: 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 RPM package, Docker, Helm Chart, and source release package. Please choose one from the following options.
+You can install Apache APISIX via RPM Repository, RPM package, Docker, Helm Chart, and source release package. Please choose one from the following options.
+
+### Installation via RPM Repository(CentOS 7)
+
+This installation method is suitable for CentOS 7. For now, the Apache APISIX RPM repository for CentOS 7 is already supported. Please run the following commands to install the repository and Apache APISIX.
+
+```shell
+sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo
+# Will install apisix-2.10.0, only 2.10.0 is included for now
+sudo yum install apisix

Review comment:
       @leslie-tsang yep, it's much clear for users. Thank you very much.

##########
File path: 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 仓库、RPM 包、Docker、Helm Chart、源码包等多种方式来安装 Apache APISIX。请在以下选项中选择其中一种执行。
+
+### 通过 RPM 仓库安装(CentOS 7)
+
+这种安装方式适用于 CentOS 7 操作系统。Apache APISIX 已经支持适用于 CentOS 7 的 RPM 仓库。请运行以下命令安装 RPM 仓库和 Apache APISIX。
+
+```shell
+sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo
+# Will install apisix-2.10.0, only 2.10.0 is included for now
+sudo yum install apisix

Review comment:
       @leslie-tsang agreed, thanks.

##########
File path: docs/zh/latest/how-to-build.md
##########
@@ -39,6 +55,8 @@ Apache APISIX 的运行环境需要依赖 NGINX 和 etcd,所以在安装 Apach
 sudo yum install -y https://github.com/apache/apisix/releases/download/2.10.0/apisix-2.10.0-0.el7.x86_64.rpm
 ```
 
+> 您也可以通过 `https://repos.apiseven.com/packages/centos/7/x86_64/apisix-2.10.0-0.el7.x86_64.rpm` 安装。
+

Review comment:
       @leslie-tsang updated. Thanks.

##########
File path: docs/zh/latest/how-to-build.md
##########
@@ -39,6 +55,8 @@ Apache APISIX 的运行环境需要依赖 NGINX 和 etcd,所以在安装 Apach
 sudo yum install -y https://github.com/apache/apisix/releases/download/2.10.0/apisix-2.10.0-0.el7.x86_64.rpm
 ```
 
+> 您也可以通过 `https://repos.apiseven.com/packages/centos/7/x86_64/apisix-2.10.0-0.el7.x86_64.rpm` 安装。
+

Review comment:
       @leslie-tsang updated. Thanks.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org