Skip to content

Commit c8ea9ec

Browse files
committed
update Readme format
1 parent 49208c1 commit c8ea9ec

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docs/Nginx/nginx-install.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1-
## 在Ubuntu 16.04中如何从源代码编译Nginx
1+
# 在Ubuntu 16.04中如何从源代码编译Nginx
22
+ NGINX可用作HTTP / HTTPS服务器,反向代理服务器,邮件代理服务器,负载均衡器,TLS终结器或缓存服务器。它是相当模块化的设计。它具有由社区创建的本机模块和第三方模块。以C编程语言编写,它是一个非常快速和轻便的软件。
3-
#### 从源头构建NGINX的要求,强制性要求:
3+
4+
## 从源头构建NGINX的要求,强制性要求:
45
+ OpenSSL库版本介于1.0.2 - 1.1.0之间
56
+ Zlib库版本介于1.1.3 - 1.2.11之间
67
+ PCRE库版本在4.4 - 8.40之间
78
+ GCC编译器
8-
#### 可选要求:
9+
10+
## 可选要求:
911
+ PERL
1012
+ LIBATOMIC_OPS
1113
+ LibFD
1214
+ MaxMind GeoIP
1315
+ libxml2的
1416
+ libxslt
15-
#### 开始之前
17+
18+
## 开始之前
1619
+ 创建普通用户`sudo`访问。
1720
+ 切换到新用户:`su - <username>`
1821
+ 更新系统:`sudo apt update && sudo apt upgrade -y`
19-
#### 从源代码构建NGINX
22+
23+
## 从源代码构建NGINX
2024
+ 1、NGINX是用C编写的程序,所以我们需要安装C编译器(GCC)。
2125

2226
```bash

0 commit comments

Comments
 (0)