Introduction
After the installation is complete, there are some essential initial configurations and optimisations you should perform to ensure your Proxmox server is secure, efficient, and ready for action. In this guide, we will walk you through these crucial first steps.
Step 1: Check DNS Settings
Before diving into any further configurations, it’s important to verify your DNS settings. Open a terminal and use the following command to edit the resolv.conf file:
nano /etc/resolv.conf
nameserver 1.1.1.1
Step 2: Switch Repository to Non-Production Version
To access non-production Proxmox packages, you need to modify your repository sources. Edit the sources.list file:
nano /etc/apt/sources.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
Step 3: Disable the Production Repository
Next, disable the production repository by commenting out these lines in pve-enterprise.list:
nano /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
nano /etc/apt/sources.list.d/ceph.list
deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
apt update && apt upgrade
Step 4: Enable PCI Passthrough
If your hardware supports PCI passthrough, you can enable it. Edit the grub configuration:
nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
Add this line instead:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"
For AMD, replace “intel” with “amd.” After editing, update GRUB:
update-grub
Next, add Virtual Function I/O modules to /etc/modules:
nano /etc/modules
vfio
vfio_iommu_type1
vfio_pci
Save your changes and reboot your server.
Step 5: External Storage for ISO and Backups
You can configure external storage for ISOs and backups as needed. This step may involve setting up SMB (Samba) services or other external storage solutions, depending on your requirements.
Step 6: Disable Subscription Popup
To remove the subscription popup, run the following command:
sudo sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Afterward, reboot your server, log out of the Proxmox web GUI, clear your browser cache, and then log back in.
Conclusion
These initial steps after a clean Proxmox installation are essential for setting up a stable and secure environment. By following this guide, you’ll be well-prepared to begin utilising Proxmox for your virtualisation needs.
