• luajit+nginx+上传模块+lua模块编译安装


    git clone https://github.com/fdintino/nginx-upload-module.git
    
    git clone https://github.com/openresty/lua-nginx-module.git
    
    git clone https://github.com/simplresty/ngx_devel_kit.git
    
    查看加载哪些模块:
    ~/local/nginx/sbin/nginx -V
    
    安装luajit:
    make PREFIX=/home/work/local/luajit
    make install PREFIX=/home/work/local/luajit
    
    设置luajit系统变量:
    export LUAJIT_LIB=/home/work/local/luajit/lib
    export LUAJIT_INC=/home/work/local/luajit/include/luajit-2.1
    
    配置nginx:
    ./configure --prefix=/home/work/local/nginx_upload --with-ipv6 --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_perl_module --with-mail --with-mail_ssl_module  --add-module=../lua-nginx-module --add-module=../nginx-upload-module --add-module=../ngx_devel_kit --with-ld-opt=-Wl,-rpath,/home/work/local/luajit/lib
    
    
    make -j2
    make install
    

      

  • 相关阅读:
    小批量随机梯度下降
    查询文档
    自动求梯度
    数据操作
    Hadoop 入门
    Matplotlib 二维图像绘制方法
    Pandas 数据处理基础
    NumPy 数值计算基础课程
    关于 Shell 脚本
    语法分析
  • 原文地址:https://www.cnblogs.com/chengsheng/p/10215799.html
Copyright © 2020-2023  润新知