Change Repository and Disable Nag

This section details how to switch to the no-subscription repository for Proxmox VE, which is crucial for avoiding enterprise repository nags.
Automatic Method:

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"

Manual Method:

  1. Navigate to sources.list.d:
    cd /etc/apt/sources.list.d/
  2. Backup/Remove Enterprise Lists:
    • mv pve-enterprise.list pve-enterprise.list.bak
    • mv ceph.list ceph.list.bak (If it exists)
  3. Create New List:
    • nano pve-install-repo.list
  4. Add Content:
    deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

Note: Ensure bookworm is the correct codename for your Proxmox VE installation.
5. Update Package Lists:

    apt update
    apt dist-upgrade

Power Optimization

sudo powertop --auto-tune

AutoASPM.py

Powersave governor

This optimizes CPU performance based on your needs.

  • Check Available Governors:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
  • Check Current Governor:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
  • Set to powersave:
echo "powersave" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
  • Make Persistent (using cron):
    Add the following line to your crontab (crontab -e):
@reboot echo "powersave" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor >/dev/null 2>&1

Configure Local Storage (NTFS Drive)

This section focuses on mounting and utilizing an NTFS drive for storage.

  • Identify the Drive:

    • lsblk
    • sudo blkid (to get the UUID)
  • Edit /etc/fstab:
    Add a line similar to this, replacing UUID and /mnt/your_mount_point with your actual values:

UUID=YOUR_NTFS_DRIVE_UUID /mnt/your_mount_point ntfs-3g defaults,auto,users,rw,nofail 0 0

Note: nofail is important so the system boots even if the drive isn’t present.

  • Create Mount Point:

    sudo mkdir -p /mnt/your_mount_point
  • Mount the Drive:

    sudo mount -a
  • Add to Proxmox Datacenter:
    In Proxmox’s Datacenter view (not Storage view), add a directory pointing to your mounted NTFS drive. This allows Proxmox to use it for VM/LXC storage.

6. Jellyfin LXC Transcode

# On the Proxmox host
mkdir -p /path/to/your/transcode/folder
chmod -R a+rw /path/to/your/transcode/folder
 
# Then, configure this folder as a mount point within the Jellyfin LXC container
# via the LXC container's config file or Proxmox UI.