从官网下载nginx.tar.gz源码包 拷贝至Linux系统下进行解压 tar -zxvf nginx.tar.gz 进入解压后的目录,需要./configure,此步骤会报多个错,比如没有安装gcc时,要求安装gcc等 ./confiure 在./configure时,可能会报错,如下:./configure: error: the HTTP rewrite module requires the PCRE library.You can either disable the module…
总步骤: wget http://nginx.org/download/nginx-1.10.1.tar.gz tar -xvf nginx-1.10.1.tar.gz cd nginx-1.10.1 ./configrue make make install 在configure中可能遇到的问题: (1) ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable t…
编译参数详解:https://www.cnblogs.com/houyongchong/p/compileArgs.html 配置参数详解:https://www.cnblogs.com/houyongchong/p/configureArgs.html 安装扩展.依赖包 .tar.gz -C /usr/local/src/ cd LuaJIT-/ make make install export LUAJIT_LIB=/usr/local/lib export LUAJIT_INC=/usr/…
nginx 安装 linux 系统需要安装必备的开发包,比如 gcc,gcc-c++ 1. openssl (支持 https) https://www.openssl.org/source/openssl-1.0.2.tar.gz tar -zxvf openssl-1.0.2.tar.gz # 下载并解压,然后 cd 到安装目录,下同 ./config --prefix=/usr/local --openssldir=/usr/local/openssl make make test…