pve工具下载pvetools
2026-01-11
https://github.com/Mapleawaa/PVE-Tools-9
bash <(curl -sSL https://ghfast.top/github.com/Mapleawaa/PVE-Tools-9/blob/main/PVE-Tools.sh)
bash <(curl -sSL https://raw.githubusercontent.com/Mapleawaa/PVE-Tools-9/refs/heads/main/PVE-Tools.sh)
# 1. 下载脚本
wget https://raw.githubusercontent.com/Mapleawaa/PVE-Tools-9/main/PVE-Tools.sh
# 2. 添加执行权限
chmod +x PVE-Tools.sh
# 3. 运行脚本
sudo ./PVE-Tools.sh
https://github.com/ivanhao/pvetools
sver=`cat /etc/os-release|grep VERSION_CODENAME|awk -F '=' '{print $2}'` && echo "nameserver 8.8.8.8" >> /etc/resolv.conf && rm -rf pvetools && echo "deb http://mirrors.ustc.edu.cn/proxmox/debian/pve/ $sver pve-no-subscription" > /etc/apt/sources.list.d/pve-no-sub.list && sed -i 's|deb|#deb|' /etc/apt/sources.list.d/pve-enterprise.list && echo "" > /etc/apt/sources.list.d/ceph.list && export LC_ALL=en_US.UTF-8 && apt update && apt -y install git && git clone https://github.com/ivanhao/pvetools.git && echo "cd /root/pvetools && ./pvetools.sh" > pvetools/pvetools && chmod +x pvetools/pvetools* && ln -s /root/pvetools/pvetools /usr/local/bin/pvetools && pvetools
shell中进入pvetools目录,输入 ./pvetools.sh
如果提示没有权限,输入
chmod +x ./*.sh