Install Proxmox VE on Debian Lenny

From Proxmox VE
Jump to: navigation, search
Yellowpin.svg Note: Article about the outdated Proxmox VE 1.x releases


The installation of a supported Proxmox VE server should be done via Bare-metal_ISO_Installer. In some case it makes sense to install Proxmox VE on top of a running Debian Lenny 64-bit.

This method is not supported from the Proxmox support team and therefore only for expert use!

Install a standard Debian Lenny (amd64)

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

Install Proxmox VE

Adapt your sources.list

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

nano /etc/apt/sources.list
deb lenny main

# PVE packages provided by
deb lenny pve

# security updates
deb lenny/updates main

Add the Proxmox VE repository key:

wget -O- "" | apt-key add -

Update your repository and system by running:

aptitude update
aptitude upgrade

Install Proxmox VE Kernel

aptitude install pve-kernel-2.6.32-4-pve

Note: you can install a 2.6.18, 2.6.24, 2.6.32 and a 2.6.35 Kernel, see Proxmox VE Kernel - This howto shows the installation of 2.6.32.

Reboot and make sure to select Proxmox VE Kernel on the boot loader (grub). If you want to boot by default the Proxmox VE Kernel, please edit the following file:

nano /boot/grub/menu.lst

Optional - install Kernel headers:

aptitude install pve-headers-2.6.32-4-pve

Now restart the system using the Proxmox VE kernel.

Check LAN device names

Due to the standard Debian and Proxmox VE kernels being from different series (2.6.26 and 2.6.18/24/32 respectively) your LAN interfaces may be given different device names when running the Proxmox VE kernel.

Test by checking the configuration of the first LAN device

ifconfig eth0

If the response is 'No device found', edit the following file to rename the LAN devices:

nano /etc/udev/rules.d/70-persistent-net.rules

Restart the system again if the LAN devices were renamed.

Install Proxmox VE packages

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

Check the currently active Kernel:

uname -a
Linux 2.6.32-4-pve ... 

Install the Proxmox VE packages:

aptitude install proxmox-ve-2.6.32 ntp ssh lvm2

Connect to the Proxmox VE web interface

Connect to the admin web interface (https://youripaddress) and configure the vmbr0 and review all other settings, finally reboot to check if everything is running as expected. Adapt vmbr0 settings