Nginx服务:信用盘程序搭建q<115.28.8.00.9.9>安装依赖包 安装: # yum -y install build-essential&nb
Nginx服务:信用盘程序搭建q<115.28.8.00.9.9>
安装依赖包
安装:
# yum -y install build-essential
安装:更多依赖包
# yum -y install GCc automake autoconf libtool make
安装:g++
# yum -y install gcc gcc-c++
安装PCRE库
选定源码目录 ==> ftp下载PCRE库 ==> 安装PCRE库
# cd /usr/local/src
# wget ftp://ftp.pcre.org/pub/pcre/pcre-8.42.tar.gz
# tar -zxvf pcre-8.42.tar.gz
# cd /pcre-8.42
# ./configure
# make && make install
安装zlib源码包
下载zlib源码包 ==> 安装zlib包
# cd /usr/local/src
# wget Http://zlib.net/zlib-1.2.11.tar.gz
# tar -zxvf zlib-1.2.11.tar.gz
# cd zlib-1.2.11
# ./configure
# make && make install
安装openssl源码包
# cd /usr/local/src
# wget https://www.openssl.org/source/openssl-1.1.0k.tar.gz
# tar -zxvf openssl-1.1.0k.tar.gz
# cd ./openssl-1.1.0k
# ./configure
# make && make install
安装Nginx
# cd /usr/local/src
# wget http://nginx.org/download/nginx-1.16.1.tar.gz
# tar -zxvf nginx-1.16.1.tar.gz
# cd nginx-1.16.1
# groupadd -r nginx
# useradd -r -g nginx nginx
# ./configure \
--prefix=/usr/local/nginx \
--sbin-path=/usr/local/nginx/sbin/nginx \
--conf-path=/usr/local/nginx/nginx.conf \
--pid-path=/usr/local/nginx/nginx.pid \
--user=nginx \
--group=nginx \
--with-http_ssl_module \
--with-http_flv_module \
--with-http_mp4_module \
--with-http_stub_status_module \
--with-http_gzip_static_module \
--http-client-body-temp-path=/var/tmp/nginx/client/ \
--http-proxy-temp-path=/var/tmp/nginx/proxy/ \
--http-fastcgi-temp-path=/var/tmp/nginx/fcgi/ \
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi \
--http-scgi-temp-path=/var/tmp/nginx/scgi \
--with-pcre=/usr/local/src/pcre-8.42 \
--with-zlib=/usr/local/src/zlib-1.2.11 \
--with-openssl=/usr/local/src/openssl-1.1.0k \
[注:当前所在目录一定要是/usr/local/src/nginx-1.16.1
--with-pcre=/usr/local/src/pcre-8.41 指的是pcre-8.42 的源码路径。
--with-zlib=/usr/local/src/zlib-1.2.11 指的是zlib-1.2.11 的源码路径。
--with-openssl=/usr/local/src/openssl-1.1.0g 指的是openssl-1.1.0k 的源码路径。]
# make && make install
--结束END--
本文标题: Linux下信用盘程序搭建PHP+Nginx环境搭建
本文链接: https://www.lsjlt.com/news/244106.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0