在安装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 library
依赖,需要对依赖进行安装
种一棵树最好的时间是10年前,其次就是现在,加油!
--by蜡笔小柯南
Linux不同的系统中,依据不同的命令来进行安装
Ubuntu系统: