This is an old revision of the document!
Virtualization
Virtualbox
- Use virtio network driver
- Use SATA driver for storage (no virtio available)
- Use host only network and assign static IP to guest
- Add printers with http:<hostip>:631/printers/<printername> with generic MS Publisher Imagesetter driver Discover host printer name with lpstat -a Enable network for guest if host is connected to work with eth0 <code> echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE </code> ===== kvm ===== ==== packages ==== <code> add-apt-repository ppa:jacob/virtualisation apt-get update apt-get install kvm apt-get install livenet-vm </code> ==== sync from server ==== add to /etc/auto.master <code> /- /etc/auto.vms </code> /etc/auto.vms and set proper nfs path (for example vms machine is defined in /etc/hosts) <code> /mnt/vms -vers=4,proto=tcp,rsize=32768,wsize=32768 vms:/vms </code> /etc/livenet/vms.conf <code> [default] name=xp master=/mnt/vms/xp local=/vms/xp update=true </code> Create eventually root folder of vms <code bash> mkdir /vms </code> ==== guest ==== /etc/livenet/session*/vm.desktop <code> [Desktop Entry] Name=Windows Comment=Macchina virtuale predefinita Exec=ln-vms –vm default –guest Icon=/usr/share/icons/vm.png Type=Application </code>