【Lua】安裝 luarocks
https://github.com/luarocks/luarocks/wiki/Download
https://github.com/luarocks/luarocks/wiki/Installation-instructions-for-Unix
apt-get update
apt install build-essential libreadline-dev unzip wget zlib1g-dev -y
#安裝 luarocks
wget https://luarocks.org/releases/luarocks-3.8.0.tar.gz && tar zxpf luarocks-3.8.0.tar.gz && cd luarocks-3.8.0
./configure
make && make install
#安裝 lua-resty-http
luarocks install lua-resty-http
#安裝 lua-ffi-zlib
luarocks install lua-ffi-zlib