projects:livenet:virtualization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
projects:livenet:virtualization [2015/03/04 14:37] – created scipioprojects: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" hide minitoolbar 
 +  * Add printers with address below and with generic MS Publisher Imagesetter driver
 +  * [[http://ramsdenj.com/2016/07/21/making-a-zvol-backed-virtualbox-vm-on-linux.html|ZFS zvol]]
 +  
 +Discover host printer name with lpstat -a
 +
 +Address to use from windows
 <code> <code>
 +http://<hostip>:631/printers/<printername>
 +</code>
 +
 +
 +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>
 +
 +[[http://kissmyarch.blogspot.it/2012/01/opening-files-under-virtualbox-guest.html|tip to launch windows app clicking on file]]
 +
 +Minimize splash screen
 +<code>
 +VBoxManage modifyvm vm --bioslogodisplaytime 1  # 1ms is minimun
 +</code>
 +
 +Avoid shutdown dialog on ubuntu exit session
 +<code>
 +VBoxManage setextradata vm GUI/DefaultCloseAction PowerOff
 +</code>
 +
 +===== kvm =====
 +
 +
 +==== packages ====
 +
 +
 +
 +<code>
 +add-apt-repository ppa:jacob/virtualisation
 +apt-get update
 +
 apt-get install kvm apt-get install kvm
-apt-get install ratpoison+apt-get install livenet-vm
 </code> </code>
  
-===== sync from server =====+==== sync from server ====
  
 add to /etc/auto.master add to /etc/auto.master
Line 34: Line 77:
 </code> </code>
  
-===== guest =====+==== 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> 
 + 
 +===== XP =====
  
 +http://www.wikihow.com/Activate-Windows-XP-Without-a-Genuine-Product-Key
  • projects/livenet/virtualization.1425476270.txt.gz
  • Last modified: 2015/03/04 14:37
  • by scipio