zoukankan      html  css  js  c++  java
  • centOS安装nginx的一些常见问题

    centOS安装nginx的常见问题

    ./configure:error:c compile cc is not found

    当执行命令

    ./configure
    

    编译安装nginx时报error:c compile cc is not found

    解决:

    执行命令

    yum -y install gcc gcc-c++ autoconf automake make
    

    等待系统安装gcc完毕后再次执行

    ./configure
    

    nginx编译安装错误: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= option.

    在nginx中我们执行“./configure” 会提示 error: the HTTP gzip module requires the zlib library意思是告诉我们没有zlib library的支持, 碰到此类问题我们只要安装这个库就可以了

    执行命令

    yum install -y zlib-devel
    

    等待安装完毕后再次执行即可

    ./configure
    
  • 相关阅读:
    守卫者的挑战(guard)
    pf
    放砖头
    多人背包
    TC-572-D1L2 未完!待续!
    方程的解数
    单词矩阵/贰五语言
    虫食算
    移动玩具
    UVA 125 统计路径条数 FLOYD
  • 原文地址:https://www.cnblogs.com/zzzqi/p/13176086.html
Copyright © 2011-2022 走看看