This is an automated email from the ASF dual-hosted git repository. wenming 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 02842e647 docs: update rpm installation guide (#12460) 02842e647 is described below commit 02842e6478321656744166f418ebb447119b3b8f Author: Baoyuan <baoyuan....@gmail.com> AuthorDate: Mon Jul 28 10:16:18 2025 +0800 docs: update rpm installation guide (#12460) --- docs/en/latest/installation-guide.md | 14 +++----------- docs/zh/latest/installation-guide.md | 12 ++---------- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/docs/en/latest/installation-guide.md b/docs/en/latest/installation-guide.md index 44fbd3f8f..3d4cd7467 100644 --- a/docs/en/latest/installation-guide.md +++ b/docs/en/latest/installation-guide.md @@ -99,20 +99,12 @@ You can find other Helm charts on the [apisix-helm-chart](https://github.com/apa <TabItem value="rpm"> -This installation method is suitable for CentOS 7 and Centos 8. If you choose this method to install APISIX, you need to install etcd first. For the specific installation method, please refer to [Installing etcd](#installing-etcd). +This installation method is suitable for Redhat 8 and compatible systems. If you choose this method to install APISIX, you need to install etcd first. For the specific installation method, please refer to [Installing etcd](#installing-etcd). ### Installation via RPM repository -If OpenResty is **not** installed, you can run the command below to install both OpenResty and APISIX repositories: - -```shell -sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm -``` - -If OpenResty is installed, the command below will install the APISIX repositories: - ```shell -sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo +sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/redhat/apache-apisix.repo ``` Then, to install APISIX, run: @@ -137,7 +129,7 @@ First, download APISIX RPM offline package to an `apisix` folder: ```shell sudo mkdir -p apisix -sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm +sudo yum install -y https://repos.apiseven.com/packages/redhat/8/x86_64/apisix-3.13.0-0.ubi8.6.x86_64.rpm sudo yum clean all && yum makecache sudo yum install -y --downloadonly --downloaddir=./apisix apisix ``` diff --git a/docs/zh/latest/installation-guide.md b/docs/zh/latest/installation-guide.md index faa775afc..255dff987 100644 --- a/docs/zh/latest/installation-guide.md +++ b/docs/zh/latest/installation-guide.md @@ -106,16 +106,8 @@ helm install apisix apisix/apisix --create-namespace --namespace apisix ### 通过 RPM 仓库安装 -如果当前系统**没有安装 OpenResty**,请使用以下命令来安装 OpenResty 和 APISIX 仓库: - -```shell -sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm -``` - -如果已安装 OpenResty 的官方 RPM 仓库,请使用以下命令安装 APISIX 的 RPM 仓库: - ```shell -sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo +sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/redhat/apache-apisix.repo ``` 完成上述操作后使用以下命令安装 APISIX: @@ -140,7 +132,7 @@ sudo yum install apisix-3.8.0 ```shell sudo mkdir -p apisix -sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm +sudo yum install -y https://repos.apiseven.com/packages/redhat/8/x86_64/apisix-3.13.0-0.ubi8.6.x86_64.rpm sudo yum clean all && yum makecache sudo yum install -y --downloadonly --downloaddir=./apisix apisix ```