Ubuntu下安装Nginx依赖记录

本站所有内容来自互联网收集,仅供学习和交流,请勿用于商业用途。如有侵权、不妥之处,请第一时间联系我们删除!Q群:迪思分享

免费资源网 – https://freexyz.cn/
概述

由于需要基于Arm架构部署新web服务,使用Ubuntu系统安装Nginx,但与Centos7依赖名称有异。

依赖项 总结 apt-getinstall libpcre3-dev zlib1g-dev libgd-dev pcre

报错内容

./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.

解决办法

apt-get install libpcre3-dev zlib

报错内容

./configure: error: the HTTP gzip module requires the zlib library. You can either disable the module by using–without-http_gzip_module option, or install the zlib library into the system, or buildthe zliblibrary statically from the source with nginx by using –with-zlib=<path> option.

解决办法

apt-get installzlib1g-dev GD ./configure: error: the HTTP image filter module requires the GD library.You can eitherdo not enable the module or install the libraries. apt-get install libgd-dev
免费资源网 – https://freexyz.cn/


© 版权声明
THE END
★喜欢这篇文章吗?喜欢的话,麻烦动动手指支持一下!★
点赞7 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容