linux-tutorial/codes/deploy/tool/nginx/README.md

25 lines
585 B
Markdown
Raw Normal View History

2018-02-24 10:18:36 +08:00
# 安装 Nginx
## linux 安装 nginx 通用脚本
使用方法:
```sh
wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/nginx/install-nginx.sh
chmod -R 777 install-nginx.sh
./install-nginx.sh
```
2018-09-29 10:16:24 +08:00
脚本会下载解压 nginx 到 `/opt/nginx` 路径下。
2018-02-24 10:18:36 +08:00
## Centos 安装 nginx 脚本
使用方法:
```sh
wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jdk/install-nginx-by-yum.sh
chmod -R 777 install-nginx-by-yum.sh
./install-nginx-by-yum.sh
```