mac 源代码安装openresty

  1. clone源代码

git clone https://github.com/openresty/openresty.git

  1. 安装依赖包

brew install hg unix2dos

brew install pcre openssl

  1. 编译

make

  1. 安装openresty

cd openresty-1.27.1.1

./configure --prefix=/opt/openresty --with-http_ssl_module --with-luajit

make

sudo make install

5运行

OpenResty安装及使用-CSDN博客

相关推荐
小努蛋16 小时前
linux编译openresty异常问题,lua_cjson.c:706:5: 错误: ‘for‘ 循环初始化声明只在 C99 或 C++ 模式下允许
开发语言·lua·openresty
翰林小院1 个月前
【云原生监控】 Grafana/Prometheus/Promtail/Loki/Tempo
openresty
白驹过隙不负青春1 个月前
OpenResty 1.29.2.5 部署 + Nginx平滑升级运维文档
nginx·openresty
Cry丶1 个月前
一次 FTP 上传引发 504 Gateway Timeout 的排查复盘
java·nginx·ftp·openresty·被动模式·504 gateway·生产问题排查
吴懿不在1 个月前
apisix~OpenResty各阶段的介绍
openresty
章老师说1 个月前
NGINX官方谈Lua风险:这其实是两条网关技术路线之争
运维·nginx·负载均衡·lua·openresty
装不满的克莱因瓶2 个月前
基于 OpenResty 扩展开发实现动态服务注册与发现能力
java·开发语言·架构·openresty
wu8587734572 个月前
OpenResty 源站被扫描的排查与防御实战:Cloudflare + DOCKER-USER + Fail2Ban 最全方案解析
docker·容器·openresty
章老师说2 个月前
B站网关事故背后:OpenResty 与 Lua 的稳定性代价
nginx·云原生·负载均衡·lua·openresty
衣舞晨风3 个月前
运行时行为盲区:API7 AI 网关CPU打满故障的AI辅助事后复盘
lua·openresty·apisix·coroutine·cpu-saturation·socket-buffer