操作系统:Linux Web 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
适用于:NGINX1.4、1.6、1.7(其他版本未测试)SourceByrd's Weblog-https://note.t4x.org/error/configure-nginx-error-collation/
操作全过程下载:http://pan.baidu.com/s/1qWEvi2oSourceByrd's Weblog-https://note.t4x.org/error/configure-nginx-error-collation/
报错整理:
0 1 2 3 4 5 6 7 8 9 10 11 |
Q:./configure: error: C compiler cc is not found A:[root@Web nginx-1.7.0]# yum install gcc -y Q:./configure: error: the HTTP rewrite module requires the PCRE library. A:[root@Web nginx-1.7.0]# yum install pcre-devel -y Q:./configure: error: SSL modules require the OpenSSL library. A:[root@Web nginx-1.7.0]# yum install openssl* -y Q:/usr/local/nginx/sbin/nginx -t报错:nginx: [emerg] getpwnam("nginx") failed A:[root@Web nginx]# useradd nginx -s /sbin/nologin -M Q:/usr/local/nginx/sbin/nginx 启动nginx后无法访问网站 A:[root@Web nginx]# /etc/init.d/iptables stop Q:[emerg]: getpwnam(“nginx”) failed A:adduser --system --no-create-home --disabled-password --group nginx |
申明:本文由BYRD原创(基于Centos6.4 X64、Nginx-1.7.0),未经许可禁止转载!SourceByrd's Weblog-https://note.t4x.org/error/configure-nginx-error-collation/ SourceByrd's Weblog-https://note.t4x.org/error/configure-nginx-error-collation/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!