This is an automated email from the ASF dual-hosted git repository.
spacewander 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 cd34279 docs: sync install-dependencies.md (#4799)
cd34279 is described below
commit cd342792d0a917fb2e6e528e1ea1d78edead80d5
Author: 罗泽轩 <[email protected]>
AuthorDate: Thu Aug 12 08:53:19 2021 +0800
docs: sync install-dependencies.md (#4799)
Signed-off-by: spacewander <[email protected]>
---
docs/zh/latest/install-dependencies.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/zh/latest/install-dependencies.md
b/docs/zh/latest/install-dependencies.md
index f553556..070b33e 100644
--- a/docs/zh/latest/install-dependencies.md
+++ b/docs/zh/latest/install-dependencies.md
@@ -58,7 +58,7 @@ sudo yum install yum-utils
sudo yum-config-manager --add-repo
https://openresty.org/package/centos/openresty.repo
# 安装 OpenResty 和 编译工具
-sudo yum install -y openresty curl git gcc openresty-openssl111-devel unzip
+sudo yum install -y openresty curl git gcc openresty-openssl111-devel unzip
pcre pcre-devel
# 安装 LuaRocks
curl
https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh
-sL | bash -
@@ -81,7 +81,7 @@ tar -xvf etcd-v3.4.13-linux-amd64.tar.gz && \
sudo cp -a etcd etcdctl /usr/bin/
# 安装 OpenResty 和 编译工具
-sudo yum install -y openresty curl git gcc openresty-openssl111-devel
+sudo yum install -y openresty curl git gcc openresty-openssl111-devel pcre
pcre-devel
# 安装 LuaRocks
curl
https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh
-sL | bash -
@@ -107,7 +107,7 @@ tar -xvf etcd-v3.4.13-linux-amd64.tar.gz && \
sudo cp -a etcd etcdctl /usr/bin/
# 安装 OpenResty 和 编译工具
-sudo apt-get install -y git openresty curl openresty-openssl111-dev make gcc
+sudo apt-get install -y git openresty curl openresty-openssl111-dev make gcc
libpcre3 libpcre3-dev
# 安装 LuaRocks
curl
https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh
-sL | bash -
@@ -138,7 +138,7 @@ tar -xvf etcd-v3.4.13-linux-amd64.tar.gz && \
sudo cp -a etcd etcdctl /usr/bin/
# 安装 OpenResty 和 编译工具
-sudo apt-get install -y git openresty curl make openresty-openssl111-dev
+sudo apt-get install -y git openresty curl make openresty-openssl111-dev
libpcre3 libpcre3-dev
# 安装 LuaRocks
curl
https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh
-sL | bash -
@@ -151,7 +151,7 @@ nohup etcd &
```shell
# 安装 OpenResty, etcd 和 编译工具
-brew install openresty/brew/openresty luarocks [email protected] etcd curl git
+brew install openresty/brew/openresty luarocks [email protected] etcd curl git pcre
# 开启 etcd server
brew services start etcd