mirror of
https://github.com/dunwu/linux-tutorial.git
synced 2024-04-15 19:55:24 +08:00
449 B
449 B
安装 Nginx
linux 安装 nginx 通用脚本
使用方法:
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/ops/soft/nginx/install-nginx.sh | bash
脚本会下载解压 nginx 到 /opt/nginx
路径下。
Centos 安装 nginx 脚本
使用方法:
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/ops/soft/nginx/install-nginx-by-yum.sh | bash