nginx 安装

xxuyuan 2011-09-23

1、安装pcre

unzip pcre-8.02.zip
./configure
make && make install
 

2、安装openssl

tar zxvf ./openssl-1.0.0d.tar.gz
cd ./openssl-1.0.0d
./config --prefix=/usr/local/ --openssldir=/usr/local/openssl-1.0.0d shared zlib-dynamic enable-camellia enable-tlsext
make
make 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.0d
make && make install

相关推荐

lwplvx / 0评论 2020-11-22
岁月如歌 / 0评论 2020-07-21