成都创新互联网站制作重庆分公司

centos7编译安装nginx1.8-创新互联

安装pcre wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.gz tar -zxvf pcre-8.38.tar.gz cd pcre-8.38 ./configure make make install安装openssl wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz tar -zxvf openssl-1.0.1c.tar.gz cd openssl-1.0.1c/ ./config make make install在安装时如果出现如下错误:POD document had syntax errors at /usr/bin/pod2man line 69. 解决如下:centos7编译安装nginx
1.8 rm -rf /usr/bin/pod2man  安装zlib wget http://zlib.net/zlib-1.2.8.tar.gz tar -zxvf zlib-1.2.8.tar.gz cd zlib-1.2.8 ./configure make make install安装nginx $ tar xzf nginx-1.8.0.tar.gz $ ./configure --prefix=/usr/local/nginx --with-pcre=../pcre-8.38 --with-openssl=../openssl-1.0.1c --with-zlib=../zlib-1.2.8 --user=www --group=www --with-http_stub_status_module $ make $ make install
本文名称:centos7编译安装nginx1.8-创新互联
本文URL:http://cxhlcq.com/article/csiejp.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部