首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >Nginx|Tengine的编译安装步骤

Nginx|Tengine的编译安装步骤

作者头像
Albert陈凯
发布2018-04-04 13:40:55
发布2018-04-04 13:40:55
1.5K0
举报
文章被收录于专栏:Albert陈凯Albert陈凯

练习一下linux的操作命令

tengine的下载地址 http://tengine.taobao.org/download.html

代码语言:javascript
复制
wget http://tengine.taobao.org/download/tengine-2.1.2.tar.gz
tar -xzvf tengine-2.1.2.tar.gz
cd tengine-2.1.2
代码语言:javascript
复制
/configure

安装Nginx|Tengine时报错 ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre=<path> option.

安装pcre-devel解决问题 yum -y install pcre-devel

错误提示:./configure: error: the HTTP cache module requires md5 functions from OpenSSL library. You can either disable the module by using --without-http-cache option, or install the OpenSSL library into the system, or build the OpenSSL library statically from the source with nginx by using --with-http_ssl_module --with-openssl=<path> options.

解决办法:

yum -y install openssl openssl-devel

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2017.03.09 ,如有侵权请联系 cloudcommunity@tencent.com 删除
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档