007源码包安装

源码包安装

  • 一般需要三个步骤
    1. ./configure、cmake自动检测linux系统中与相关软件是否有编译该源码包的环境或库文件。
    2. make 编译(系统必须带有GCC编译器)
    3. make install 安装
  • 企业安装nginx
    1. wget 下载需要的安装包
    2. 解压后进入,./configure --help 可以查看帮助
    3. 报错: error: the HTTP rewrite module requires the PCRE library. 解决:安装pcre-devel解决问题 yum -y install pcre-devel
    4. 报错:the HTTP gzip module requires the zlib library. 解决:yum install -y zlib-devel
    5. ./configure --prefix=/usr/local/nginx 、 make 、make install 完成

猜你喜欢

转载自blog.csdn.net/hyf132456/article/details/93737656
今日推荐