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

相关推荐
装不满的克莱因瓶5 天前
基于 OpenResty 扩展开发实现动态服务注册与发现能力
java·开发语言·架构·openresty
wu8587734576 天前
OpenResty 源站被扫描的排查与防御实战:Cloudflare + DOCKER-USER + Fail2Ban 最全方案解析
docker·容器·openresty
章老师说9 天前
B站网关事故背后:OpenResty 与 Lua 的稳定性代价
nginx·云原生·负载均衡·lua·openresty
衣舞晨风1 个月前
运行时行为盲区:API7 AI 网关CPU打满故障的AI辅助事后复盘
lua·openresty·apisix·coroutine·cpu-saturation·socket-buffer
rannn_1112 个月前
【Redis|高级篇2】多级缓存|JVM进程缓存、Lua语法、多级缓存实现(OpenResty)、缓存同步(Canal)
java·redis·分布式·后端·缓存·lua·openresty
夜影风2 个月前
Tengine、OpenResty与Nginx三大Web服务中间件对比分析
nginx·openresty·技术架构
難釋懷2 个月前
OpenResty实现Redis查询
数据库·redis·openresty
難釋懷2 个月前
OpenResty封装Redis工具
redis·junit·openresty
難釋懷2 个月前
OpenResty实现Tomcat查询
tomcat·firefox·openresty
難釋懷2 个月前
OpenResty基于ID负载均衡
junit·负载均衡·openresty