nginx 编译安装依赖包

依赖包安装

yum install gcc gcc-c++ make automake autoconf libtool pcre* zlib openssl openssl-devel

配置

./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module

编译安装

make && make install

你可能感兴趣的:(nginx)