This commit is contained in:
eddy
2025-11-06 20:17:23 +08:00
commit 2bd07f0e2a
24 changed files with 4651 additions and 0 deletions

15
init/01-sysUpdate.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh
# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/01-sysUpdate.sh && chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh
echo "系统更新"
if [ -f "/etc/debian_version" ]; then
apt update -y && DEBIAN_FRONTEND=noninteractive apt full-upgrade -y
fi
# 1、VPS Initialization
apt update -y && apt upgrade -y # 更新一下包
apt install -y wget curl sudo vim git ufw # Debian系统比较干净安装常用的软件
sudo usermod -aG sudo root