LNMP安装报错

问答中心分类: LinuxLNMP安装报错
qq157cml960722 提问 1周 前

./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 build the zlib library
statically from the source with nginx by using –with-zlib=<path> option. make: *** No rule to make target `build’, needed by `default’. Stop.
Nginx install failed, Please Contact the author!
已杀死
[[email protected] lnmp]#
[[email protected] lnmp]# /bin/cp: cannot stat `../init.d/Nginx-init-CentOS’: No such file or directory
sed: can’t read /etc/init.d/nginx: No such file or directory
error reading information on service nginx: No such file or directory
error reading information on service nginx: No such file or directory
mv: cannot stat `/usr/local/nginx/conf/nginx.conf’: No such file or directory
/bin/cp: cannot stat `../config/nginx_apache.conf’: No such file or directory
include/nginx.sh: line 63: /usr/local/nginx/conf/proxy.conf: No such file or directory
sed: can’t read /usr/local/nginx/conf/nginx.conf: No such file or directory
sed: can’t read /usr/local/nginx/conf/nginx.conf: No such file or directory
sed: can’t read /usr/local/nginx/conf/nginx.conf: No such file or directory
nginx: unrecognized service

问题标签:
6 问题
最佳答案
oneinstack 回答 1周 前

操作系统详细版本多少?

qq157cml960722 回答 1周 前

谢谢回答,CentOS 6版本Linux ReMaster01 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

oneinstack 回答 6天 前

手工安装下zlib能否成功?
yum -y install zlib-devel zlib

qq157cml960722 回答 3天 前

已经安装过了的

oneinstack 回答 3小时 前

测试centos6.9 没有问题!

qq157cml960722 回答 3小时 前

好的,谢谢反馈