把openresty命令添加到/usr/sbin
- ln -s /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx
- ln -s /usr/local/openresty/bin/resty /usr/sbin/resty
安装lor
安装libuuid.so
- centos用户可通过命令yum install libuuid-devel安装
安装完成后测试
- 令可以正常输出
nginx -v
resty -v
lord -v
安装orange
踩坑
- orange安装需要有对应lua和luarocks. 且安装后有可能出现找不到luarocks工具,需要将其copy到orange需要的目录里。
orange 安装
原文:https://www.cnblogs.com/frankltf/p/12625550.html