- Log in to post comments
# set domU parameter
[ -z $DOMAIN_NAME ] && DOMAIN_NAME=magento
[ -z $DOMAIN_MAC ] && DOMAIN_MAC=00:EE:EE:EE:EE:EE
[ -z $DOMAIN_RAM ] && DOMAIN_RAM=4Gb
[ -z $DOMAIN_HDD ] && DOMAIN_HDD=16Gb
# create domU (Local)
http://www.panticz.de/DomU-Debian-Squeeze
# create domU (Hoster)
http://www.panticz.de/Hetzner
# install magento
http://www.panticz.de/install_magento
#
# OPTIONAL
#
# create separate www patition
lvcreate --name ${DOMAIN_NAME}-www --size 128G vg0
mkfs.ext3 /dev/vg0/${DOMAIN_NAME}-www
vi /etc/xen/${DOMAIN_NAME}
(add)
'phy:/dev/vg0/mrwww-www,sda3,w',
# post config domU
mount /dev/vg01/${DOMAIN_NAME}-disk /mnt/
echo "/dev/sda3 /var/www ext3 defaults 0 0" >> /mnt/etc/fstab
umount /mnt