安装Nginx时报以下错误:make: *** No rule to make target build', needed by
default’. Stop.
解决方案如下:
1、安装下面配置
yum -y install make zlib-devel gcc-c++ libtool openssl openssl-devel
2、重新configure
./configure --user=nobody --group=nobody --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_gzip_static_module --with-http_realip_module --with-http_sub_module --with-http_ssl_module
3、编译
make && make install