• ComputerKing HTPC

    ComputerKing HTPC

  • Acer Veriton

    Acer Veriton

  • Solar Systems

    Solar Systems

Proxmox from Debian 7.0.0



These are my instructions on how to install Proxmox 3.x using the Debian 7.x/Weezy non-free install CD.  I will be covering a software RAID 1 and a software RAID 5 install so may be some optional instructions for each

Install Debian

Get the non-free firmware version of the Debian Squeeze 7.x multiarch CD image


Do an install using RAID 1 or RAID 5 This can be done in with one drive for RAID 1 or two drives in RAID 5 using degraded mode this can make the install more portable. NOTE Proxmox default is to use entire drive system with one large LVM group, so this might be best sometimes i like to make a smaller PVE-1 group to keep my install smaller and more portable.  However this may not be the best option for clusters.

create raid md0 for boot
create raid md1 for everything else

/boot 1024MB on its own partition with RAID 1 hopefully md0

Create LVM DO NOT take all space of drive all on md1 as you will need this for KVM machines as well as snapshots
Create 3 LV root swap data see below

root 1G
swap double the RAM
data less than 1/2 of the rest of the disk 10G i think? this also helps keep the install tight u can always grow it later, or minus at least -4GB for snapshots

NOTE As i think PVE puts its images on the empty space rather than putting an virtual partition inside the data virtual partition.

An ugly example partition layout with LVM:

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 vg0 -wi-ao 30.69g
root vg0 -wi-ao 3.72g
swap vg0 -wi-ao 1.86g

Networking phase 1

check /etc/hostname might need to be just sun should be set during install?

edit /etc/hosts might not need pvelocalhost? localhost.localdomain localhost sun.solar.lan sun pvelocalhost

Networking Phase 2

proxmox requires a static network setup, but install requires dhcp from ISP think i will go with default do my

apt-geting then fix /etc/network/interfaces or maybe get the ip from ISP and assign it statically to stop PVE install from messing up.

auto lo
iface lo inet loopback

#####This is to get initial debian/PVE going

auto eth0
iface inet dhcp

#auto eth0
#iface inet static
#address IPS address
#netmask IPS netmask
#gateway IPS gateway

############ Below here is actual setup
# This is WAN
iface eth0 inet manual

# This is LAN
iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
# These are correct took them out so do not have to change them defaults are fine
# network
# broadcast
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0

Do You also need to create 4 Network devices on the hypervisor do this with the GUI? or is this just getting infos from /etc/network/interfaces
eth0 active
eth1 active
vmbr0 active IP subnet gateway bridge port eth0 autostart

Install PVE

Edit your sources.list

vi /etc/apt/sources.list

deb http://ftp.at.debian.org/debian squeeze main contrib

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian squeeze pve

# security updates
deb http://security.debian.org/ squeeze/updates main contrib

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 full-upgrade

Install Proxmox VE Kernel

aptitude install pve-firmware
aptitude install pve-kernel-2.6.32-16-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-16-pve

Now restart the system using the Proxmox VE kernel.

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-16-pve ...

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 vzprocp

Prep for openvpn

Add some needed modules

vi /etc/modules

edit /etc/vz/vz.conf and make sure these are at the end of IPTABLES MODULES

ipt_state iptable_nat

Install vms

Copy keep from usb to /var/lib/vz and add storage to PVE called keep types backups and templates

cp command here

restore all needed vms

put command here


edit grub for PCI pass through needed for bluecherry

Some packages
apt-get install smarttools sensors vim
maybe impi or idrac stuff

A desktop

apt-get 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 Chrome from Google, also install Oracle

(Sun) Java, see Java_Console_(Ubuntu)

Sun install

vi /etc/apt/sources.list.d
deb http://www.duinsoft.nl/pkg debs all

import the gpg key with the command
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26
enter the commands
sudo apt-get update
sudo apt-get install update-sun-jre

Print Friendly, PDF & Email

Leave a reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

replica hublot watches rolex replica watches