读书人

nginx 装配

发布时间: 2012-07-03 13:37:42 作者: rapoo

nginx 安装

?

1、安装pcre

?

unzip pcre-8.02.zip./configuremake && make install
?

2、安装openssl

?

tar zxvf ./openssl-1.0.0d.tar.gzcd ./openssl-1.0.0d./config --prefix=/usr/local/ --openssldir=/usr/local/openssl-1.0.0d shared zlib-dynamic enable-camellia enable-tlsextmakemake install
?

?

3、安装nginx

?

tar xvf nginx-1.0.0.tar./configure --user=nginx --group=nginx --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module \--with-pcre=../pcre-8.02 --with-openssl=../openssl-1.0.0dmake && make install

读书人网 >操作系统

热点推荐