1.如果在安装过程中出现以下错误 需要安装pcre库
解决方案:yum install pcre
2.如果nginx启动提示端口被占用,则停止该端口的服务再启动nginx,一般为httpd服务
解决方案:service httpd stop
nginx 错误汇总【持续更新...】
原文:http://www.cnblogs.com/guaidaodark/p/4876951.html