欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

nginx 安装 博客分类: nginx nginxpcreopenssl

程序员文章站 2024-03-07 09:45:32
...

 

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