我命由我,不由天!


  • 搜索
prometheus docker golang linux kubernetes

安装openresty的相关依赖包

发表于 2020-11-07 | 0 | 阅读次数 235

luarocks

  • luarocks官网下载包 curl -fSL https://luarocks.github.io/luarocks/releases/luarocks-3.3.1.tar.gz -o luarocks-3.3.1.tar.gz
  • ./config需要配置
./configure \
        --prefix=/usr/local/openresty/luajit \
        --with-lua=/usr/local/openresty/luajit \
        --lua-suffix=jit-2.1.0-beta3 \
        --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1 
  • make
  • make install
  • ln -s /usr/local/openresty/luajit/bin/luarocks /usr/bin/luarocks

lyaml

# 安装libyaml
git clone https://github.com/yaml/libyaml.git
./bootstrap
./configure
make
make install

# 安装lyaml
luarocks --server=http://rocks.moonscript.org install lyaml
  • 本文作者: Dante
  • 本文链接: https://gaodongfei.com/archives/an-zhuang-o-p-e-n-r-e-s-t-y-de-xiang-guan-yi-lai-bao
  • 版权声明: 本博客所有文章除特别声明外,均采用CC BY-NC-SA 3.0 许可协议。转载请注明出处!
mysql配置
gitlab配置http的免密推拉
  • 文章目录
  • 站点概览
Dante

Dante

119 日志
5 分类
5 标签
RSS
Creative Commons
0%
© 2023 Dante
由 Halo 强力驱动
|
主题 - NexT.Pisces v5.1.4
沪ICP备2020033702号