ICode9

精准搜索请尝试: 精确搜索
  • Win下Lua环境搭建及LuaRocks安装2022-09-02 00:02:19

    0.背景 Linux比较简单,可以看我这篇文章(还没写),这里记录下win的。 本次需要准备下面三个软件: 1.Lua安装 进入Lua for Windows的下载页面,下载Win下面的Lua安装包。 下载后会得到一个exe执行文件,直接按提示进行安装就好了,这个文档和示例没必要下载。 安装完成后,在安装目录下会生

  • luarocks 私服搭建&简单使用2022-05-04 12:01:27

    luarocks 私服实际上并不算难,核心还是文件,以及元数据,luarocks 提供了相关的命令可以支持 参考处理 需要先基于pack 构建文件,后然使用luarocks-admin 提供的命令生成元数据,对于静态内容的提供我们基于nginx 就可以了 参考构建 编写rocksspec package = "first" versio

  • luarocks cqueues2021-07-16 22:03:25

    记录使用luarocks cqueues时碰到的一些问题: 1.    2. cqueues socket 实现 I/O多路复用 function myfunc() local cqueues = require("cqueues").new() local server = require("cqueues.socket").listen({ host = "0.0.0.0", port = "

  • lua第三方库2021-01-22 10:57:18

    文章目录 luarocks安装使用例子 luafilesystempenlightldoc使用规则 luarocks luarocks是一个用lua写的包管理工具,类似Mac的终端工具brew,Ubuntu的apt。可以通过luarocks config来查看当前的配置,可以通过Options中的选项修改配置,使用就看Commands。 安装 $ wget https:/

  • 2020-11-22 使用luacheck检查Lua代码2020-11-22 20:59:20

    电脑是Mac系统,所以直接参照官网文档 https://github.com/luarocks/luarocks/wiki/Installation-instructions-for-Unix    https://github.com/mpeterv/luacheck#installation 1. 安装 wget https://luarocks.org/releases/luarocks-3.3.1.tar.gz tar zxpf luarocks-3.3.1.t

  • luarocks 使用上的一些小技巧2020-03-28 10:54:54

    luarocks 使用上的一些小技巧     ncisoft · 2016-06-21 03:34:20 +08:00 · 5406 次点击 这是一个创建于 1376 天前的主题,其中的信息可能已经有所发展或是发生改变。 如果想保持系统的干净,不想安装到系统目录,可以这样用 luarocks install luasocket --local 然后用 luarocks p

  • luarocks和hdf5安装2019-11-05 14:00:08

    1.luarocks安装 1)apt安装:sudo apt-get install luarocks 2)自定义安装 a. 下载http://luarocks.org/releases/luarocks-3.2.1.tar.gz b. tar -xzf luarocks-3.2.1.tar.gz c. cd luarocks-3.2.1 d. ./configure --prefix=/home/yinwenbin/local/luarocks/ --rocks-tree=/home/yinwen

  • openresty下安装luarocks2019-08-23 16:04:28

    wget https://luarocks.org/releases/luarocks-2.4.1.tar.gz tar -xzvf luarocks-2.4.1.tar.gz cd luarocks-2.4.1/ ./configure --prefix=/usr/local/openresty/luajit \ --with-lua=/usr/local/openresty/luajit/ \ --lua-suffix=jit \ --with-lua-include=/usr

  • Lua在Linux上找不到LuaRocks安装的模块2019-05-28 18:48:22

    我在Linux Mint上安装了luarocks包,然后安装了几个岩石如sudo luarocks安装望远镜,但是当通过lua script.lua运行脚本时,要求找不到该模块. Meta:做这个Q& A风格,因为虽然存在回答这个问题的问题,但似乎没有一个通常标题或容易找到,我希望我可以帮助这个人.解决方法:在这个特定的情

  • lua使用笔记2019-04-08 18:51:15

    背景   公司的网关用的是openresty(基于nginx+lua),所以接触了下lua,lua在我看来也算属于脚本语言,轻量级,运行时判断类型 安装lua 打开官方文档https://www.lua.org/download.html,照着装,由于我是mac,最后一条指令采用make macosx test,一般情况这里应该有个make install啊,这里咋没

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有