Ubuntu安装Nginx 问题以及解决办法

Error1

the HTTP rewrite module requires the PCRE library
sudo apt-get update
sudo apt-get install libpcre3 libpcre3-dev

Error2

./configure: error: the HTTP gzip module requires the zlib library.
apt-get install zlib1g-dev
原文地址:https://www.cnblogs.com/tinywan/p/6377066.html