VirtualBox: Difference between revisions

From miki
Jump to navigation Jump to search
(Installation)
 
Line 12: Line 12:


The group '''vboxusers''' is created during installation.
The group '''vboxusers''' is created during installation.
* Users of the VirtualBox must be member of that group.
* Users of the VirtualBox must be member of that group. New users can be added with
{{pl2|<source lang="bash" enclose="prevalid">sudo usermod -a -G vboxusers username</source>}}
* The daemon for the network interfaces will be assigned to that group.
* The daemon for the network interfaces will be assigned to that group.



Revision as of 22:02, 24 March 2010

Installation

Reference instructions can be found here:

  • Add the following lines to /etc/apt/sources.list (here for Ubuntu Karmic):
  • deb http://download.virtualbox.org/virtualbox/debian karmic non-free
  • Add the Sun public key for apt-secure, then install
    wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
    sudo apt-get install virtualbox-3.1
    

The group vboxusers is created during installation.

  • Users of the VirtualBox must be member of that group. New users can be added with
sudo usermod -a -G vboxusers username
  • The daemon for the network interfaces will be assigned to that group.

VirtualBox requires a kernel module vboxdrv.

  • The default location of the module is given by setting KDIR=[fullpath] in file /etc/default/virtualbox.
  • The kernel module can be compiled with
sudo /etc/init.d/vboxdrv setup