Skip to content

Commit 02842e6

Browse files
authored
docs: update rpm installation guide (#12460)
1 parent 53de201 commit 02842e6

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

docs/en/latest/installation-guide.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,20 +99,12 @@ You can find other Helm charts on the [apisix-helm-chart](https://github.com/apa
9999

100100
<TabItem value="rpm">
101101

102-
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).
102+
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).
103103

104104
### Installation via RPM repository
105105

106-
If OpenResty is **not** installed, you can run the command below to install both OpenResty and APISIX repositories:
107-
108-
```shell
109-
sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
110-
```
111-
112-
If OpenResty is installed, the command below will install the APISIX repositories:
113-
114106
```shell
115-
sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo
107+
sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/redhat/apache-apisix.repo
116108
```
117109

118110
Then, to install APISIX, run:
@@ -137,7 +129,7 @@ First, download APISIX RPM offline package to an `apisix` folder:
137129

138130
```shell
139131
sudo mkdir -p apisix
140-
sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
132+
sudo yum install -y https://repos.apiseven.com/packages/redhat/8/x86_64/apisix-3.13.0-0.ubi8.6.x86_64.rpm
141133
sudo yum clean all && yum makecache
142134
sudo yum install -y --downloadonly --downloaddir=./apisix apisix
143135
```

docs/zh/latest/installation-guide.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,8 @@ helm install apisix apisix/apisix --create-namespace --namespace apisix
106106

107107
### 通过 RPM 仓库安装
108108

109-
如果当前系统**没有安装 OpenResty**,请使用以下命令来安装 OpenResty 和 APISIX 仓库:
110-
111-
```shell
112-
sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
113-
```
114-
115-
如果已安装 OpenResty 的官方 RPM 仓库,请使用以下命令安装 APISIX 的 RPM 仓库:
116-
117109
```shell
118-
sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo
110+
sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/redhat/apache-apisix.repo
119111
```
120112

121113
完成上述操作后使用以下命令安装 APISIX:
@@ -140,7 +132,7 @@ sudo yum install apisix-3.8.0
140132

141133
```shell
142134
sudo mkdir -p apisix
143-
sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
135+
sudo yum install -y https://repos.apiseven.com/packages/redhat/8/x86_64/apisix-3.13.0-0.ubi8.6.x86_64.rpm
144136
sudo yum clean all && yum makecache
145137
sudo yum install -y --downloadonly --downloaddir=./apisix apisix
146138
```

0 commit comments

Comments
 (0)