尽管ubuntu系统下apt-get具体强大软件安装功能,但有时还是需要独立安装软件。
由于nginx的一些模块需要依赖其他第三方库,通常有pcre库(支持rewrite模块)、zlib库(支持gzip模块)、openssl库(支持ssl模块)等
1,错误提示:error:the HTTP rewrite module requires the PCRE library
解决方法:sudo apt-get install libpcre3 libpcre3-dev
2,错误提示:error:the HTTP gzip module requires the zlib library
解决方法:sudo apt-get install openssl libssl-dev
本文介绍在Ubuntu系统中安装Nginx及其所需模块的过程,包括遇到的常见错误及解决办法,如HTTP rewrite模块所需的PCRE库和HTTP gzip模块所需的zlib库的安装。

1万+

被折叠的 条评论
为什么被折叠?



