CentOS 6.4에 NginX 설치 :: 2013/07/24 11:09

NginX Version : 1.4.2

<의존 패키지 설치>
yum -y install gcc g++ cpp gcc-c++
yum -y install pcre-devel
yum -y install openssl openssl-devel
yum -y install gd gd-devel

<NginX 설치>
다운로드 : wget http://nginx.org/download/nginx-1.4.2.tar.gz
압축 해제 : tar -zxvf nginx-1.4.2.tar.gz

압축 풀린 nginx-1.4.2 폴더로 이동 후, configure

./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/log/access.log \
--error-log-path=$HOME/nginx/log/error.log \
--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 \
--user=nobody \
--group=nobody

설치 : make && make install

2013/07/24 11:09 2013/07/24 11:09
Trackback Address :: http://www.yongbi.net/trackback/570
[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다
Name
Password
Homepage

Secret
< PREV |  1  |  ...  220  |  221  |  222  |  223  |  224  |  225  |  226  |  227  |  228  |  ...  566  |  NEXT >