mac 环境下,按照安装文档手册进行了
安装 OpenResty, etcd 和 编译工具
brew install openresty/brew/openresty luarocks [email protected] etcd curl git
开启 etcd server
brew services start etcd
为 etcd 服务启用 TLS
etcd --cert-file=/path/to/cert --key-file=/path/to/pkey --advertise-client-urls https://127.0.0.1:2379
然后进行
$ mkdir apisix-2.5
$ wget https://downloads.apache.org/apisix/2.5/apache-apisix-2.5-src.tgz
$ tar zxvf apache-apisix-2.5-src.tgz -C apisix-2.5
安装运行时依赖的 Lua 库:
$ make deps
检查 APISIX 的版本号:
$ ./bin/apisix version
启动 APISIX:
$ ./bin/apisix start
执行后就出现
./bin/apisix start
/usr/local/Cellar/openresty/1.19.3.1_1/luajit/bin/luajit ./apisix/cli/apisix.lua start
nginx: [emerg] invalid port in resolver "fe80::96e9:eeff:fe67:db2d" in /Users/lgw/Downloads/apisixe-2.5/conf/nginx.conf:80
看端口9080也没启动起来,curl http://127.0.0.1:9080也不行,也不知道去哪里看日志
mac 环境下,按照安装文档手册进行了
安装 OpenResty, etcd 和 编译工具
brew install openresty/brew/openresty luarocks [email protected] etcd curl git
开启 etcd server
brew services start etcd
为 etcd 服务启用 TLS
etcd --cert-file=/path/to/cert --key-file=/path/to/pkey --advertise-client-urls https://127.0.0.1:2379
然后进行
$ mkdir apisix-2.5
$ wget https://downloads.apache.org/apisix/2.5/apache-apisix-2.5-src.tgz
$ tar zxvf apache-apisix-2.5-src.tgz -C apisix-2.5
安装运行时依赖的 Lua 库:
$ make deps
检查 APISIX 的版本号:
$ ./bin/apisix version
启动 APISIX:
$ ./bin/apisix start
执行后就出现
./bin/apisix start
/usr/local/Cellar/openresty/1.19.3.1_1/luajit/bin/luajit ./apisix/cli/apisix.lua start
nginx: [emerg] invalid port in resolver "fe80::96e9:eeff:fe67:db2d" in /Users/lgw/Downloads/apisixe-2.5/conf/nginx.conf:80
看端口9080也没启动起来,curl http://127.0.0.1:9080也不行,也不知道去哪里看日志