lua之安装openresty
来源:互联网 发布:上海知行生物科技传销 编辑:程序博客网 时间:2024/05/16 08:38
Ubuntu安装lua
apt-get install -y lua5.2
去官网下载openresty
http://openresty.org/cn/download.html 下载tar -xzvf openresty-1.11.2.2.tar.gz -C /usr/local/cd /usr/local/openresty-1.11.2.2安装./configure --prefix=/opt/openresty \ --with-luajit \ --without-http_redis2_module \ --with-http_iconv_module \ --with-http_postgres_module(postgresql去掉我没装)之后make您可以使用下面的命令来编译:make如果您的电脑支持多核 make 工作的特性, 您可以这样编译:make -j2假设您是的机器是双核。make install
写了个启停脚本,弱智到爆。
#!/usr/bin/env bashbin1=/opt/openresty/bin/openrestypath1=/opt/openresty/nginx/conf/nginx.confif [ $1 == start ];then /opt/openresty/bin/openresty -c /opt/openresty/nginx/conf/nginx.confelif [ $1 == reload ];then /opt/openresty/bin/openresty -s reloadelif [ $1 == stop ];then /opt/openresty/bin/openresty -s quitfi
配置一些openresty
0 0
- lua之安装openresty
- 安装openresty+redis+lua
- 安装openresty和lua记录
- openresty 安装nginx和lua
- 第一章安装OpenResty(Nginx+Lua)开发环境
- 第一章安装OpenResty(Nginx+Lua)开发环境
- 1安装OpenResty(Nginx+Lua)开发环境
- OpenResty 之 Nginx lua开发(https)
- OpenResty 之 nginx lua gzip数据
- 安装Nginx+Lua+OpenResty开发环境配置全过程实例
- 安装Nginx+Lua+OpenResty开发环境配置全过程实例
- 学习ngx_openresty之openresty安装 一
- Openresty 安装
- 安装openresty
- 安装OpenResty
- 安装OpenResty
- openresty--安装
- openResty-----安装
- FDCT和IDCT的计算公式
- 【bzoj2002】弹飞绵羊 LCT
- Swift3.0 -- 闭包的循环引用与OC的对比
- Unity 检测UGUI组件的RaycasrTarget是否勾选
- WEB入门一 网页设计基础
- lua之安装openresty
- js中模板化开发,text/template
- Android 原始对话框八种
- 20170214.最小二乘法
- 2017.2.14依旧PAT乙级15分题
- 基于ArcGIS和Skyline三维产品B/S二次开发分析对比
- 如何快速搭建一个简单图像搜索引擎
- PAT 1012 数字分类
- H264编码器参数理解 (部分)“I帧”和“帧间距”等的理解