当前位置:   article > 正文

CentOs6.5 安装Zlib_centos but no working zlib library was found

centos but no working zlib library was found

今天在搭建Tomcat+nginx 负载均衡环境时,提示我没有安装Zlib

提示的错误信息如下:

  1. ./configure: error: the HTTP gzip module requires the zlib library.
  2. You can either disable the module by using --without-http_gzip_module
  3. option, or install the zlib library into the system, or build the zlib library
  4. statically from the source with nginx by using --with-zlib=<path> option.

出现这样的问题,让我感觉很不爽,现在解决方法如下:CentOs6.5 安装Zlib

1、安装Zlib

# tar zxvf zlib-1.2.8.tar.gz

# cd zlib-1.2.8

# ./configure --prefix=/usr/local/zlib

# make && make install

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/319714
推荐阅读
相关标签
  

闽ICP备14008679号