User Tools

Site Tools


virtualization:virtualbox

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization:virtualbox [2012/04/22 16:59]
gcooper
virtualization:virtualbox [2014/04/23 15:04] (current)
gcooper
Line 8: Line 8:
  
 http://www.oracle.com/technetwork/server-storage/virtualbox/downloads http://www.oracle.com/technetwork/server-storage/virtualbox/downloads
 +
 +===== Comments =====
  
 :!: Virtualbox is an excellent workstation virtualization solution. :!: Virtualbox is an excellent workstation virtualization solution.
Line 13: Line 15:
 :!: If you need server virtualization, see: :!: If you need server virtualization, see:
  
-**[[virtualization:citrix:xenserver|XenServer]]**+**[[virtualization:xenserver:xenserver|XenServer]]**
  
 **[[virtualization:proxmox|Proxmox Virtualization Environment]]** **[[virtualization:proxmox|Proxmox Virtualization Environment]]**
- 
-===== Talking Points ===== 
  
   * Two versions   * Two versions
     * Open Source Edition     * Open Source Edition
-      <file>sudo apt-get install virtualbox-ose</file> +    Personal Edition 
-    * Commercial Edition +  Excellent cross-platform support Linux, Windows, OS X, Solaris, etc
-      add repo to sources.list +  * Supports USB 2.0
-      * <file>sudo apt-get install virtualbox-4.1</file> +
-  * Install Extension Pack for USB 2.0 support in VM +
-  * Both versions free for personal use.+
   * No hardware virtualization support needed, similar to VMware Server   * No hardware virtualization support needed, similar to VMware Server
   * Can be run headless and accessed via VRDP protocol   * Can be run headless and accessed via VRDP protocol
-  * Can use VMware virtual disks +  * Can use various virtual disk formats - VMware .vmdk, etc. 
-  * Doing so will require Windows XP re-activation +  * The default 'host key' to release keyboard is Right Ctrl
-  * It's best to uninstall VMware Tools first +
-  * Most VMware drivers will work under VB +
-  * Had network problems +
-  * default 'host key' to release keyboard is Right Ctrl +
-  * Didn't work out too well on Fedora 11+
  
 ===== Documentation ===== ===== Documentation =====
Line 43: Line 35:
 ===== Installation ===== ===== Installation =====
  
-==== CentOS ====+==== SME Server ====
  
-=== Guest Additions ===+http://wiki.contribs.org/VirtualBox_4.0_on_SME_Server_v8_beta_6
  
-http://forums.virtualbox.org/viewtopic.php?f=3&t=15679 +==== Linux ====
- +
-<file> +
-sudo apt-get install build-essential linux-headers-`uname -r` +
-</file>+
  
 === Permissions === === Permissions ===
Line 63: Line 51:
 Log out and back in to gain permissions. Log out and back in to gain permissions.
  
-==== Ubuntu ====+=== USB Support ===
  
-https://help.ubuntu.com/community/VirtualBox+Download and install the VirtualBox Extension Pack.  You can just double-click the file after VirtualBox is installed. 
 + 
 +https://www.virtualbox.org/wiki/Downloads 
 + 
 +=== Fedora ===
  
 <file> <file>
-sudo apt-get install dkms build-essential linux-headers-`uname -r`+su - 
 +cd /etc/yum.repos.d/ 
 +wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo 
 + 
 +yum install gcc kernel-headers kernel-devel dkms VirtualBox-4.2
 </file> </file>
  
-Download and install .deb from http://www.virtualbox.org/wiki/Linux_Downloads.+=== Ubuntu ===
  
-=== Permissions ===+https://help.ubuntu.com/community/VirtualBox
  
-Add your user to the 'vboxusers' group:+== Open Source Edition ==
  
 <file> <file>
-sudo usermod --G vboxusers yourusername+sudo apt-get install dkms build-essential linux-headers-`uname -r` virtualbox-ose
 </file> </file>
  
-Log out and back in to gain permissions. 
  
-===== Shared Folders =====+== Personal Edition == 
 + 
 +<file> 
 +sudo apt-get install dkms build-essential linux-headers-`uname -r` virtualbox-4.2 
 +</file> 
 + 
 +===== Shared Folders (Guest-Host) =====
  
 Install Guest Additions (tools), then view the "Entire Network", or browse or search to: Install Guest Additions (tools), then view the "Entire Network", or browse or search to:
Line 145: Line 146:
  
 ==== Ubuntu Guest ==== ==== Ubuntu Guest ====
- 
- 
  
 === Guest Additions === === Guest Additions ===
Line 156: Line 155:
 </file> </file>
  
 +==== Debian Guest ====
 +
 +=== Guest Additions ===
 +
 +http://virtualboxes.org/doc/installing-guest-additions-on-debian/
 +
 +As ''root'':
 +
 +<file>
 +apt-get install build-essential module-assistant
 +
 +m-a prepare
 +
 +mount /media/cdrom
 +
 +sh /media/cdrom/VBoxLinuxAdditions.run
 +</file>
  
 ===== Configuration ===== ===== Configuration =====
Line 175: Line 191:
 ==== Compact a VM Disk ==== ==== Compact a VM Disk ====
  
-http://novemberechoromeodelta.com/20081220-shrinking-virtualbox-vdi-files+http://www.maketecheasier.com/shrink-your-virtualbox-vm/
  
 http://download.sysinternals.com/Files/SDelete.zip http://download.sysinternals.com/Files/SDelete.zip
  
-Defrag the disk within the VM.+  - Defrag the disk within the VM 
 +    * maybe more than once 
 +  - Zero out the empty space within the VM 
 +    * Windows: ''sdelete -z c:'' 
 +    * Linux: ''zerofree /dev/sda1'' 
 +  - Shut down the VM cleanly 
 +  - ''VboxManage modifyvdi /path/to/your/VM.vdi compact''
  
 ==== VMware VM ==== ==== VMware VM ====
Line 187: Line 209:
 http://www.virtualbox.org/wiki/Migrate_Windows http://www.virtualbox.org/wiki/Migrate_Windows
  
 +  * It's best to uninstall VMware Tools first before exporting the VM from VMware
 +  * Most VMware drivers will work under VirtualBox
   * You will have to reactivate Windows   * You will have to reactivate Windows
   * You will probably have to Enable IO APIC to get the VM to boot   * You will probably have to Enable IO APIC to get the VM to boot
virtualization/virtualbox.1335135567.txt.gz · Last modified: 2012/04/22 16:59 by gcooper