You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by le...@apache.org on 2022/04/19 10:21:42 UTC

[apisix] branch master updated: docs(how-to-build): update centos repo support (#6871)

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

leslie 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 761c34a29 docs(how-to-build): update centos repo support (#6871)
761c34a29 is described below

commit 761c34a292d187fbc49ddb06f1be0d7790df3815
Author: leslie <59...@users.noreply.github.com>
AuthorDate: Tue Apr 19 18:21:32 2022 +0800

    docs(how-to-build): update centos repo support (#6871)
---
 docs/en/latest/how-to-build.md | 10 +++++-----
 docs/zh/latest/how-to-build.md |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/docs/en/latest/how-to-build.md b/docs/en/latest/how-to-build.md
index 746153a36..8c7497495 100644
--- a/docs/en/latest/how-to-build.md
+++ b/docs/en/latest/how-to-build.md
@@ -25,11 +25,11 @@ This guide walks you through how you can build and get Apache APISIX running on
 
 ## Step 1: Install Apache APISIX
 
-Apache APISIX can be installed via the [RPM package](#installation-via-rpm-repository-centos-7), [Docker image](#installation-via-docker), [Helm Chart](#installation-via-helm-chart) or the [source release package](#installation-via-source-release-package). You can install via any one of these options.
+Apache APISIX can be installed via the [RPM package](#installation-via-rpm-repository-centos), [Docker image](#installation-via-docker), [Helm Chart](#installation-via-helm-chart) or the [source release package](#installation-via-source-release-package). You can install via any one of these options.
 
-### Installation via RPM Repository (CentOS 7)
+### Installation via RPM Repository (CentOS)
 
-This installation method is suitable for CentOS 7.
+> This installation method is suitable for CentOS 7 and CentOS 8.
 
 If the official OpenResty repository is **not installed yet**, the following command will help you automatically install both OpenResty and Apache APISIX repositories.
 
@@ -59,7 +59,7 @@ sudo yum install apisix
 sudo yum install apisix-2.10.3-0.el7
 ```
 
-### Installation via RPM Offline Package (CentOS 7)
+### Installation via RPM Offline Package (CentOS)
 
 First, download Apache APISIX offline RPM package to `./apisix` folder.
 
@@ -361,7 +361,7 @@ If you need these features, you can build APISIX OpenResty. You can refer to the
 
 ## Step 7: Add Systemd unit file for Apache APISIX
 
-If you are using CentOS 7 and you installed [Apache APISIX via the RPM package](#installation-via-rpm-repository-centos-7), the configuration file will already be in place and you can run the following command directly.
+If you are using CentOS and installed [Apache APISIX via the RPM package](#installation-via-rpm-repository-centos), the configuration file will already be in place and you can run the following command directly.
 
 ```shell
 systemctl start apisix
diff --git a/docs/zh/latest/how-to-build.md b/docs/zh/latest/how-to-build.md
index 3818c6adb..d08fb6885 100644
--- a/docs/zh/latest/how-to-build.md
+++ b/docs/zh/latest/how-to-build.md
@@ -25,9 +25,9 @@ title: 如何构建 Apache APISIX
 
 你可以通过 RPM 仓库、Docker、Helm Chart、源码包、源码包(LTS 版本)等多种方式来安装 Apache APISIX。请在以下选项中选择其中一种执行。
 
-### 通过 RPM 仓库安装(CentOS 7)
+### 通过 RPM 仓库安装(CentOS)
 
-这种安装方式适用于 CentOS 7 操作系统。
+> 这种安装方式适用于 CentOS 7 和 CentOS 8 操作系统。
 
 如果尚未安装 OpenResty 的官方 RPM 仓库,请使用以下命令自动安装 OpenResty 和 Apache APISIX 的 RPM 仓库。
 
@@ -57,7 +57,7 @@ sudo yum install apisix
 sudo yum install apisix-2.10.3-0.el7
 ```
 
-### 通过 RPM 包离线安装(CentOS 7)
+### 通过 RPM 包离线安装(CentOS)
 
 下载 APISIX 离线 RPM 包到 `./apisix` 文件夹
 
@@ -355,7 +355,7 @@ Content-Type: text/html
 
 ## 步骤 7 为 Apache APISIX 添加 systemd 配置文件
 
-如果您使用的操作系统是 CentOS 7,且在步骤 2 中通过 RPM 包安装 Apache APISIX,配置文件已经自动安装到位,你可以直接运行以下命令:
+如果使用的操作系统为 CentOS,且在步骤 2 中通过 RPM 包安装 Apache APISIX,配置文件已经自动安装到位,你可以直接运行以下命令:
 
 ```shell
 systemctl start apisix