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 [2011/06/03 12:47] – aorth | virtualbox [2011/06/03 13:02] – aorth | ||
---|---|---|---|
Line 4: | Line 4: | ||
* [[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 55: | Line 54: | ||
$ VBoxManage controlvm b0237553-9653-4461-bd0e-d4d316c16d4f savestate | $ VBoxManage controlvm b0237553-9653-4461-bd0e-d4d316c16d4f savestate | ||
$ exit</ | $ exit</ | ||
- | ===== Update VirtualBox | + | === Update VirtualBox === |
- | ==== CentOS ==== | + | |
< | < | ||
- | ===== Resume VMs ===== | + | === Resume VMs === |
< | < | ||
$ VBoxHeadless -s nobu & | $ VBoxHeadless -s nobu & | ||
Line 65: | Line 63: | ||
# su - aorth | # su - aorth | ||
$ VBoxHeadless -s b0237553-9653-4461-bd0e-d4d316c16d4f -v off &</ | $ VBoxHeadless -s b0237553-9653-4461-bd0e-d4d316c16d4f -v off &</ | ||
- | |||
- | ===== Mount a CD to a running VM ===== | ||
- | Attach an ISO to a running VM. The CD/DVD device is on the Secondary IDE controller (--port 1), and it is the slave device (--device 1). | ||
- | < | ||
- | |||
- | ====== Optimal settings for a guest ====== | ||
- | |||
- | * Notes about '' | ||
- | * Set the IO scheduler to '' | ||
- | * Edit the grub command line to set the default IO scheduler, usually in /// | ||
- | * Install guest additions (VirtualBox or VMware) | ||
- | * Run a virtual machine-specific kernel: | ||
- | * Ubuntu: linux-image-virtual | ||
- | * Mount filesystems with '' |