Openresty 安装
来源:互联网 发布:淘宝借呗在哪里 编辑:程序博客网 时间:2024/04/29 12:21
最近开始接触使用 openresty ,openresty 是章亦春大牛weibo.com/agentzh 基于 nginx 开出的一个 web 应用服务器,其内部集成了众多插件。其中最为显著的特性莫过于是能够使用 lua 对 nginx 进行功能扩展,这相对于原生的 nginx 只能通过 C 编写扩展且每次应用扩展时需要重新编译 nginx 来说,能同时享受 nginx 非阻塞IO所带来的高并发响应处理之余又能以脚本语言快速开发业务功能,对开发者来说无疑是一个开发利器。
Centos 6.3 下安装
1. 准备编译工具
# yum update# yum -y install gcc# yum -y install gcc-c++# yum -y install make
2. 下载安装 Openresty
# wget -c http://agentzh.org/misc/nginx/ngx_openresty-1.2.4.3.tar.gz# tar -xvzf ngx_openresty-1.2.4.3.tar.gz# cd ngx_openresty-1.2.4.3# ./configure --with-luajit --with-http_iconv_module# make# make install
注 :
oepnresty 的最新版本的下载源应从这里获取 : http://www.openresty.org/
github :https://github.com/agentzh/openresty
在刚开始还没有搞清楚 nginx 与 openresty 之间关系的时候,我先是下载了官方的 nginx 源码包,然后下载了 openresty 源码包,但就是不知道怎么把两者联系起来编译 ... 后来才知道,其实 openresty 本身已经集成了其对应最新版本的 nginx 源码在内了,并且 agentzh 大牛已经写好了编译脚本,我们要做的仅仅是根据自身所需要的模块配置编译 openresty 就可以了。因此说 openresty 并非一个插件,而是一个完整的 web 应用服务器了。
- Openresty 安装
- 安装openresty
- 安装OpenResty
- 安装OpenResty
- openresty--安装
- openResty-----安装
- [openresty]安装nginx_lua
- 安装openresty+redis+lua
- OpenResty安装 Mac
- CentOS6.5 安装 Openresty
- ubuntu14.04安装OpenResty
- 安装openresty的脚本
- PHP7 + OPENRESTY安装
- centos6.5-----openresty安装
- openresty安装LuaXml
- lua之安装openresty
- openresty 安装测试
- ubuntu14.04 安装openresty
- linux异步信号handle浅析
- Android之ActionBar学习
- sqlserver自动备份
- PPT的16种常见逻辑结构
- tostring的format格式说明
- Openresty 安装
- 个人总结感想系列 - 2013第一季度总结
- “开胸验肺第一人”移植双肺 新肺功能已接近常人
- 交互设计小故事1
- android 从一个activity跳转到一个画布
- iOS - 判断设备 是不是 iPhone
- JSTL
- window.showModalDialog 与window.open传递参数的不同?
- Visual Studio 2012 中的新增功能