准备工作
yum -y install gcc gcc-c autoconf automake
yum -y install zlib zlib-devel openssl openssl-devel pcre-devel
下载nginx
http://nginx.org/
编译
代码语言:javascript
复制./configure
make && make install
小结:
centos没有安装make编译器
解决:yum -y install gcc automake autoconf libtool make