Proxmox VE Settings to Change After Install
In this article
The most important settings to change after installing Proxmox VE are the Enterprise repository (disable it and add the No-Subscription repository), update your system, and configure a backup schedule for your VMs and containers. You should also set a static IP address, enable email notifications for root, and adjust the storage and network settings to match your hardware and use case.
Why Default Settings Aren't Optimal
Proxmox VE (Virtual Environment) is a powerful, open-source virtualization platform based on Debian Linux. It comes with a web-based management interface and supports both virtual machines (VMs) and Linux containers (LXC). The default installation is designed to work out of the box, but it's configured for a generic environment, not your specific server. The most critical default is the software repository: by default, Proxmox points to the Enterprise repository, which requires a paid subscription. If you don't have a subscription, you'll get errors when updating, and you won't receive updates at all. Changing this is the first thing you should do.
1. Disable the Enterprise Repository and Enable No-Subscription
After a fresh install, your system will try to fetch updates from the enterprise repo, which will fail if you don't have a subscription key. To fix this, log into the web interface (https://your-server-ip:8006), go to Datacenter > Repositories. You'll see a line for enterprise.proxmox.com with a status of 'Enabled'. Click it and select 'Disable'. Then, click 'Add' and choose 'No-Subscription' from the dropdown. This repository is free and provides the latest stable packages. After adding it, run apt update and apt dist-upgrade from the shell (or use the 'Updates' section in the web UI). This ensures your system is up to date and fixes the update errors.
2. Set a Static IP Address
By default, the installer sets your network interface to DHCP. For a server that needs to be reachable at a consistent address, you should configure a static IP. Edit the file /etc/network/interfaces on the host. You'll see a section like:
auto vmbr0
iface vmbr0 inet static
address 192.168.1.100/24
gateway 192.168.1.1
bridge-ports eth0
bridge-stp off
bridge-fd 0Replace the address, netmask (or CIDR), and gateway with your network's values. Also, set your DNS servers in /etc/resolv.conf (or via the web UI under Datacenter > DNS). After editing, restart networking with systemctl restart networking or reboot. A static IP prevents the server's address from changing, which is essential for accessing the web UI, SSH, and for VMs to reach the network.
3. Configure Backups
Backups are not enabled by default. You should create a backup schedule for your VMs and containers. Go to Datacenter > Backup, click 'Add', and choose a storage location (e.g., a local disk or a NAS). Set a schedule (e.g., daily at 02:00), select the VMs to back up, and choose a compression mode (like 'zstd'). Also, decide on the backup mode: 'Snapshot' is recommended because it allows backing up a running VM without downtime. Test your backups regularly by restoring a VM to a separate location. Without a backup, a disk failure or accidental deletion can mean total data loss.
4. Set Up Email Notifications
Proxmox sends notifications for events like backup failures, hardware errors, and guest shutdowns. By default, these emails are sent to root@localhost, which you probably won't read. To change this, go to Datacenter > Notifications (or Options > Email in older versions). Add a mail server (e.g., your ISP's SMTP or a service like Gmail's SMTP) and set the notification email to your address. You can also test the mail settings by sending a test mail. This ensures you're alerted to problems immediately.
5. Tweak Storage and Network Settings
Default storage is often a single local disk with LVM-thin. If you have multiple disks, you might want to create a ZFS pool for better performance and data integrity. ZFS is a filesystem with built-in compression, snapshots, and checksumming. You can create a ZFS pool via the web UI under Datacenter > Storage > Add > ZFS. For networking, consider adding a bridge for each physical NIC, or configure VLANs if you need network segmentation. Also, enable 'VLAN aware' on your bridge if you plan to use VLANs. These changes depend on your hardware and network design, but they're essential for optimal performance and security.
6. Update the Kernel and Firmware
After enabling the No-Subscription repo, run apt update and apt dist-upgrade to update the kernel and all packages. Also, check for firmware updates (e.g., for network cards or NVMe drives) with apt install firmware-linux (if not already installed). The default kernel is often fine, but if you have very new hardware, you might need to install the latest kernel from the 'pve-kernel' packages. This is especially important for hardware compatibility and security patches.
7. Secure the Web Interface
By default, Proxmox uses a self-signed SSL certificate. For production, you should replace it with a trusted certificate from Let's Encrypt (via the ACME plugin) or your own CA. Go to Datacenter > ACME to set this up. Also, change the root password to a strong one, and consider using two-factor authentication (TOTP) for the web UI. Additionally, restrict access to the web UI to specific IP addresses via the firewall (if you have one). These steps reduce the risk of unauthorized access.
Frequently Asked Questions
Do I have to pay for Proxmox VE?
No, Proxmox VE is free and open-source. The Enterprise repository requires a subscription, but the No-Subscription repository is free and provides the same stable packages, though without the same level of support. You can use Proxmox VE indefinitely without paying, but consider a subscription for production environments to get access to the enterprise repo and official support.
What is the difference between VMs and containers in Proxmox?
VMs (virtual machines) emulate full hardware and can run any OS (Windows, Linux, etc.). Containers (LXC) share the host kernel and are more lightweight, but they can only run Linux. Containers start faster and use less memory, making them ideal for running many services on one host. VMs offer better isolation and are required for non-Linux OSes.
How do I increase the size of a VM's disk?
In the web UI, select the VM, go to Hardware > Hard Disk, click 'Resize', and add the desired size. This works for both raw and qcow2 formats. After resizing, you must grow the partition and filesystem inside the VM (e.g., using growpart and resize2fs on Linux, or Disk Management on Windows).
Can I migrate a VM from another hypervisor to Proxmox?
Yes, you can. For VMware, you can use the qm importovf command or the web UI to import OVF/OVA files. For VirtualBox, you can convert VDI to qcow2 using qemu-img convert. For Hyper-V, you can export the VM and convert the VHDX to qcow2. The process involves copying the disk image and configuring a new VM in Proxmox with the same hardware settings.
Why is my VM slow?
Common causes include insufficient RAM or CPU allocation, disk I/O bottlenecks (e.g., using a single spinning disk), or network issues. Check the VM's resource usage with top or the web UI. Ensure you have enough free RAM on the host (don't overcommit too much), and consider using SSD storage or ZFS with caching. Also, install the QEMU guest agent in the VM for better performance and integration.