This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization:virtualbox [2012/04/22 16:55] gcooper |
virtualization:virtualbox [2014/04/23 15:04] (current) gcooper |
||
---|---|---|---|
Line 8: | Line 8: | ||
http:// | http:// | ||
+ | |||
+ | ===== Comments ===== | ||
:!: Virtualbox is an excellent workstation virtualization solution. | :!: Virtualbox is an excellent workstation virtualization solution. | ||
Line 13: | Line 15: | ||
:!: If you need server virtualization, | :!: If you need server virtualization, | ||
- | **[[virtualization: | + | **[[virtualization: |
**[[virtualization: | **[[virtualization: | ||
- | |||
- | ===== Talking Points ===== | ||
* Two versions | * Two versions | ||
* Open Source Edition | * Open Source Edition | ||
- | | + | |
- | * Commercial | + | * Excellent cross-platform support |
- | * add repo to sources.list | + | * Supports |
- | * < | + | |
- | * 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 | + | * Can use various |
- | * Doing so will require Windows XP re-activation | + | * The default 'host key' to release keyboard is Right Ctrl |
- | * It's best to uninstall | + | |
- | * 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:// |
- | http:// | + | ==== Linux ==== |
- | + | ||
- | < | + | |
- | sudo apt-get install build-essential linux-headers-`uname -r` | + | |
- | </ | + | |
=== 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 === | ||
< | < | ||
- | sudo apt-get install | + | su - |
+ | cd / | ||
+ | wget http:// | ||
+ | |||
+ | yum install | ||
</ | </ | ||
- | Download and install .deb from http:// | + | === Ubuntu === |
- | === Permissions === | + | https:// |
- | Add your user to the ' | + | == Open Source Edition == |
< | < | ||
- | sudo usermod | + | sudo apt-get install dkms build-essential linux-headers-`uname -r` virtualbox-ose |
</ | </ | ||
- | Log out and back in to gain permissions. | ||
- | ===== Shared Folders ===== | + | == Personal Edition == |
+ | |||
+ | < | ||
+ | sudo apt-get install dkms build-essential linux-headers-`uname -r` virtualbox-4.2 | ||
+ | </ | ||
+ | |||
+ | ===== Shared Folders | ||
Install Guest Additions (tools), then view the " | Install Guest Additions (tools), then view the " | ||
Line 144: | Line 145: | ||
</ | </ | ||
+ | ==== Ubuntu Guest ==== | ||
+ | === Guest Additions === | ||
+ | |||
+ | http:// | ||
+ | |||
+ | < | ||
+ | sudo apt-get install build-essential linux-headers-`uname -r` | ||
+ | </ | ||
+ | |||
+ | ==== Debian Guest ==== | ||
+ | |||
+ | === Guest Additions === | ||
+ | |||
+ | http:// | ||
+ | |||
+ | As '' | ||
+ | |||
+ | < | ||
+ | apt-get install build-essential module-assistant | ||
+ | |||
+ | m-a prepare | ||
+ | |||
+ | mount / | ||
+ | |||
+ | sh / | ||
+ | </ | ||
===== Configuration ===== | ===== Configuration ===== | ||
Line 164: | 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:// | http:// | ||
- | 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: '' | ||
+ | * Linux: '' | ||
+ | - Shut down the VM cleanly | ||
+ | - '' | ||
==== VMware VM ==== | ==== VMware VM ==== | ||
Line 176: | Line 209: | ||
http:// | http:// | ||
+ | * 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 |