007源码包安装
其他
2019-06-27 09:27:17
阅读次数: 0
源码包安装
- 一般需要三个步骤
- ./configure、cmake自动检测linux系统中与相关软件是否有编译该源码包的环境或库文件。
- make 编译(系统必须带有GCC编译器)
- make install 安装
- 企业安装nginx
- wget 下载需要的安装包
- 解压后进入,./configure --help 可以查看帮助
- 报错: error: the HTTP rewrite module requires the PCRE library. 解决:安装pcre-devel解决问题 yum -y install pcre-devel
- 报错:the HTTP gzip module requires the zlib library. 解决:yum install -y zlib-devel
- ./configure --prefix=/usr/local/nginx 、 make 、make install 完成
转载自blog.csdn.net/hyf132456/article/details/93737656