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

相关推荐
我发在否3 天前
OpenResty > 平滑升级:1.25.x → 1.27.x
junit·openresty
huangdengji19 天前
基于openresty反向代理、dns劫持、实现对http请求、响应内容抓包
网络协议·http·openresty
IT小哥哥呀19 天前
Nginx高可用配置实战:负载均衡 + 健康检查 + 动态扩展
运维·nginx·负载均衡·devops·日志分析·openresty·动态扩展
❀͜͡傀儡师1 个月前
OpenResty + Lua + Redis 鉴权案例,适用于 x86 和 ARM 架构的 Docker 环境。
redis·lua·openresty
Narutolxy1 个月前
从混合部署到高可用:在内网环境下搭建 GitLab-Jenkins-OpenResty的完整实战复盘20251014
gitlab·jenkins·openresty
小白银子2 个月前
零基础从头教学Linux(Day 45)
linux·运维·junit·openresty
java搬砖工-苤-初心不变2 个月前
OpenResty 限流方案对比:lua_shared_dict vs Redis
redis·lua·openresty
java搬砖工-苤-初心不变2 个月前
OpenResty 配合 Lua 脚本的使用
开发语言·lua·openresty
观测云2 个月前
Openresty Tracing 最佳实践
openresty
我发在否3 个月前
Lua > OpenResty HelloWorld
lua·openresty