ubuntu/debian编译安装nginx
环境部署
1. 一键脚本
bash <(curl -Lso- https://files.kkktu.com/nginx/install.sh)
2. 脚本详情
install.sh
#!/bin/bash
echo -n "entry nginx version: (default:1.25.3)"
read nginx_version
#更新并安装依赖
sudo apt-get update -y
sudo apt-get install build-essential libpcre3 libpcre3-dev...