centos7编译安装nginx的方法步骤

popgreat 27 0 PDF 2021-01-15 05:01:14

安装nginx编译所需的lib库 yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel yum -y install pcre pcre-devel 查看pcre(正则库)版本 pcre-config --version 进入编译目录 cd /usr/local/src 从官网下载最新的nginx(stable version稳定版) wget http://nginx.org/download/nginx-1.14.0.tar.gz 解压nginx压缩包 tar -zxvf nginx-1

用户评论
请输入评论内容
评分:
暂无评论