User Tools

Site Tools


virtualbox

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
virtualbox [2010/01/20 08:06] 172.26.0.166virtualbox [2010/01/20 08:20] 172.26.0.166
Line 3: Line 3:
  
   * [[http://www.virtualbox.org|VirtualBox homepage]]   * [[http://www.virtualbox.org|VirtualBox homepage]]
- 
-==== Commonly-used commands ==== 
-List your VMs: 
-<code>VBoxManage list vms</code> 
-List all running VMs: 
-<code>VBoxManage list runningvms </code> 
- 
 ===== Create a VM ===== ===== Create a VM =====
 Copy an ISO to your home directory: Copy an ISO to your home directory:
-<code>$scp <dist>.iso <username>@172.26.0.205:~/</code> +<code>$scp ubuntu-9.04-desktop-i386.iso alan@172.26.0.200:~/</code> 
-  * SSH to VM server: 172.26.0.205 +  * SSH to VM server: 172.26.0.200 
-<code>$ ssh <username>@172.26.0.205</code>+<code>$ ssh alan@172.26.0.200</code>
   * start the virtualbox application   * start the virtualbox application
 <code>$ VirtualBox</code> <code>$ VirtualBox</code>
Line 38: Line 31:
 Then you can log in to the VM from your own computer using the port you've forwarded above: Then you can log in to the VM from your own computer using the port you've forwarded above:
 <code>$ ssh -p 2223 username@172.26.0.200</code> <code>$ ssh -p 2223 username@172.26.0.200</code>
- +===== Updating VirtualBox =====
-==== Updating VirtualBox ====+
 To update VirtualBox to a new version you must shutdown all the running VMs.  You can do this by first looking to see which VMs are running (''ps auxw | grep VBox'') and then shutting down or saving the state of each one. To update VirtualBox to a new version you must shutdown all the running VMs.  You can do this by first looking to see which VMs are running (''ps auxw | grep VBox'') and then shutting down or saving the state of each one.
 <file>[jmagochi@biovbox ~]$ VBoxManage controlvm CentOS savestate <file>[jmagochi@biovbox ~]$ VBoxManage controlvm CentOS savestate
Line 51: Line 43:
 $ yum install virtualbox-3.1 $ yum install virtualbox-3.1
 </file> </file>
 +===== Commonly-used commands =====
 +==== List your VMs ====
 +<code>VBoxManage list vms</code>
 +==== List your running VMs ====
 +<code>VBoxManage list runningvms </code>