Cent OS : 5.4
NginX : 1.2.8
Postgre Module : 최신버전 (https://github.com/FRiCKLE/ngx_postgres.git)
2. NginX 설치
1) 사전 필수 의존 라이브러리 설치yum -y install gcc g++ cpp gcc-c++ pcre-devel openssl openssl-devel gd gd-devel2) PostgreSQL 라이브러리 설치yum -y install postgresql-*3) NginX Configuration./configure --prefix=$HOME/nginx \--conf-path=$HOME/nginx/conf/nginx.conf \--sbin-path=$HOME/nginx/sbin/nginx \--lock-path=$HOME/nginx/lock/nginx.lock \--pid-path=$HOME/nginx/run/nginx.pid \--http-client-body-temp-path=$HOME/nginx/lib/nginx/body \--http-proxy-temp-path=$HOME/nginx/lib/nginx/proxy \--http-fastcgi-temp-path=$HOME/nginx/lib/nginx/fastcgi \--http-uwsgi-temp-path=$HOME/nginx/lib/nginx/uwsgi \--http-scgi-temp-path=$HOME/nginx/lib/nginx/scgi \--http-log-path=$HOME/nginx/logs/access.log \--error-log-path=$HOME/nginx/logs/error.log \--with-http_addition_module \--with-http_addition_module \--with-http_degradation_module \--with-http_flv_module \--with-http_gzip_static_module \--with-http_image_filter_module \--with-http_mp4_module \--with-http_random_index_module \--with-http_realip_module \--with-http_ssl_module \--with-http_stub_status_module \--with-http_sub_module \--with-http_realip_module \--add-module=$HOME/ngx_postgres \--user=nobody \--group=nobody4) make && make install
댓글을 달아 주세요
댓글 RSS 주소 : http://www.yongbi.net/rss/comment/558