Install Proxmox VE on Debian Lenny
|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:
deb http://ftp.debian.org/debian lenny main # PVE packages provided by proxmox.com deb http://download.proxmox.com/debian lenny pve # security updates deb http://security.debian.org/ lenny/updates main
Add the Proxmox VE repository key:
wget -O- "http://download.proxmox.com/debian/key.asc" | 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:
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
If the response is 'No device found', edit the following file to rename the LAN devices:
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