virtualbox
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
virtualbox [2010/10/12 23:09] – aorth | virtualbox [2011/06/03 13:02] – aorth | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== VirtualBox ====== | ====== VirtualBox ====== | ||
- | VirtualBox is a free/opensource Hypervisor | + | VirtualBox is a free, open-source hypervisor |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | ====== | + | |
- | Copy an ISO to your home directory: | + | ====== |
- | < | + | Guest operating systems are not like host operating systems. These settings are generally regarded as improving the performance of guest virtual machines. |
- | * SSH to VM server: 172.26.0.200 | + | |
- | < | + | * Set the IO scheduler |
- | * start the virtualbox application | + | * Edit the grub command line to set the default IO scheduler, usually in /// |
- | < | + | * Install guest additions (VirtualBox |
- | * Follow the wizard to create | + | * Run a virtual machine-specific kernel: |
- | - Base Memory: less than 512 MB | + | * Ubuntu: linux-image-virtual |
- | | + | * Mount filesystems with '' |
- | - Hard disk size: less than 30Gb | + | |
====== Networking ====== | ====== Networking ====== | ||
Line 40: | Line 39: | ||
====== Updating VirtualBox ====== | ====== Updating VirtualBox ====== | ||
- | ===== Stop any running VMs ===== | + | === Stop any running VMs === |
Either shut down or "save state" for any running VMs. First, find any users who have " | Either shut down or "save state" for any running VMs. First, find any users who have " | ||
< | < | ||
Line 48: | Line 47: | ||
As the user who owns the VM, save the VM's state: | As the user who owns the VM, save the VM's state: | ||
- | # su - jmagochi | + | < |
$ VBoxManage controlvm nobu savestate | $ VBoxManage controlvm nobu savestate | ||
- | Oracle VM VirtualBox Command Line Management Interface Version 3.2.8 | ||
- | (C) 2005-2010 Oracle Corporation | ||
- | All rights reserved. | ||
- | |||
- | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
$ VBoxManage controlvm lims savestate | $ VBoxManage controlvm lims savestate | ||
- | Oracle VM VirtualBox Command Line Management Interface Version 3.2.8 | ||
- | (C) 2005-2010 Oracle Corporation | ||
- | All rights reserved. | ||
- | |||
- | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | |||
$ exit | $ exit | ||
# su - aorth | # su - aorth | ||
$ VBoxManage controlvm b0237553-9653-4461-bd0e-d4d316c16d4f savestate | $ VBoxManage controlvm b0237553-9653-4461-bd0e-d4d316c16d4f savestate | ||
- | Oracle VM VirtualBox Command Line Management Interface Version 3.2.8 | ||
- | (C) 2005-2010 Oracle Corporation | ||
- | All rights reserved. | ||
- | |||
- | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
$ exit</ | $ exit</ | ||
+ | === Update VirtualBox === | ||
+ | < | ||
+ | === Resume VMs === | ||
+ | < | ||
+ | $ VBoxHeadless -s nobu & | ||
+ | $ VBoxHeadless -s lims & | ||
+ | $ exit | ||
+ | # su - aorth | ||
+ | $ VBoxHeadless -s b0237553-9653-4461-bd0e-d4d316c16d4f -v off &</ |