linux-tutorial/codes/linux/soft/nginx/README.md

21 lines
441 B
Markdown
Raw Normal View History

2019-02-22 11:34:34 +08:00
# 安装 Nginx
## linux 安装 nginx 通用脚本
使用方法:
```sh
2019-05-10 11:25:59 +08:00
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/soft/nginx/install-nginx.sh | bash
2019-02-22 11:34:34 +08:00
```
脚本会下载解压 nginx 到 `/opt/nginx` 路径下。
## Centos 安装 nginx 脚本
使用方法:
```sh
2019-05-10 11:25:59 +08:00
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/soft/nginx/install-nginx-by-yum.sh | bash
2019-02-22 11:34:34 +08:00
```