Difference between revisions of "VirtualBox"
(revert edits to fix search where character encoding was a problem) |
(notes about getting it) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== VirtualBox == | == VirtualBox == | ||
Line 40: | Line 25: | ||
=== VBoxManage === | === VBoxManage === | ||
− | Besides the GUI interface for VirtualBox, you can manage your VirtualBox machines with the <code>[[VBoxManage]]</code> command line tool | + | Besides the GUI interface for VirtualBox, you can manage your VirtualBox machines with the <code>[[VBoxManage]]</code> command line tool |
=== Important Settings === | === Important Settings === | ||
Be sure to [https://www.virtualbox.org/manual/ch03.html#settings-processor enable PAE/NX] in the System -> Processor tab for your Ubuntu guests | Be sure to [https://www.virtualbox.org/manual/ch03.html#settings-processor enable PAE/NX] in the System -> Processor tab for your Ubuntu guests | ||
− | == | + | == Vagrant == |
− | |||
− | + | "Vagrant is a tool for building and distributing virtualized development environments. By providing automated creation and provisioning of virtual machines using Oracle's VirtualBox (ed.: as well as other virtualization engines), Vagrant provides the tools to create and configure lightweight, reproducible, and portable virtual environments." | |
− | + | http://www.vagrantup.com/ | |
+ | |||
+ | The MediaWiki project uses vagrant and provides instructions as well as the configuration itself so that you can setup a development instance in a snap. See [[MediaWiki-Vagrant]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Shared Folders == | == Shared Folders == | ||
− | |||
− | + | Configuring shared folders in virtualbox for Quickstart development | |
− | + | ||
− | + | # Power down the Quickstart virtual machine. | |
− | + | # On the host computer, start the Virtualbox management UI. | |
− | + | # right-click Quickstart -> settings -> shared folders -> click the folder with the green plus on the right | |
− | + | # Set the "Folder Path" to a path on the host computer. Give full read/write access. | |
− | + | # Set the "Folder Name" to "shared". no caps. no vbox- | |
+ | # Ok -> Ok -> start Quickstart vm and this file should disappear. | ||
+ | # Test by moving a file in the host computer into the host shared folder. | ||
− | + | Learn more about VDI - Virtual Disk Images | |
− | Learn more about VDI - Virtual Disk Images | ||
http://forums.virtualbox.org/viewtopic.php?t=8046 | http://forums.virtualbox.org/viewtopic.php?t=8046 | ||
== Other Projects using VirtualBox == | == Other Projects using VirtualBox == | ||
− | + | See [[Drupal/virtualization]] | |
− | + | ||
− | |||
[[Category:Virtualization]] | [[Category:Virtualization]] | ||
[[Category:Development]] | [[Category:Development]] | ||
[[Category:DevOps]] | [[Category:DevOps]] |
Revision as of 12:07, 22 September 2016
Contents
VirtualBox[edit | edit source]
"VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL)."
Getting it[edit | edit source]
# prep
# Stop any virtual machines
vagrant halt qualitybox
cd ~/Downloads
wget http://download.virtualbox.org/virtualbox/5.0.26/virtualbox-5.0_5.0.26-108824-Ubuntu-trusty_i386.deb
sudo dpkg -i ~/Downloads/virtualbox-5.0_5.0.26-108824-Ubuntu-trusty_i386.deb
If you get a 'conflict with virtualbox' error, remove the existing package and re-try the previous install command
sudo dpkg --remove virtualbox-4.3
You may also need to upgrade vagrant E.g. VirtualBox GUI runs fine, but 'vagrant up' does not. This happened to me when my installed version of vagrant 1.7.1 only supported VirtualBox <= 4.3. Upgrading to vagrant 1.8.5 added support for VirtualBox 5.x
sudo dpkg -i /home/greg/Downloads/vagrant_1.8.5_i686.deb
VBoxManage[edit | edit source]
Besides the GUI interface for VirtualBox, you can manage your VirtualBox machines with the VBoxManage
command line tool
Important Settings[edit | edit source]
Be sure to enable PAE/NX in the System -> Processor tab for your Ubuntu guests
Vagrant[edit | edit source]
"Vagrant is a tool for building and distributing virtualized development environments. By providing automated creation and provisioning of virtual machines using Oracle's VirtualBox (ed.: as well as other virtualization engines), Vagrant provides the tools to create and configure lightweight, reproducible, and portable virtual environments."
The MediaWiki project uses vagrant and provides instructions as well as the configuration itself so that you can setup a development instance in a snap. See MediaWiki-Vagrant
[edit | edit source]
Configuring shared folders in virtualbox for Quickstart development
- Power down the Quickstart virtual machine.
- On the host computer, start the Virtualbox management UI.
- right-click Quickstart -> settings -> shared folders -> click the folder with the green plus on the right
- Set the "Folder Path" to a path on the host computer. Give full read/write access.
- Set the "Folder Name" to "shared". no caps. no vbox-
- Ok -> Ok -> start Quickstart vm and this file should disappear.
- Test by moving a file in the host computer into the host shared folder.
Learn more about VDI - Virtual Disk Images http://forums.virtualbox.org/viewtopic.php?t=8046