nginx源码编译安装
2015-12-17 22:22
741 查看
yum -y install gcc gcc* openssl openssl-devel pcre pcre-devel perl-ExtUtils-Embed ncurses ncurses-devel cmake
cd nginx-1.9.6
./configure --prefix=/usr/local/nginx-1.9.6 --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_realip_module --with-http_perl_module --with-stream --add-module=/usr/src/ngx_cache_purge-2.3 --with-pcre
make && make install
cd nginx-1.9.6
./configure --prefix=/usr/local/nginx-1.9.6 --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_realip_module --with-http_perl_module --with-stream --add-module=/usr/src/ngx_cache_purge-2.3 --with-pcre
make && make install
相关文章推荐
- nginx源码分析
- Centos上Apache重启,mysql重启, nginx 重启方法
- nginx server 中的if与rewrite
- rewrite规则写法及nginx配置location总结
- nginx运维(持续更新ing……)
- nginx的那些内置变量
- Nginx学习笔记七Nginx的Web缓存服务
- nginx 无 ngx_cache_purge 模块时的刷新方法
- 安装成功的nginx如何添加未编译安装模块
- Nginx系列教程:ngx_cache_purge模块
- centos 下lnmp(linux+nginx+mysql+php)环境搭建
- nginx记录响应与POST请求日志
- nginx缓存映射在内存中的结点的生命周期
- nginx如何读取缓存文件
- nginx如何响应客户端
- php+nginx+mysql+ubuntu环境搭建
- nginx如何读取缓存文件
- 在CentOS上升级把Nginx
- 理解nginx的配置
- Nginx的配置文件