Skip to content

Commit

Permalink
docs: Update RPM installation guide for apisix 2.10.1 (#5384)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjoey authored Nov 1, 2021
1 parent 7df2ea9 commit 759e666
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/en/latest/how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ This installation method is suitable for CentOS 7. For now, the Apache APISIX RP

```shell
sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo
# View apisix package information, only 2.10.0 is included for now
# View the information of the latest apisix package
sudo yum info -y apisix

# Will show the existing apisix packages
sudo yum --showduplicates list apisix

# Will install apisix-2.10.0
# Will install the latest apisix package
sudo yum install apisix
```

Expand All @@ -56,11 +58,9 @@ sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-rep
This installation method is suitable for CentOS 7, please run the following command to install Apache APISIX.

```shell
sudo yum install -y https://github.com/apache/apisix/releases/download/2.10.1/apisix-2.10.1-0.el7.x86_64.rpm
sudo yum install -y https://repos.apiseven.com/packages/centos/7/x86_64/apisix-2.10.1-0.el7.x86_64.rpm
```

> You can also install the RPM package via running `sudo yum install -y https://repos.apiseven.com/packages/centos/7/x86_64/apisix-2.10.0-0.el7.x86_64.rpm`.
### Installation via Docker

Please refer to: [Installing Apache APISIX with Docker](https://hub.docker.com/r/apache/apisix).
Expand Down
10 changes: 5 additions & 5 deletions docs/zh/latest/how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ Apache APISIX 的运行环境需要依赖 NGINX 和 etcd,所以在安装 Apach

```shell
sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo
# View apisix package information, only 2.10.0 is included for now
# View the information of the latest apisix package
sudo yum info -y apisix

# Will show the existing apisix packages
sudo yum --showduplicates list apisix

# Will install apisix-2.10.0
# Will install the latest apisix package
sudo yum install apisix
```

Expand All @@ -56,11 +58,9 @@ sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-rep
这种安装方式适用于 CentOS 7 操作系统,请运行以下命令安装 Apache APISIX。

```shell
sudo yum install -y https://github.com/apache/apisix/releases/download/2.10.1/apisix-2.10.1-0.el7.x86_64.rpm
sudo yum install -y https://repos.apiseven.com/packages/centos/7/x86_64/apisix-2.10.1-0.el7.x86_64.rpm
```

> 您也可以运行 `sudo yum install -y https://repos.apiseven.com/packages/centos/7/x86_64/apisix-2.10.0-0.el7.x86_64.rpm` 命令安装。
### 通过 Docker 安装

详情请参考:[使用 Docker 安装 Apache APISIX](https://hub.docker.com/r/apache/apisix)
Expand Down

0 comments on commit 759e666

Please sign in to comment.