nginx的安装有感

来源:互联网 发布:下载新软件 编辑:程序博客网 时间:2024/05/22 15:12

nginx的安装的命令式:

./configure --prefix=/usr/local/nginx  --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-openssl=/tmp/openssl-1.0.1f/  --with-pcre=/mnt/hgfs/LinuxShare/pcre-8.34


请注意,安装前请下载openssl,然后解压缩,下载pcre然后解压缩,然后将--with-pcre这个就是解压缩后的pcre路径(要一起编译安装),

--with-openssl这个就是解压缩后的openssl的路径(也是要一起编译安装)。

然后 make,make install即可。

网上的资料很多都没有写明这个。

0 0