This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| projects:livenet:virtualization [2015/03/04 14:37] – created scipio | projects:livenet:virtualization [2020/05/20 20:40] (current) – [Virtualbox] scipio | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Virtualization ====== | ====== Virtualization ====== | ||
| - | ===== packages | + | ===== Virtualbox |
| + | * Use virtio network driver | ||
| + | * Use SATA driver for storage (no virtio available) | ||
| + | * Use host only network and assign static IP to guest | ||
| + | * In "User Interface" | ||
| + | * Add printers with address below and with generic MS Publisher Imagesetter driver | ||
| + | * [[http:// | ||
| + | | ||
| + | Discover host printer name with lpstat -a | ||
| + | |||
| + | Address to use from windows | ||
| < | < | ||
| + | http://< | ||
| + | </ | ||
| + | |||
| + | |||
| + | Enable network for guest if host is connected to work with eth0 | ||
| + | < | ||
| + | echo 1 > / | ||
| + | iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE | ||
| + | </ | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | Minimize splash screen | ||
| + | < | ||
| + | VBoxManage modifyvm vm --bioslogodisplaytime 1 # 1ms is minimun | ||
| + | </ | ||
| + | |||
| + | Avoid shutdown dialog on ubuntu exit session | ||
| + | < | ||
| + | VBoxManage setextradata vm GUI/ | ||
| + | </ | ||
| + | |||
| + | ===== kvm ===== | ||
| + | |||
| + | |||
| + | ==== packages ==== | ||
| + | |||
| + | |||
| + | |||
| + | < | ||
| + | add-apt-repository ppa: | ||
| + | apt-get update | ||
| + | |||
| apt-get install kvm | apt-get install kvm | ||
| - | apt-get install | + | apt-get install |
| </ | </ | ||
| - | ===== sync from server | + | ==== sync from server ==== |
| add to / | add to / | ||
| Line 34: | Line 77: | ||
| </ | </ | ||
| - | ===== guest ===== | + | ==== guest ==== |
| + | |||
| + | / | ||
| + | < | ||
| + | [Desktop Entry] | ||
| + | Name=Windows | ||
| + | Comment=Macchina virtuale predefinita | ||
| + | Exec=ln-vms --vm default --guest | ||
| + | Icon=/ | ||
| + | Type=Application | ||
| + | </ | ||
| + | |||
| + | ===== XP ===== | ||
| + | http:// | ||