一键安装lnmp-nginx(3)

mac2022-06-30  81

nginx(){cd $pathtar zxvf pcre-8.20.tar.gz cd pcre-8.20./configure --prefix=/usr/local/pcremakemake installcd $pathtar zxvf openssl-1.0.0a.tar.gzcd openssl-1.0.0a./config --prefix=/usr/local/opensslmakemake installcd $pathtar zxvf zlib-1.2.3.tar.gz cd zlib-1.2.3./configure -prefix=/usr/local/zlibmakemake install#nginx的安装cd $pathtar zxvf nginx-1.7.1.tar.gzcd nginx-1.1.7./configure --prefix=/usr/local/nginx --without-http_memcached_module --user=www --group=www --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-openssl=$path/openssl-1.0.0a --with-zlib=$path/zlib-1.2.3 --with-pcre=$path/pcre-8.20makemake installrm -rf /usr/local/nginx/conf/nginx.confcp $path/nginx.conf /usr/local/nginx/conf/nginx.conf}

转载于:https://www.cnblogs.com/zclzhao/p/4936917.html

相关资源:centos-nginx-rtmp(lnmp一键安装环境适用).rar
最新回复(0)