Difference between revisions of "HowTo Install VirtualBox"

From NST Wiki
Jump to navigationJump to search
(Created page with 'The following commands can be used to install VirtualBox onto a NST system (as of 2009-Oct-26 using v2.11.0 of the NST distribution). yum -y install kernel-devel gcc cd /etc/y…')
 
Line 1: Line 1:
 +
= Installing VirtualBox 4.0 on a NST v2.13.0 System =
 +
 +
The following commands can be used to install VirtualBox onto a NST system (as of 2009-Oct-26 using v2.11.0 of the NST distribution).
 +
 +
yum -y install kernel-devel gcc
 +
yum -y install VirtualBox-4.0
 +
 +
= Installing on a NST v2.11.0 System =
 +
 
The following commands can be used to install VirtualBox onto a NST system (as of 2009-Oct-26 using v2.11.0 of the NST distribution).
 
The following commands can be used to install VirtualBox onto a NST system (as of 2009-Oct-26 using v2.11.0 of the NST distribution).
  
Line 4: Line 13:
 
  cd /etc/yum.repos.d
 
  cd /etc/yum.repos.d
 
  wget -nH http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
 
  wget -nH http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
  yum -y install VirtualBox
+
  yum -y install VirtualBox-4.0
 +
 
 +
= After Installation =
 +
 
 +
== Add Users to vboxusers Group ==
 +
 
 +
For every user you want to grant access to VirtualBox, you should add that user account to the ''vboxusers'' group. This can be done through the ''Users and Groups'' GUI tool (under the ''System | Administration'' menu on a GNOME desktop), or by using a text editor and directly editing your ''/etc/group'' file. For example after adding users ''pat'' and ''dianne'', you should a line similar to the following line in your ''/etc/group'' file (you may see a number other than 512):
 +
 
 +
vboxusers:x:512:pat,dianne
 +
 
 +
'''Note''': If a user is logged in when you add them to the ''vboxusers'' group, make sure you have them logout and then back in before running VirtualBox.
 +
 
 +
== Adding Extension Packs ==
 +
 
 +
Oracle has introduced the concept of ''extension packs'' starting with the 4.0 release of VirtualBox. You should be able to find these extension pack(s) by googling for "''oracle vm virtualbox extension pack''". At the time of this writing, there was a single USB 2.0 extension pack available.
 +
 
 +
You must be logged in as the ''root'' user to install a extension pack. The following demonstrates the command used to install the USB 2.0 extension pack:
 +
 
 +
VirtualBox Oracle_VM_VirtualBox_Extension_Pack-4.0.2-69518.vbox-extpack

Revision as of 12:35, 27 January 2011

Installing VirtualBox 4.0 on a NST v2.13.0 System

The following commands can be used to install VirtualBox onto a NST system (as of 2009-Oct-26 using v2.11.0 of the NST distribution).

yum -y install kernel-devel gcc
yum -y install VirtualBox-4.0

Installing on a NST v2.11.0 System

The following commands can be used to install VirtualBox onto a NST system (as of 2009-Oct-26 using v2.11.0 of the NST distribution).

yum -y install kernel-devel gcc
cd /etc/yum.repos.d
wget -nH http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
yum -y install VirtualBox-4.0

After Installation

Add Users to vboxusers Group

For every user you want to grant access to VirtualBox, you should add that user account to the vboxusers group. This can be done through the Users and Groups GUI tool (under the System | Administration menu on a GNOME desktop), or by using a text editor and directly editing your /etc/group file. For example after adding users pat and dianne, you should a line similar to the following line in your /etc/group file (you may see a number other than 512):

vboxusers:x:512:pat,dianne

Note: If a user is logged in when you add them to the vboxusers group, make sure you have them logout and then back in before running VirtualBox.

Adding Extension Packs

Oracle has introduced the concept of extension packs starting with the 4.0 release of VirtualBox. You should be able to find these extension pack(s) by googling for "oracle vm virtualbox extension pack". At the time of this writing, there was a single USB 2.0 extension pack available.

You must be logged in as the root user to install a extension pack. The following demonstrates the command used to install the USB 2.0 extension pack:

VirtualBox Oracle_VM_VirtualBox_Extension_Pack-4.0.2-69518.vbox-extpack