CentOS 5.4 + NginX 1.2.8 + PostgreSQL Module설치 :: 2013/05/27 14:16

1. 소프트웨어 버전


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-devel

2) 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=nobody

4) make && make install




2013/05/27 14:16 2013/05/27 14:16
Trackback Address :: http://www.yongbi.net/trackback/558
[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다
Name
Password
Homepage

Secret
< PREV |  1  |  ...  232  |  233  |  234  |  235  |  236  |  237  |  238  |  239  |  240  |  ...  566  |  NEXT >