Install Proxmox VE on Debian Lenny

Introduction

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 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.18-2-pve

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

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.18-2-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.18-2-pve #1 SMP Mon Feb 1 10:45:26 CET 2010 x86_64 GNU/Linux

Install the Proxmox VE packages:

aptitude install proxmox-ve-2.6.18 ntp ssh

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.

Explore posts in the same categories: Ubuntu & Debian

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s


%d blogger menyukai ini: