安装nginx时报错
安装nginx时报以下错误:
./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.
 故障原因为缺少pcre-devel包
解决方法rpm -ivh pcre-devel