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:
- Navigate to sources.list.d:
cd /etc/apt/sources.list.d/ - Backup/Remove Enterprise Lists:
mv pve-enterprise.list pve-enterprise.list.bakmv ceph.list ceph.list.bak(If it exists)
- Create New List:
nano pve-install-repo.list
- 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-upgradePower Optimization
sudo powertop --auto-tuneAutoASPM.py
- repo https://git.notthebe.ee/notthebee/AutoASPM
- script https://git.notthebe.ee/notthebee/AutoASPM/src/branch/main/pkgs/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>&1Configure Local Storage (NTFS Drive)
This section focuses on mounting and utilizing an NTFS drive for storage.
-
Identify the Drive:
lsblksudo blkid(to get the UUID)
-
Edit
/etc/fstab:
Add a line similar to this, replacingUUIDand/mnt/your_mount_pointwith 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.