lmgsanm

每天学习一点,每天进步一点点…… Tomorrow is another beatifull day

导航

nginx源码编译安装

yum -y install gcc gcc* openssl openssl-devel pcre pcre-devel perl-ExtUtils-Embed ncurses ncurses-devel cmake

cd nginx-1.9.6
./configure --prefix=/usr/local/nginx-1.9.6 --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_realip_module --with-http_perl_module --with-stream --add-module=/usr/src/ngx_cache_purge-2.3 --with-pcre


make && make install

posted on 2015-12-17 22:22  lmgsanm  阅读(132)  评论(0编辑  收藏  举报