🌍 Language / 语言选择
██████╗ ██╗ ██╗███████╗ ████████╗ ██████╗ ██████╗ ██╗ ███████╗ █████╗
██╔══██╗██║ ██║██╔════╝ ╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██╔════╝ ██╔══██╗
██████╔╝██║ ██║█████╗ ██║ ██║ ██║██║ ██║██║ ███████╗ ╚██████║
██╔═══╝ ╚██╗ ██╔╝██╔══╝ ██║ ██║ ██║██║ ██║██║ ╚════██║ ╚═══██║
██║ ╚████╔╝ ███████╗ ██║ ╚██████╔╝╚██████╔╝███████╗███████║ █████╔╝
╚═╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝ ╚════╝
🎯 一键配置神器,让 PVE 配置变得简单快乐
PVE Tools 9 是专为 Proxmox VE 9.0 设计的一键配置工具,基于 Debian 13 (Trixie) 系统。本工具旨在简化 PVE 的初始配置过程,提供友好的用户界面和安全的操作体验。
- 🚀 一键换源 - 自动配置清华大学镜像源,大幅提升下载速度
- 🚫 删除订阅弹窗 - 彻底消除烦人的订阅提醒
- 💾 存储优化 - 智能合并 local 与 local-lvm 存储
- 🔄 Swap 管理 - 可选删除 Swap 分区释放更多空间
- 📦 系统更新 - 安全的系统升级和清理
- 📊 系统监控 - 实时显示系统运行状况
- 🎨 美观界面 - 彩色输出和友好的用户交互
- 🛡️ 安全备份 - 操作前自动备份重要文件
| 功能 | 描述 | 推荐度 |
|---|---|---|
| 🚀 更换软件源 | 配置清华镜像源,包含 Debian、PVE、Ceph 源 | ⭐⭐⭐⭐⭐ |
| 🚫 删除订阅弹窗 | 移除"无有效订阅"提醒弹窗 | ⭐⭐⭐⭐⭐ |
| 💾 合并存储 | 合并 local 与 local-lvm(适合小硬盘) | ⭐⭐⭐ |
| 🔄 删除 Swap | 释放 Swap 空间给系统使用 | ⭐⭐⭐ |
| 📦 系统更新 | 更新系统软件包到最新版本 | ⭐⭐⭐⭐ |
| 📊 系统信息 | 查看 PVE 系统运行状态 | ⭐⭐⭐⭐ |
- ✅ Proxmox VE 9.0 或更高版本
- ✅ Debian 13 (Trixie) 基础系统
- ✅ Root 权限
- ✅ 网络连接
# 1. 下载脚本
wget https://raw.githubusercontent.com/MKA930/PVE-Tools-9/main/PVE-Tools.sh
# 2. 添加执行权限
chmod +x PVE-Tools.sh
# 3. 运行脚本
sudo ./PVE-Tools.sh# 直接运行并选择选项 7 进行一键配置
sudo ./PVE-Tools.sh
# 然后输入 7 选择一键配置- Debian 源: 使用 DEB822 格式配置清华大学镜像
- 企业源: 自动注释付费企业源
- Ceph 源: 配置 Ceph 存储镜像源
- 无订阅源: 添加免费版本专用源
- CT 模板源: 加速容器模板下载
自动修改 proxmoxlib.js 文件,彻底移除"No valid subscription"弹窗提醒。
合并 local 与 local-lvm:
- 适用于小容量系统盘
- 自动备份配置
- 安全的 LVM 操作
删除 Swap 分区:
- 释放 Swap 空间给系统使用
- 适合内存充足的环境
- 自动修改 fstab 配置
- 🔒 权限要求: 必须使用 root 权限运行
- 💾 数据备份: 重要操作前会自动备份配置文件
- 🌐 网络需求: 换源功能需要稳定的网络连接
- ⚡ 内存要求: 删除 Swap 前请确保内存充足
Q: 脚本提示"不是 PVE 环境"? A: 请确保在 Proxmox VE 系统上运行此脚本。
Q: 换源后更新失败? A: 请检查网络连接,或尝试重新运行换源功能。
Q: 删除弹窗后仍然出现? A: 请清除浏览器缓存或使用无痕模式访问。
如遇到问题,请:
- 📋 查看脚本运行日志
- 🔍 检查系统环境是否符合要求
PVE Tools 9 is a one-click configuration tool designed specifically for Proxmox VE 9.0, based on Debian 13 (Trixie) system. This tool aims to simplify the initial configuration process of PVE, providing a friendly user interface and secure operation experience.
- 🚀 One-Click Source Change - Automatically configure Tsinghua University mirror sources for faster downloads
- 🚫 Remove Subscription Popup - Completely eliminate annoying subscription reminders
- 💾 Storage Optimization - Intelligently merge local and local-lvm storage
- 🔄 Swap Management - Optional Swap partition removal to free up more space
- 📦 System Updates - Safe system upgrades and cleanup
- 📊 System Monitoring - Real-time system status display
- 🎨 Beautiful Interface - Colorful output and friendly user interaction
- 🛡️ Safe Backup - Automatic backup of important files before operations
| Function | Description | Recommendation |
|---|---|---|
| 🚀 Change Sources | Configure Tsinghua mirrors for Debian, PVE, Ceph | ⭐⭐⭐⭐⭐ |
| 🚫 Remove Popup | Remove "No valid subscription" reminder popup | ⭐⭐⭐⭐⭐ |
| 💾 Merge Storage | Merge local and local-lvm (suitable for small disks) | ⭐⭐⭐ |
| 🔄 Remove Swap | Free up Swap space for system use | ⭐⭐⭐ |
| 📦 System Update | Update system packages to latest version | ⭐⭐⭐⭐ |
| 📊 System Info | View PVE system running status | ⭐⭐⭐⭐ |
- ✅ Proxmox VE 9.0 or higher
- ✅ Debian 13 (Trixie) base system
- ✅ Root privileges
- ✅ Network connection
# 1. Download script
wget https://raw.githubusercontent.com/MKA930/PVE-Tools-9/main/PVE-Tools.sh
# 2. Add execute permission
chmod +x PVE-Tools.sh
# 3. Run script
sudo ./PVE-Tools.sh# Run directly and select option 7 for one-click configuration
sudo ./PVE-Tools.sh
# Then input 7 to select one-click configuration- Debian Sources: Configure Tsinghua University mirrors using DEB822 format
- Enterprise Sources: Automatically comment out paid enterprise sources
- Ceph Sources: Configure Ceph storage mirror sources
- No-Subscription Sources: Add free version dedicated sources
- CT Template Sources: Accelerate container template downloads
Automatically modify the proxmoxlib.js file to completely remove the "No valid subscription" popup reminder.
Merge local and local-lvm:
- Suitable for small capacity system disks
- Automatic configuration backup
- Safe LVM operations
Remove Swap Partition:
- Free up Swap space for system use
- Suitable for memory-rich environments
- Automatically modify fstab configuration
- 🔒 Permission Requirements: Must run with root privileges
- 💾 Data Backup: Configuration files are automatically backed up before important operations
- 🌐 Network Requirements: Source changing function requires stable network connection
- ⚡ Memory Requirements: Ensure sufficient memory before removing Swap
Q: Script shows "Not a PVE environment"? A: Please ensure running this script on a Proxmox VE system.
Q: Update fails after changing sources? A: Please check network connection or try running the source change function again.
Q: Popup still appears after removal? A: Please clear browser cache or use incognito mode to access.
If you encounter problems, please:
- 📋 Check script execution logs
- 🔍 Verify system environment meets requirements
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2025 Sovitx IO
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.