首页 > 其他 > 详细

nginx

时间:2016-08-12 17:52:27      阅读:169      评论:0      收藏:0      [点我收藏+]

[root@zzx nginx-1.10.1]# yum install -y openssl openssl-devel zlib pcre           yum安装的pcre版本很低 可以编译安装高版本

yum install -y gcc gcc-c++  编译安装需要gcc

tar zxf pcre-8.39.tar.gz

cd  pcre-8.39

./configure

make

make install

tar 

[root@zzx ~]# tar zxf nginx-1.10.1.tar.gz 

指定用户和组 指定安装位置和安装模块

[root@zzx nginx-1.10.1]# ./configure --user=nginx --group=nginx --prefix=/application/nginx-1.10.1 --with-http_stub_status_module --with-http_ssl_module           

[root@zzx nginx-1.10.1]# make

[root@zzx nginx-1.10.1]# make install

 

nginx

原文:http://www.cnblogs.com/hanxing/p/5765626.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!