SylviaBABY commented on code in PR #7002: URL: https://github.com/apache/apisix/pull/7002#discussion_r867310444
########## docs/zh/latest/how-to-build.md: ########## @@ -21,345 +26,220 @@ title: 如何构建 Apache APISIX # --> -## 步骤 1 安装 Apache APISIX +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; -你可以通过 RPM 仓库、Docker、Helm Chart、源码包、源码包(LTS 版本)等多种方式来安装 Apache APISIX。请在以下选项中选择其中一种执行。 +本文将介绍如何在你的环境中安装并运行 APISIX。 -### 通过 RPM 仓库安装(CentOS) +关于如何快速运行 Apache APISIX,请参考 [入门指南](./getting-started.md)。 -> 这种安装方式适用于 CentOS 7 和 CentOS 8 操作系统。 +## 安装 etcd -如果尚未安装 OpenResty 的官方 RPM 仓库,请使用以下命令自动安装 OpenResty 和 Apache APISIX 的 RPM 仓库。 +APISIX 使用 [etcd](https://github.com/etcd-io/etcd) 作为配置中心,来保存和同步配置。在安装 APISIX 之前,你需要在你的主机上安装 etcd。 -```shell -sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm -``` +如果你在安装 APISIX 时选择 Docker 或 Hlem 安装,etcd 将会自动安装。如果你选择其他方法或者需要手动安装 APISIX,请参考以下步骤安装 etcd: Review Comment: ```suggestion 如果你在安装 APISIX 时选择了 Docker 或 Helm 安装,则 etcd 将会自动安装;如果你选择其他方法或者需要手动安装 APISIX,请参考以下步骤安装 etcd: ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
