-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: sync install-dependencies.md (#4799)
Signed-off-by: spacewander <[email protected]>
- Loading branch information
1 parent
cd3a80c
commit cd34279
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|