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

相关推荐
Julian.zhou17 天前
MCP服务:五分钟实现微服务治理革命,无缝整合Nacos/Zookeeper/OpenResty
人工智能·微服务·zookeeper·交互·openresty
PatrickYao042220 天前
雨云云应用测评!内测持续进行中!
mysql·部署·网站搭建·openresty·rca
ZZDICT24 天前
OpenResty(Lua)+Redis实现动态封禁IP
redis·nginx·lua·openresty
衣舞晨风1 个月前
Apache APISIX 架构浅析
架构·apache·openresty·apisix
衣舞晨风1 个月前
NGINX 执行阶段与OpenResty的 *_by_lua指令
nginx·lua·openresty·执行阶段
dgiij2 个月前
对免认证服务提供apikey验证
nginx·http·lua·llama·openresty
蕴微轩2 个月前
用openresty和lua实现壁纸投票功能
lua·openresty
xyc12112 个月前
OpenResty
openresty
蕴微轩2 个月前
通过openresty和lua实现随机壁纸
开发语言·lua·openresty
fly-iot2 个月前
【openresty服务器】:源码编译openresty支持ssl,增加service系统服务,开机启动,自己本地签名证书,配置https访问
服务器·ssl·openresty