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博客

相关推荐
RobinDevNotes16 天前
从 Electron 到 GPUI,9 个跨平台桌面方案该怎么选
前端·javascript·rust·electron·openresty·前端开发工具
RobinDevNotes23 天前
Memvid 把 Agent 长期记忆塞进一个文件
人工智能·rust·openresty
IT摆渡者2 个月前
1panel 针对HTTP自动续签SSL网站证书
网络协议·ssl·openresty
難釋懷3 个月前
Nginx-Openresty
nginx·junit·openresty
小努蛋3 个月前
linux编译openresty异常问题,lua_cjson.c:706:5: 错误: ‘for‘ 循环初始化声明只在 C99 或 C++ 模式下允许
开发语言·lua·openresty
翰林小院4 个月前
【云原生监控】 Grafana/Prometheus/Promtail/Loki/Tempo
openresty
白驹过隙不负青春4 个月前
OpenResty 1.29.2.5 部署 + Nginx平滑升级运维文档
nginx·openresty
Cry丶4 个月前
一次 FTP 上传引发 504 Gateway Timeout 的排查复盘
java·nginx·ftp·openresty·被动模式·504 gateway·生产问题排查
吴懿不在4 个月前
apisix~OpenResty各阶段的介绍
openresty
章老师说5 个月前
NGINX官方谈Lua风险:这其实是两条网关技术路线之争
运维·nginx·负载均衡·lua·openresty