see also: http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Lenny

perform a minimal squeeze amd64 install (netinst)

# avoid installing libglib2.0-data as a result of sshfs, though...
aptitude install ethtool ntp nut psmisc screen sshfs less patch ssh lvm2
echo '# PVE packages provided by proxmox.com' > /etc/apt/sources.list.d/pve.list
echo deb http://download.proxmox.com/debian lenny pve >> /etc/apt/sources.list.d/pve.list
wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -
aptitude update
aptitude install proxmox-ve-2.6.35
update-grub

scp -p 10.2.25.240:t/pve-backup/$HOSTNAME/etc/ssh/ssh_host_* /etc/ssh/
/etc/init.d/ssh restart

scp -p 10.2.25.240:"/mnt/software/$\ Admin/Proxmox\ VE/main.cf" /etc/postfix/
  • edit /etc/vz/vz.conf and set VIRTUOZZO=no

mcp-specific:

scp -p 10.2.25.240:t/pve-backup/$HOSTNAME/etc/network/interfaces /etc/network/
mkdir ~/t
mount /dev/sde1 ~/t -o ro
cp -a ~/t/etc/qemu-server/* /etc/qemu-server/
cp -a ~/t/etc/pve/storage.cfg /etc/pve/
cp -a ~/t/root/iso /root/
cp -a ~/t/root/.forward /root/
cp -a ~/t/etc/hosts /etc/
cp -a ~/t/etc/resolv.conf /etc/
cp -a ~/t/etc/rc.local /etc/
cp -a ~/t/root/bridge-vlan-mtu.diff /root/
umount ~/t
rmdir ~/t

patch -p0 < /root/bridge-vlan-mtu.diff

final steps:

# temporarily disable vm's
chmod -x /etc/init.d/qemu-server

reboot

# re-enable vm's
chmod +x /etc/init.d/qemu-server

# on castor:
pveca -c

# on pollux:
pveca -a -h 192.168.24.241

echo >> /etc/fstab
echo "sshfs#root@zenith:/mnt/software /mnt/software fuse ro,noauto 0 0" >> /etc/fstab
mkdir /mnt/software
cat .ssh/id_rsa.pub | ssh 10.2.25.240 "cat >> ~/.ssh/authorized_keys"

cluster instructions: http://pve.proxmox.com/wiki/Proxmox_VE_Cluster

computer/proxmox_on_squeeze_notes.txt · Last modified: 2012/02/06 01:19 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS