see also:

perform a minimal wheezy amd64 install (netinst) – to do this, temporarily connect switch for server-to-server network to a port on the main switch on VLAN 1 (untagged) so we can get a DHCP address on eth2 (add-in PCIe NIC)

# clear default Debian motd:
> /etc/motd
aptitude update
aptitude install ssh

# avoid installing libglib2.0-data
aptitude install bridge-utils ifenslave-2.6 vlan collectd-core hddtemp lm-sensors
...set up collectd, networking, and ssh keys
(copy old /etc/hosts /etc/networking/interfaces /etc/collectd/collectd.conf and /etc/ssh/ssh_host_* -- /etc/resolv.conf should already be set correctly from dhcp)

# avoid installing libglib2.0-data as a result of sshfs, avoid installing exim4-daemon-light or heirloom-mailx as a result of mdadm, avoid installing bash-completion as a result of nut...
aptitude install ethtool ntp nut psmisc screen sshfs less patch lvm2 mdadm

echo '# PVE packages provided by' > /etc/apt/sources.list.d/pve.list
echo deb wheezy pve >> /etc/apt/sources.list.d/pve.list
wget -O- "" | apt-key add -
aptitude update
# make sure pve-qemu-kvm doesn't pull in dbus ... make sure that postfix is installed, not citadel
aptitude install postfix proxmox-ve-2.6.32 ksm-control-daemon vzprocps open-iscsi bootlogd  # also apply any pending upgrades (e.g. lvm stuff)
# select "no configuration" for postfix

notes for if you haven't re-used an old /etc/network/interfaces...'ll encounter dependency problems while installing... we'll fix that momentarily
ifdown eth0
if you haven't already, edit /etc/network/interfaces and create a vmbr0 with STATIC IP address (bridged to eth0)
ifup eth0
edit /etc/hosts and make sure that local hostname is assigned to vmbr0's static IP (not as well as pvelocalhost
run changes in aptitude again... it should work this time

# new repos for pve post-3.1 (leave old 3.0/3.1 repo in place too)
# see
echo '# PVE pve-no-subscription repository provided by, NOT recommended for production use' > /etc/apt/sources.list.d/pve-no-subscription.list
echo deb wheezy pve-no-subscription >> /etc/apt/sources.list.d/pve-no-subscription.list
sed 's/^deb/# deb/g' -i /etc/apt/sources.list.d/pve-enterprise.list

# remove subscription nag popup
# see
wget -O - | patch -p0

# prevent cifs-utils from pulling in libnss-windbind, libpam-winbind, and winbind
aptitude install dnsutils lsof memtest86+ parted cifs-utils tcpdump time strace bzip2

aptitude install unattended-upgrades
dpkg-reconfigure -plow unattended-upgrades
# select "Yes"

# set linux-base and libuuid-perl as non-automatic
aptitude purge linux-image-amd64 linux-image-3.2.0-4-amd64

scp -p"/mnt/software/$\ Admin/Proxmox\ VE/" /etc/postfix/
/etc/init.d/postfix restart


… administration can be found on https://server:8006/

additional config:

  • set NEED_IDMAPD to "yes" in /etc/default/nfs-common, then /etc/init.d/nfs-common restart
  • lvm lvcreate --name=vz --size=80G ssd && mkdir /mnt/ssd-vz
  • add to /etc/fstab:
/dev/mapper/ssd-vz	/mnt/ssd-vz	ext4	relatime	0	2
  • mkfs.ext4 /dev/ssd/vz && mount /mnt/ssd-vz
  • on altair: ln -s /tank/software/ /mnt/software
  • on other servers, mkdir /mnt/software and add this to /etc/fstab:	/mnt/software	nfs	tcp,intr	0	0
  • on other servers: mount /mnt/software
  • on first node: pvecm create mcp (where “mcp” is the cluster name)
  • on additional nodes: pvecm add (where “” is the IP of the first node)
  • in proxmox web interface: datacenter → storage → add:
    • directory → “software” at /mnt/software/pve containing ISO, Templates - shared
    • LVM group → “ssd” on volume group “ssd” - not shared
    • directory → “ssd-vz” at /mnt/ssd-vz containing Containers - not shared
computer/proxmox_3_manual_install.txt · Last modified: 2015/06/17 16:03 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS