码迷,mamicode.com
首页 >  
搜索关键字:tengine 编译动态模块 lua    ( 4897个结果
ffi动态链接库的使用
最进项目中使用到了socketproc通信,但是这样有一点不是很好,必须单独启动一个进程来执行代码中的shell命令,后面想在nginx+lua的环境下使用openresty中的lua-resty-shell,但是在后续阅读源码说明的时候发现依赖关系过于复杂,会导致引入的openresty模块越来越 ...
分类:其他好文   时间:2020-06-23 18:55:07    阅读次数:110
OpenResty与nginx结合执行lua脚本
#2.2 OpenResty #2.2.1 OpenResty介绍 OpenResty(又称:ngx_openresty) 是一个基于 NGINX 的可伸缩的 Web 平台,由中国人章亦春发起,提供了很多高质量的第三方模块。 OpenResty 是一个强大的 Web 应用服务器,Web 开发人员可以 ...
分类:其他好文   时间:2020-06-23 15:40:13    阅读次数:47
Windows下Visual Studio 2013编译Lua 5.1.4版本
1、创建一个Visual C++的Empty Project,如果需要支持Windows XP将Platform Toolset设置为Visual Studio 2013 - Windows XP (v120_xp)。 2、Configuration Type设置为Dynamic Library ( ...
分类:Windows程序   时间:2020-06-23 13:25:52    阅读次数:68
Tengine编译安装
实战环境LNMP项目实战:L:Linux(centos7.6)http://mirrors.cqu.edu.cn/CentOS/7.6.1810/isos/x86_64/N:Tengine(1.12.2)http://tengine.taobao.org/download/tengine-2.1.2.tar.gz主机信息:部署规划:172.24.77.242(sr2.dj.com):运行Tengi
分类:其他好文   时间:2020-06-22 19:33:54    阅读次数:98
Lua 环境安装
第一步、在terminal中输入 brew install lua 来安装lua的运行环境 第二步、在VScode中安装如下插件 第三步、新建 test.lua 程序 print("Hello World") 第四步、在terminal中通过 lua test.lua 如果可以运行这个程序,并且返回 ...
分类:其他好文   时间:2020-06-22 18:50:27    阅读次数:53
10.RobotFramework: 获取当前时间戳
robot中先导入DateTime库 对时间操作的datetime库常用关键字: 1,获取当前时间戳 #获取当前时间 ${time} get current date #转化为原始时间戳 ${time_stamp} convert date ${time} epoch #转化为毫秒级时间戳 ${ti ...
分类:其他好文   时间:2020-06-22 12:42:11    阅读次数:260
tengine-2.3.2负载均衡和haproxy七层代理
[root@ha1soft]#wgethttp://tengine.taobao.org/download/tengine-2.3.2.tar.gz```添加www用户[root@ha1soft]#useraddwww-s/sbin/nologin-u1000[root@ha1soft]#ll-rw-r--r--1rootroot2835884Sep52019tengine-2.3.2.tar.g
分类:其他好文   时间:2020-06-22 11:07:18    阅读次数:77
tengine安装,haproxy访问不同路径对接不同集群
tengine安装、tengine实现域名访问、Haproxy访问不同路径对接不同集群
分类:其他好文   时间:2020-06-22 09:24:12    阅读次数:67
lua中实现对一个表的监控
监控内容:访问表中的元素和更新表中的元素 代码: 1 local index = {} 2 3 --注意:元表也是表,其中的元素也需要用合理分隔符分开 4 local mt = 5 { 6 __index = function(t,k) 7 print("访问元素:" .. tostring(k)) ...
分类:其他好文   时间:2020-06-21 23:12:07    阅读次数:48
9.开发newapp的首页index
1.轮播图效果 1.在后端开发获取banner的api: 1.在后端项目NewCenter/apps/user_operations/views.py中开发获取片区banner图的视图: from django.shortcuts import render,HttpResponse from re ...
分类:移动开发   时间:2020-06-21 09:56:16    阅读次数:102
4897条   上一页 1 ... 11 12 13 14 15 ... 490 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!