大橙子网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

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-创新互联
分享网址:http://dzwzjz.com/article/csiejp.html
在线咨询
服务热线
服务热线:028-86922220
TOP