先查下resty命令有没有正常安装
whic resty
我的是
/usr/local/bin/resty
resty -e 是执行Lua的行内命令
resty -e "return print(_VERSION)"
输出
Lua 5.1
先查下resty命令有没有正常安装
whic resty
我的是
/usr/local/bin/resty
resty -e 是执行Lua的行内命令
resty -e "return print(_VERSION)"
输出
Lua 5.1