This is an old revision of the document!


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

perform a minimal squeeze amd64 install (netinst)

# clear default Debian motd:
> /etc/motd.tail
aptitude update
# avoid installing libglib2.0-data as a result of sshfs, avoid installing exim4-daemon-light as a result of mdadm...
aptitude install ethtool ntp nut psmisc screen sshfs less patch ssh lvm2 mdadm
echo '# PVE packages provided by proxmox.com' > /etc/apt/sources.list.d/pve.list
echo deb http://download.proxmox.com/debian squeeze pve >> /etc/apt/sources.list.d/pve.list
wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -
aptitude update
# avoid installing fancontrol
aptitude install postfix proxmox-ve-2.6.32 ksm-control-daemon vzprocps open-iscsi
# select "no configuration" for postfix
...it'll encounter dependency problems while installing... we'll fix that momentarily

ifdown eth0
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 127.0.1.1)... as well as pvelocalhost

run changes in aptitude again... it should work this time

aptitude install dnsutils lsof memtest86+ parted smbfs tcpdump time strace bzip2

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

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/

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

# TODO: replacement needed?  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

# TODO: determine cluster procedure


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_2_manual_install.1334092052.txt.gz · Last modified: 2012/04/10 16:07 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS