ubuntu 编译安装nginx 需要的依赖

本文为大家讲解的是ubuntu下安装nginx错误error: the HTTP rewrite module requires the PCRE library 解决方法,感兴趣的同学参考下。

错误描述:
ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library

解决方法:
需要安装pcre包。

sudo apt-get update
sudo apt-get install libpcre3 libpcre3-dev

你可能还需要安装

sudo apt-get install openssl libssl-dev
posted @ 2018-08-14 22:20  天雨流芳=.=  阅读(578)  评论(0编辑  收藏  举报