## 安裝依賴
`prce`(重定向支持)和`openssl`(`https`支持)
1. `yum install -y pcre-devel`
2. `yum -y install gcc make gcc-c++ wget`
3. `yum -y install openssl openssl-devel`
## 處理`nginx`安裝包
[點擊下載](http://nginx.org/download/)
1. `wget http://nginx.org/download/nginx-1.13.3.tar.gz`
2. `tar -zxvf nginx-1.13.3.tar.gz`
## 編譯安裝
```
cd nginx-1.13.3
./configure --prefix=/usr/local//nginx --with-http_ssl_module
make && make install
```
## 設置nginx全局命令
1. 打開`~/.bash_profile`文件
2. 追加以下內容
```
PATH=$PATH:$HOME/bin:/usr/local/nginx/sbin/
export PATH
```
3. 運行`source ~/.bash_profile`
- php
- 安全
- php7
- 特性
- 編譯安裝
- 源碼整體框架
- 基本變量
- thinkphp3.2.3
- thinkphp5.0
- thinkphp6.0
- laravel
- 配置
- 路由
- artisan控制臺
- eloquent
- tinker
- composer
- 加密解密
- 小知識點
- 數組
- string
- 代碼簡潔之道
- 編譯
- 語法糖
- lumen
- smarty
- 錯題集
- 算法及數據結構
- 線性表結構
- 插入排序
- 冒泡排序
- 數據庫
- mysql
- oracle
- PostgreSQL
- redis
- sqlserver
- 前端
- 備忘
- js
- nodejs
- vue
- css
- electron
- vue
- 語法糖
- colorui使用筆記
- 微信小程序
- 操作系統
- windows
- bat
- 快捷鍵
- linux
- sed
- 問題解決
- git
- docker
- docker-compose
- 正則表達式
- ps
- lua
- 協議相關
- 問題思索
- Golang
- 測試
- 讀取和寫入json配置文件
- 類
- 接口
- mod
- gin
- fyne
- 禪道二次開發
- 服務
- apache
- 漏洞配置
- http server優化
- nginx
- 安裝
- 面試題庫
- freeswitch