Changes

Jump to: navigation, search

Installing VirtualBox 2 on a Linux Host

1,734 bytes added, 15:57, 6 March 2009
Installing VirtualBox using VirtualBox.run
== Installing VirtualBox using VirtualBox.run ==
For the installation VirtualBox on systems for which a package manager arachive is not available, a generic installer is provided in the form of the ''VirtualBox.run'' script. Note that although the script will be referred to as ''VirtualBox.run'' in this chapter, the actual name will include the version and build number of the downloaded release, for example, ''VirtualBox-2.1.4-43001-Linux_x86.run''. This installation archive script is downloaded by selecting the approrpriate appropriate download for ''All distributions'' on the VirtualBox download page. Once downloaded to a temporary directory, the installation is invoked by issuing the following command in a terminal window:
<pre>
sh ./VirtualBox-2.1.4-43001-Linux_x86.run install <installation path>
</pre>
 
where ''<installation path>'' represents the path to the directory where VirtualBox is to be installed. If no path is specified, the default path is ''/opt/VirtualBox-<version>'' is used. The transcript from a successful installation is as follows:
 
<pre>
sh ./VirtualBox-2.1.4-43001-Linux_x86.run install
 
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.......
VirtualBox Version 2.1.4 (2009-02-26T15:24:35Z) installer
Installing VirtualBox to /opt/VirtualBox-2.1.4
Building the VirtualBox kernel module
Building the VirtualBox netflt kernel module
 
VirtualBox has been installed successfully.
 
You will find useful information about using VirtualBox in the user manual
/opt/VirtualBox-2.1.4/UserManual.pdf
and in the user FAQ
http://www.virtualbox.org/wiki/User_FAQ
 
We hope that you enjoy using VirtualBox.
</pre>
 
The installation script will create the ''vboxusers'' group to which all VirtualBox users must be added. Users may be added the group using the following command:
 
<pre>
usermod -a -G vboxusers <username>
</pre>
 
where ''<username>'' represents the name of the user to be added to the ''vboxusers'' group.
 
== Removing VirtualBox using VirtualBox.run ==
 
A VirtualBox instance installed using the VirtualBox.run script may be removed at any time by issuing the following command as root user or using sudo:
 
<pre>
sh ./VirtualBox-2.1.4-43001-Linux_x86.run uninstall
</pre
1,798
edits

Navigation menu