ubuntu14.04 安装openresty
来源:互联网 发布:网易我的世界手机版js 编辑:程序博客网 时间:2024/05/15 13:49
ubuntu14.04 安装openresty
- 安装前的准备
- 您必须将这些库 perl 5.6.1+, libreadline, libpcre, libssl安装在您的电脑之中。
- 对于ubuntu来说:
apt-get install libreadline-dev libncurses5-dev libpcre3-dev \
libssl-dev perl make build-essential
- 下载
wget https://openresty.org/download/openresty-1.11.2.2.tar.gz - 解压
tar zxvf openresty-1.11.2.2.tar.gz - 配置
- cd openresty-1.11.2.2/
./configure --prefix=/usr/local/openresty \
--with-luajit \
--without-http_redis2_module \
--with-http_iconv_module \
--with-http_postgres_module- 可能出现的问题:
./configure: error: ngx_postgres addon was unable to detect version of the libpq library.
ERROR: failed to run command: sh ./configure –prefix=/opt/openresty/nginx …
解决:
sudo apt-get install libpq-dev
运行之前可能要 apt-get update
- 编译
make - 安装
sudo make install - 启动
/usr/local/openrestry/nginx/sbin/nginx
官方参考地址
0 0
- ubuntu14.04安装OpenResty
- ubuntu14.04 安装openresty
- Openresty 安装
- 安装openresty
- 安装OpenResty
- 安装OpenResty
- openresty--安装
- openResty-----安装
- [openresty]安装nginx_lua
- 安装openresty+redis+lua
- OpenResty安装 Mac
- CentOS6.5 安装 Openresty
- 安装openresty的脚本
- PHP7 + OPENRESTY安装
- centos6.5-----openresty安装
- openresty安装LuaXml
- lua之安装openresty
- openresty 安装测试
- 响应式布局实例
- cocos2d小型工程的代码组织结构
- mac下的常用命令
- swift实现圆角的设置
- Servlet-登录Demo
- ubuntu14.04 安装openresty
- Spirng学习笔记之bean和BeanFactory(二)
- 常用的推荐算法
- 将file类型的文件转换为blob,将blob类型转换为file
- java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
- django csrftoken ajax
- 解决jetty运行时html等前端静态页面不能debug的问题
- Boost Asio代码示例
- libsvm在MATLAB的安装