手动编译安装nginx
2015-08-15 09:56
656 查看
出现checking for PCRE library … not found、./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= option.
你需要安装
注意安装pcre与ssl library时的library的名字是否对,在ubuntu中是上面的。而需要用yum安装时
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= option.
你需要安装
sudo apt-get install libpcre3 libpcre3-dev sudo apt-get install openssl libssl-dev
注意安装pcre与ssl library时的library的名字是否对,在ubuntu中是上面的。而需要用yum安装时
yum -y install pcre-devel yum -y install openssl openssl-deb
相关文章推荐
- nginx的root和alias指令的区别
- 部署新环境:编译nginx1.0.6
- nginx负载均衡和lvs负载均衡的比较分析
- CentOS配置nginx1.8.0
- nginx之身份验证
- Nginx内存管理
- lamp+nginx代理+discuz+wordpress+phpmyadmin
- nginx 正则表达式匹配入门篇
- linux下制作系统命令 nginx启动
- Nginx安装详解
- 配置Nginx负载均衡
- Nginx-负载均衡实践(二、对所有处理进行分摊)
- nginx平台 (类似Apache 服务器)
- LNMP环境搭建——Nginx篇
- Linux--安装nginx
- Linux环境Nginx安装多版本PHP
- Linux环境Nginx安装多版本PHP
- nginx的root和alias指令的区别
- ubuntu14.04 +nginx+php5-fpm
- Nginx 笔记与总结(12)Nginx URL Rewrite 实例(ecshop)