在已有nginx上添加模块以及在已有安装包上编译nginx
2015-06-19 11:33
666 查看
a:复制已有的安装包 1,拷贝已有的安装包 scp -r /root/soft root@192.168.60.xxx:/root/joeyon 2,编译pcre与zlib需要编译安装 ./configure --prefix=/var/local/nginx1.8.0 --user=nginx --group=nginx --sbin-path=//var/local/nginx1.8.0/nginx --conf-path=/var/local/nginx1.8.0/nginx.conf --pid-path=/var/local/nginx1.8.0/nginx.pid --with-pcre=/root/joeyon/soft/pcre-8.36 --with-zlib=/root/joeyon/soft/zlib-1.2.8 --with-openssl=/root/joeyon/soft/openssl-1.0.1e --add-module=/root/joeyon/soft/nginx-gridfs-0.8 --with-http_realip_module --with-http_image_filter_module --with-http_stub_status_module 3,创建用户即可 b:增量添加nginx模块 1,在源码中编译,注意之make不要make install 2,copy生成的nginx文件,替换已有nginx文件
相关文章推荐
- nginx安装异常汇总
- Nginx学习笔记--Nginx图片缩略图,水印处理模块
- 利用Nginx做负载均衡
- Nginx APP接口连接超时
- Nginx中如何限制某个IP同一时间段的访问次数
- php-fpm 502 504 nginx 504
- 关于nginx配置的不完全总结
- centos 安装完Nginx后,为什么访问不了?
- centos 安装完Nginx后,为什么访问不了?
- 为最佳性能调优 Nginx
- nginx_beginner1
- nginx服务器优化(重要)
- Nginx负载均衡和LVS负载均衡的比较分析
- nginx安装过程,报错处理:make[1]: *** [objs/addon/src/bson.o] Error 1
- nginx安装过程,报错处理:make[1]: *** [objs/addon/src/bson.o] Error 1
- nginx 软连接
- nginx 设置反响代理实现nginx集群
- NginxV1.8.0安装与配置
- WEB服务器之——Nginx支持CGI
- python处理nginx日志入库