inject d test/inject_fuck.lua -- d 是服务的 handle 拿 simpledb.lua 举例,修改如下 local skynet = require "skynet" require "skynet.manager" -- import skynet.register local db = {} local command = {} local str = "abc" local t = {} function
1.安装依赖环境 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel 2.安装LuaJIT cd /usr/local/ mkdir LuaJIT cd /usr/local/LuaJIT wget http://luajit.org/download/LuaJIT-.tar.gz tar –xvf LuaJIT-.tar.gz cd LuaJIT- make install 3.安装nginx cd /usr/