编译安装在执行./configure步骤报错,是因为缺少环境变量
checking for C compiler … not found
./configure: error: C compiler cc is not found
yum -y install gcc
yum -y install gcc-c++
.
./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=
yum -y install openssl openssl-devel