From e3e1b2ffa5cce7c695375490f09ad8d2595518b9 Mon Sep 17 00:00:00 2001 From: Baoyuan Date: Thu, 24 Jul 2025 16:16:27 +0800 Subject: [PATCH] docs: update rpm installation guide --- 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 44fbd3f8f721..3d4cd7467b7a 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 -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 faa775afce8f..255dff987fc3 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 ```