linux-tutorial/codes/linux/soft/nginx/README.md
2019-05-16 11:49:19 +08:00

21 lines
419 B
Markdown

# 安装 Nginx
## linux 安装 nginx 通用脚本
使用方法:
```sh
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/soft/nginx/install-nginx.sh | bash
```
脚本会下载解压 nginx 到 `/opt/nginx` 路径下。
## Centos 安装 nginx 脚本
使用方法:
```sh
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/soft/nginx/install-nginx-by-yum.sh | bash
```