首页 > 其他 > 详细

nginx-1.4.2.tar.gz搭建

时间:2014-09-27 09:19:40      阅读:314      评论:0      收藏:0      [点我收藏+]

# nginx-1.4.2.tar.gz
# pcre-8.12.zip


1.yum  install pcre-devel  openssl-devel

2.unzip  pcre-8.12.zip

  cd  pcre-8.12

  ./configure  --prefix=/usr/local/pcre

  make &&  make  install

3.tar  zxvf  nginx-1.4.2.tar.gz
  cd  nginx-1.4.2
  ./configure --prefix=/usr/local/nginx  --sbin-path=/usr/sbin/nginx  --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log  --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid  --user=nginx  --group=nginx  --with-http_ssl_module  --with-http_flv_module  --with-http_gzip_static_module  --with-http_stub_status_module    --with-http_gunzip_module  --with-http_perl_module   --http-client-body-temp-path=/var/tmp/nginx/client/  --http-proxy-temp-path=/var/tmp/nginx/proxy/  --http-fastcgi-temp-path=/var/tmp/nginx/fcgi/  --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi  --http-scgi-temp-path=/var/tmp/nginx/scgi  --with-pcre
make
make install 


本文出自 “常用文档” 博客,请务必保留此出处http://yujianglei.blog.51cto.com/7215578/1558702

nginx-1.4.2.tar.gz搭建

原文:http://yujianglei.blog.51cto.com/7215578/1558702

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