[root@localhost src]# ./configure --prefix=/usr/local/nginx
-bash: ./configure: 没有那个文件或目录
[root@localhost src]# cd nginx-1.12.1
[root@localhost nginx-1.12.1]#
初始化的时候,遇到的
checking for C compiler ... not found
./configure: error: C compiler cc is not found
初始化的时候,遇到的
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
Configuration summary
+ using system PCRE library
+ OpenSSL library is not used
+ using system zlib library