centos7编译安装nginx
时间:2019-04-23 14:10:50
收藏:0
阅读:120
一、安装依赖包
yum install gcc gcc-c++ autoconf automake zlib zlib-devel openssl openssl-devel pcre-devel
二、下载
cd /usr/local/src/
wget http://nginx.org/download/nginx-1.14.2.tar.gz
三、编译
tar -zxvf nginx-1.14.2.tar.gz
cd nginx-1.14.2
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module
make && make install
原文:https://www.cnblogs.com/sky-cheng/p/10755986.html
评论(0)