【centos安裝源碼包nginx報錯】知识为进步之母,而进步又为富强之源泉。这篇文章主要讲述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=<
path>
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"
推荐阅读
- ssh常用命令总结
- nfs文件共享服务器精讲
- oeasy教您玩转vim - 51 - # 读写文件
- linux手误rm可能不需要跑路
- 邮件头之
- Linunx 系统挂载新硬盘的四种姿势
- Zabbix6.0LTS:监控的一大飞跃,峰会议程发布,免费观看全球直播!
- 你对Linux了解多少?看看不吃亏!
- Linux有什么特点?为何受关注?