Install VM virtual BOX in your Debian / Ubuntu Machine

oracleHi

Today I’ll post how to configure / use the Oracle VM virtual box  on Ubuntu / debian distro , first we gonna need to do some actions to prepare our system , we gonna use the  oracle virtual box packaged version and add to the repo the sources , install the key , etc…

1. Download & Install Headers of your kernel 

sudo apt-get install linux-headers-$(uname -r)

2. This command adds virtual box repository and install vmvirtualbox

sudo sh -c “echo ‘deb http://download.virtualbox.org/virtualbox/debian ‘$(lsb_release -cs)’ contrib non-free’ > /etc/apt/sources.list.d/virtualbox.list” && wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add – && sudo apt-get update && sudo apt-get install virtualbox-4.3 dkms

3.You’re done , if the process fails please read the info at the end of post

faunso

Info:

if this process doesn’t work please run before installing linux headers the following command , usually the error is

Kernel driver not installed (rc=-1908), please execute

sudo /etc/init.d/vboxdrv setup

This command rebuilds the virtual box kernel driver

See you all!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s