Install Proxmox VE on Debian Squeeze – Tested

September 17, 2012 | Posted in Linux - Debian | By

Install Proxmox VE on Debian Squeeze 

The installation of a supported Proxmox VE server step by step and fully tested. This install should be done via a Bare-metal ISO Installer or min install. In some case it makes sense to install Proxmox VE on top of a running Debian Squeeze 64-bit, especially if you want a custom partition layout. For this How TO the following Proxmox VE 2.0

Here is my Suggested partition layout with LVM. Feel free to play with this:

Device Boot Start End Blocks Id System
/dev/sda1 1 122 975872 83 Linux
/dev/sda2 122 5222 40965120 8e Linux LVM


LV VG Attr LSize Origin Snap% Move Log Copy% Convert
data pve -wi-ao 30.69g
root pve -wi-ao 3.72g
swap pve -wi-ao 1.86g

We recommend to use ext3 filesystem for best performance.

Debian Squeeze Logo


Install a standard Debian Squeeze (amd64). Go for a LVM based partitioning and a fixed IP and take care that you have enough free space for snapshots
(needed for online backup with vzdump)


Please make sure that your hostname is resolvable with hostname -f

# This will show your fully qualified hostname. 

hostname -f

# Should Return:

# If you get nothing in return, you need to ensure your /etc/hosts file is setup correctly.

nano /etc/hosts

 # And add in this format

IP.IP.IP.IP hostname localhost

# Install Proxmox VE

# Adapt your sources.list and add the Proxmox VE repository:

nano /etc/apt/sources.list

deb squeeze main contrib

# PVE packages provided by

deb squeeze pve

# security updates

deb squeeze/updates main contrib

# Add the Proxmox VE repository key:

wget -O- “” | apt-key add -

# Update your repository and system by running:

aptitude update
aptitude full-upgrade

# Install Proxmox VE Kernel

aptitude install pve-firmware
aptitude install pve-kernel-2.6.32-14-pve

# Reboot and make sure to select Proxmox VE Kernel on the boot loader (grub2).

# Optional – install Kernel headers:

aptitude install pve-headers-2.6.32-14-pve

# Now restart the system using the Proxmox VE kernel.



# Make sure you are running the Proxmox VE Kernel, otherwise the installation will fail.

# Check the currently active Kernel:

uname -a

# should return:  Linux 2.6.32-14-pve …

# Now Lets Install The Proxmox VE packages

aptitude install proxmox-ve-2.6.32

# Configure pve-redirect for apache2:

a2ensite pve-redirect.conf

# And restart apache:

/etc/init.d/apache2 restart

# Install the rest of needed packages:

aptitude install ntp ssh lvm2 postfix ksm-control-daemon vzprocps

# Accept the suggestion to remove Exim and configure postfix according to your network.

# Connect to the Proxmox VE web interface
# Connect to the admin web interface ( https://IPADDRESS:8006 ) and configure the vmbr0 and review all other settings.
# Finally reboot to check if everything is running as expected.
# Optional: Developer Workstations with Proxmox VE and X11
# For example, just install lxde desktop:

aptitude install lxde libcurl3

# Make sure network-manager is not used, else pve-cluster will not start

aptitude purge network-manager

# To get a modern browser, Google Chrome is a good idea – download the 64-bit *.deb from Google, also install icedtea6-plugin.