栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

centos安裝源碼包nginx報錯

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

centos安裝源碼包nginx報錯

系統版本:CentOS Linux release 7.6.1810 (Core)

[root@localhost nginx-1.12.0]# ./configure --prefix=/data/xx/

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

補安裝pcre-devel,openssl-devel即可

[root@localhost nginx-1.12.0]# yum install pcre-devel -y
[root@localhost nginx-1.12.0]# yum install openssl-devel -y
[root@localhost nginx-1.12.0]# ./configure --prefix=/data/xx/

  nginx path prefix: "/data/xx/"
  nginx binary file: "/data/xx//sbin/nginx"
  nginx modules path: "/data/xx//modules"
  nginx configuration prefix: "/data/xx//conf"
  nginx configuration file: "/data/xx//conf/nginx.conf"
  nginx pid file: "/data/xx//logs/nginx.pid"
  nginx error log file: "/data/xx//logs/error.log"
  nginx http access log file: "/data/xx//logs/access.log"
  nginx http client request body temporary files: "client_body_temp"
  nginx http proxy temporary files: "proxy_temp"
  nginx http fastcgi temporary files: "fastcgi_temp"
  nginx http uwsgi temporary files: "uwsgi_temp"
  nginx http scgi temporary files: "scgi_temp"

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/321372.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号