Skip to content

Commit a30c170

Browse files
committed
doc: v1.1 build guide
1 parent 3c57401 commit a30c170

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

doc/how-to-build-cn.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ Apache APISIX 的运行环境需要 Nginx 和 etcd,
3232
你需要先下载 Apache Release 源码包:
3333

3434
```shell
35-
wget http://www.apache.org/dist/incubator/apisix/1.0/apache-apisix-1.0-incubating-src.tar.gz
36-
tar zxvf apache-apisix-1.0-incubating-src.tar.gz
35+
wget http://www.apache.org/dist/incubator/apisix/1.1/apache-apisix-1.1-incubating-src.tar.gz
36+
tar zxvf apache-apisix-1.1-incubating-src.tar.gz
3737
```
3838

3939
安装运行时依赖的 Lua 库:
4040
```
41-
cd apache-apisix-1.0-incubating
41+
cd apache-apisix-1.1-incubating
4242
make deps
4343
```
4444

4545
### 通过 RPM 包安装(CentOS 7)
4646

4747
```shell
48-
sudo yum install -y https://github.com/apache/incubator-apisix/releases/download/1.0/apisix-1.0-0.el7.noarch.rpm
48+
sudo yum install -y https://github.com/apache/incubator-apisix/releases/download/1.1/apisix-1.1-0.el7.noarch.rpm
4949
```
5050

5151
### 通过 Luarocks 安装 (不支持 macOS)
@@ -61,11 +61,11 @@ sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/apache/incubator-apis
6161
> 通过 Luarocks 安装指定的版本:
6262
6363
```shell
64-
# 安装 apisix 的 1.0 版本
65-
sudo luarocks install --lua-dir=/path/openresty/luajit apisix 1.0
64+
# 安装 apisix 的 1.1 版本
65+
sudo luarocks install --lua-dir=/path/openresty/luajit apisix 1.1
6666

6767
# 老版本 luarocks 可能不支持 `lua-dir` 参数,可以删除该选项
68-
sudo luarocks install apisix 1.0
68+
sudo luarocks install apisix 1.1
6969
```
7070

7171
## 3. 管理(启动、关闭等)APISIX 服务

doc/how-to-build.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ You can install Apache APISIX in a variety of ways, including source code packag
3333
You need to download the Apache source release first:
3434

3535
```shell
36-
wget http://www.apache.org/dist/incubator/apisix/1.0/apache-apisix-1.0-incubating-src.tar.gz
37-
tar zxvf apache-apisix-1.0-incubating-src.tar.gz
36+
wget http://www.apache.org/dist/incubator/apisix/1.1/apache-apisix-1.1-incubating-src.tar.gz
37+
tar zxvf apache-apisix-1.1-incubating-src.tar.gz
3838
```
3939

4040
Install the Lua libraries that the runtime depends on:
4141
```shell
42-
cd apache-apisix-1.0-incubating
42+
cd apache-apisix-1.1-incubating
4343
make deps
4444
```
4545

4646
### Installation via RPM package (CentOS 7)
4747

4848
```shell
49-
sudo yum install -y https://github.com/apache/incubator-apisix/releases/download/1.0/apisix-1.0-0.el7.noarch.rpm
49+
sudo yum install -y https://github.com/apache/incubator-apisix/releases/download/1.1/apisix-1.1-0.el7.noarch.rpm
5050
```
5151

5252
### Installation via Luarocks (macOS not supported)
@@ -62,11 +62,11 @@ sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/apache/incubator-apis
6262
> Install the specified version via Luarocks:
6363
6464
```shell
65-
# Install version 1.0
66-
sudo luarocks install --lua-dir=/path/openresty/luajit apisix 1.0
65+
# Install version 1.1
66+
sudo luarocks install --lua-dir=/path/openresty/luajit apisix 1.1
6767

6868
# old luarocks not support the `lua-dir` parameter, you can remove this option
69-
sudo luarocks install apisix 1.0
69+
sudo luarocks install apisix 1.1
7070
```
7171

7272
## Manage (start/stop) APISIX Server

0 commit comments

Comments
 (0)