[컴 파일 패키지] nginx 1.4.4 SRPM (포장 최소 화)

debian 의 nginx - light 를 본 떠 nginx 의 SRPM 가방 을 포장 하여 공유 합 니 다.
간소화 하기 위해 기본 모듈 을 많이 제거 하고 핵심 웹, proxy, fastcgi, limit 만 유지 합 니 다.conn 등 모듈.
컴 파일 매개 변 수 는 다음 과 같 습 니 다. 참고 하 시기 바 랍 니 다.
./configure \
        --prefix=%{_sysconfdir}/nginx \
        --sbin-path=%{_sbindir}/nginx \
        --conf-path=%{_sysconfdir}/nginx/nginx.conf \
        --error-log-path=%{_localstatedir}/log/nginx/error.log \
        --http-log-path=%{_localstatedir}/log/nginx/access.log \
        --pid-path=%{_localstatedir}/run/nginx.pid \
        --lock-path=%{_localstatedir}/run/nginx.lock \
        --http-client-body-temp-path=%{_localstatedir}/cache/nginx/client_temp \
        --http-proxy-temp-path=%{_localstatedir}/cache/nginx/proxy_temp \
        --http-fastcgi-temp-path=%{_localstatedir}/cache/nginx/fastcgi_temp \
        --user=%{nginx_user} \
        --group=%{nginx_group} \
        --without-http_browser_module \
        --without-http_geo_module \
        --without-http_memcached_module \
        --without-http_scgi_module \
        --without-http_uwsgi_module \
        --with-http_realip_module \
        --with-http_gzip_static_module \
        --with-http_stub_status_module \
        --with-cc-opt="%{optflags} $(pcre-config --cflags)" \

첨부 파일 을 다운로드 한 후, 직접 이름 을 nginx - 1.4.4 - 2. el6. lite. src. rpm 로 바 꾸 십시오.
(when download finished,plz directly rename the file to “nginx-1.4.4-2.el6.lite.src.rpm”)

좋은 웹페이지 즐겨찾기