标签:
参考:http://my.oschina.net/eduosi/blog/169606
yum
install
readline
yum
install
readline-devel
wget http://www.lua.org/ftp/lua-5.3.0.tar.gz
tar xf lua-5.3.0.tar.gz
cd lua-5.3.0/
make
linux
make
install
make
make
install
test:
location /lua_content {
# MIME type determined by default_type:
default_type ‘text/plain‘;
content_by_lua "ngx.say(‘Hello,world!‘)";
}
base64
wget http://luaforge.net/frs/download.php/2664/luasocket-2.0.2.tar.gz
标签:
原文地址:http://www.cnblogs.com/shengshuai/p/4244851.html