proxmox-zfs-postinstall
proxmox-zfs-postinstall copied to clipboard
This script is designed to run on a fresh installed Proxmox server, configures `pve-no-subscription` repository, adjusts `zfs_arc_cache` and installs basic tools like `zfs-auto-snapshot` or `ifupdown2...
trafficstars
proxmox-zfs-postinstall
This script installs and configures basic tools for running a Proxmox Server. Following settings are made:
- Disable
pve-enterpriserepo - Add
pve-no-subscriptionrepo - Upgrade system to latest version
- Install basic tools:
sudo vim ifupdown2 net-tools dnsutils ethtool git curl unzip screen iftop lshw smartmontools nvme-cli lsscsi sysstat zfs-auto-snapshot htop mc rpl - Configure snapshot retention for
zfs-auto-snapshotinteractively zfs_arc_[min|max]will be calculated by size sum of all zpools in 512 MB steps- Configure backup of
/etcfolder to new zfs dataset onrpool/pveconf - Configure
vm.swappinessinteractively - Install checkmk Agent with optional encryption and registration
- Added Support for Proxmox VE 7.0
- Added Proxmox SDN features
Usage
Just download and execute the script, all settings are made interactively.
wget https://github.com/bashclub/proxmox-zfs-postinstall/raw/main/proxmox-zfs-postinstall.sh
bash ./proxmox-zfs-postinstall.sh
