# pvetools **Repository Path**: ZBingK/pvetools ## Basic Information - **Project Name**: pvetools - **Description**: 源于github的pvetool备份 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2023-02-27 - **Last Updated**: 2024-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pvetools proxmox ve tools script(debian9+ can use it).Including `email`, `samba`,` NFS set zfs max ram`, `nested virtualization` ,`docker `, `pci passthrough` etc. for english user,please look the end of readme. 这是一个为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://gitee.com/ZBingK/pvetools.git cd pvetools ./pvetools.sh ``` ### 一键无脑安装: ``` echo "nameserver 8.8.8.8" >> /etc/resolv.conf && 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://gitee.com/ZBingK/pvetools.git && cd pvetools && ./pvetools.sh ``` ###### 方式二:下载zip安装 - 建议使用方式一来安装,不建议直接下载单sh脚本使用,因为那样更新的功能会无法使用! - 如果网络无法使用,或命令行使用有困难,可以使用方式二下载zip包拷入系统中使用。 ### 卸载 1. 删除下载的pvetools目录 ### 运行 在shell中进入pvetools目录,输入 ` ./pvetools.sh ` * 如果提示没有权限,输入`chmod +x ./*.sh`