脚本自动检测:一键给PVE增加温度和cpu频率显示,NVME,机械固态硬盘信息
1、理论上适合任何设备
2、自动适配传感器数据
3、自动检测NVME硬盘数量
4、自动检测机械,固态硬盘数量
5、自动检测CPU核心数量
这是一个为proxmox ve写的工具脚本(理论上debian9+可以用)。包括配置邮件
,samba
,NFS
,zfs
,嵌套虚拟化
,docker
,硬盘直通
等功能。
安装方式一:命令行安装
需要用root账号来运行,在终端中按行分别执行以下内容:
强烈建议先删除企业源:
rm /etc/apt/sources.list.d/pve-enterprise.list export LC_ALL=en_US.UTF-8 apt update && apt -y install git && git clone https://github.com/ivanhao/pvetools.git cd pvetools ./pvetools.sh
一键无脑安装:
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
安装方式二:下载zip安装
下载地址:https://github.com/ivanhao/pvetools
建议使用方式一来安装,不建议直接下载单sh脚本使用,因为那样更新的功能会无法使用!
如果网络无法使用,或命令行使用有困难,可以使用方式二下载zip包拷入系统中使用。
最新版本:v2.4.0
发布时间:2024.02.08
new feature:
修复有些功能还原配置时出现问题,比如温度显示,去除订阅等
修复配置apt国内源、安装配置VIM可导致原配置文件被覆盖