Chinaunix首页 | 论坛 | 博客
  • 博客访问: 54897
  • 博文数量: 51
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 410
  • 用 户 组: 普通用户
  • 注册时间: 2018-08-26 01:30
文章分类

全部博文(51)

文章存档

2020年(2)

2018年(49)

我的朋友

分类: 架构设计与优化

2018-08-26 15:00:56

OS: centos7 minimal

0. prepare

$yum -y install gcc gcc-c++ automake pcre pcre-devel zlib zlib-devel open openssl-devel


  1) update OpenSSL

     default directory: /usr/ssl

     (1) down

$wget 

    (2) setup

$./config --prefix=/usr --shared $make

Root permission Required

$make install

 


1. install

    1) down

$curl --progress https://nginx.org/download/nginx-1.14.0.tar.gz | tar xz

    2) setup

$./configure --with-http_stub_status_module --with-http_ssl_module  --prefix=/usr/local/nginx 
$make

    Root permission Required

$make install


2. close fw

    1) stop

$systemctl stop firewalld.service

   2) disable boot start

$systemctl disable firewalld.service


3. run

$/usr/local/nginx/sbin/nginx

   1) show ip

$ip addr

   2) restart

$/usr/local/nginx/sbin/nginx -s reload



Reference:

    1. 

阅读(376) | 评论(0) | 转发(0) |
0

上一篇:Windows 驱动开发 - 1

下一篇:抽象工厂模式

给主人留下些什么吧!~~