这是一个为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
一键无脑安装:
echo "nameserver 8.8.8.8" >> /etc/resolv.conf && rm -rf pvetools && rm -rf /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 && echo "cd /root/pvetools && ./pvetools.sh" > pvetools/pvetools && chmod +x pvetools/pvetools* && ln -s /root/pvetools/pvetools /usr/local/bin/pvetools && pvetools
卸载
- 删除下载的pvetools目录
运行
在shell中进入pvetools目录,输入 ./pvetools.sh
- 如果提示没有权限,输入
chmod +x ./*.sh
主界面
根据需要选择对应的选项即可。