返回顶部

我的蜡笔丢了

  博客园  :: 首页  :: 新随笔  ::  :: 订阅 订阅  :: 管理

背景

因为工作网络的特殊性,服务器是不连互联网的,所以整个安装过程都是采用离线包安装的方式来安装。
下载地址:https://pkgs.org/
nginx离线安装需要以下依赖:gcc、g++、OpenSSL、pcre、zlib

pcre安装 

tar -zxvf pcre-8.42.tar.gz 
cd pcre-8.42/
./configure
make
make install

zlib安装

tar -zxvf zlib-1.2.11.tar.gz
cd zlib-1.2.11/
 ./configure
make
make install

openssl安装

tar -zxvf openssl-1.1.0h.tar.gz
cd openssl-1.1.0h/
./config
make
make install

nginx安装

tar -zxvf nginx-1.14.0.tar.gz
cd nginx-1.14.0/
./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-pcre=../pcre-8.42 --with-zlib=../zlib-1.2.11 --with-openssl=../openssl-1.1.0h
make
make install

测试

nginx启动

cd /usr/local/nginx/sbin
./nginx

测试

ps  -ef | grep nginx

 

posted on 2020-09-01 14:57  我的蜡笔丢了  阅读(888)  评论(0)    收藏  举报