利用 openresty 的 drizzle-nginx-module模块 读取数据 传递到 php后端 利用到 openresty 的并发,无阻塞,mysql连接池,memcache|redis连接池特性 php 原生读取mysql数据 或者 存储在memcache ...
缘由 随着功能需求的深入, openresty领域的包已经不够用了, 需要lua领域本身累积的库, 也就是luarocks. 本文讲解了windows 桌面和ubuntu server两套系统的方法 Ubuntu Server 比较简单, 无脑敲命令即可 安装luasql postgres mysql同理. 安装之后 luarocks install luasql mysql MYSQL INCD ...
2017-06-26 21:19 0 2887 推荐指数:
利用 openresty 的 drizzle-nginx-module模块 读取数据 传递到 php后端 利用到 openresty 的并发,无阻塞,mysql连接池,memcache|redis连接池特性 php 原生读取mysql数据 或者 存储在memcache ...
安装LuaRocks 概述 LuaRocks是一个部署和管理Lua模块的系统。 LuaRocks允许通过"rocks"安装独立的Lua模块,并且包含附加的版本信息。 安装 从官网 https://github.com/luarocks/luarocks/wiki ...
1. linux 安装 wget https://luarocks.org/releases/luarocks-2.4.1.tar.gz tar zxpf luarocks-2.4.1.tar.gz cd luarocks ...
本文基于 https://github.com/chiuan/TTUIFramework https://github.com/jarjin/LuaFramework_UGUI 进行的二次开发, ...
https://blog.csdn.net/qq_26222859/article/details/70331833 var json1 = [ {"guoshui":[ 300000, 50 ...
Window下,luarocks提供了一体式的EXE文件,节省了很多麻烦,同时也带来新的问题,配置文件不知道在哪儿 搜索资料后,才知道这种会固定寻找配置文件路径,在 C:\Users\XXXX\AppData\Roaming\luarocks 目录下 建立诸如config-5.3.lua ...
1.luarocks安装(lua的模块管理工具) 1)apt安装:sudo apt-get install luarocks 2)自定义安装 a. 下载http://luarocks.org/releases/luarocks-3.2.1.tar.gz b. tar -xzf ...
转载请注明出处: http://www.cnblogs.com/darkknightzh/p/6424398.html 参考网址: https://github.com/torch/nn/iss ...