Quantcast
Channel: LinOxide
Viewing all articles
Browse latest Browse all 1287

Install Oracle VirtualBox On Ubuntu - Easy To Use Virtualization Application

$
0
0

Oracle Virtual Box is one of the most well known Virtualization applications. It lets you run operating systems virtually on your base system (known as host operating system). You create virtual machines on your current operating system  or host operating system using Oracle Virtual Box and then can install operating system of your choice on these newly created virtual Machines. Thus, this way, one host operating system is capable of running multiple Guest operating systems.

Supported host operating systems

Oracle Virtual Box is cross-platform application. It can be easily installed on Linux, Mac OS X, Windows ( XP, Vista, Windows 7, 8 ) , Solaris operating systems. It supports both 32-bit and 64-bit architectures for host and guest operating systems. 32 bit host operating systems can have 64-bit guest virtual machines and vice versa.

Supported Guest operating Systems

You can install Windows, Linux, BSD, OS/2, Solaris, Haiku operating systems on the virtual machines created by Virtual Box.  You can find the complete list of supported guest operating systems from this list.

Virtual Box application was taken over by Sun Microsystems in 2008, Oracle Corporation continued work on it as well and recently released Virtualbox 4.3.24. Virtualbox 4.3.24 took attention of the professionals because it is the very first Virtualization application to Support Linux kernel 4.0. Virtual Box is very vibrant application and it receives regular updates and bug fixes.

Let’s see how we can install Virtualbox 4.3.24 on Ubuntu and create Virtual Machines using this.

Installation

First of all, we need to edit APT source file and include detail for the required package. Edit /etc/apt/sources.list file in Gedit application by running this command.

 sudo gedit /etc/apt/sources.list

Update APT

Ubuntu 14.10 users should add following line:

deb http://download.virtualbox.org/virtualbox/debian utopic contrib

Ubuntu 14.04 users should add following:

deb http://download.virtualbox.org/virtualbox/debian trusty contrib

Gedit Apt
Once done, save the file and return back to your Terminal window.  Download and add the Key for Virtualbox now; run following command on terminal:

wget http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

VirtualBox Key
Its time to update APT repository, run following command on the Terminal.

sudo apt-get update

That’s all, Your Ubuntu System is ready to install Virtualbox now. Simply run following command to install Virtualbox 4.3.24.

sudo apt-get install virtualbox-4.3

Install VirtualBox
Virtualbox 4.3.24 has been installed successfully, Launch it from Applications >> Oracle VM VirtualBox option.

Launch VirtualBox

Here is the welcome screen of Virtualbox 4.3.24.

VirtualBox Welcome Screen

 

Creating Virtual Machines using VirtualBox 4.3.24

Virtualbox 4.3.24 provides very user-friendly and graphically rich interface to create virtual machines. Simply click “New” option and “Create Virtual Machine” dialogue box will be displayed. Specify the name of your Virtual Machine, Type, Version and hit “Next”.

Create VM
Select the amount of memory you want to allocate to this Virtual Machine.

VirtualBox Memory

Create a new virtual hard drive from here, simply choose “create a virtual hard drive now” option and click “Create”. You can use any existing virtual drive too if you want.

VirtualBox VHD
Choose Hard drive file type from this step.  Leave the option unchanged and click “Next”.  Auto Selected VDI option should suffice your needs.

VirtualBox Hard type

 

Next step, choose if you want your hard disk  to be "Dynamically allocated" or "fixed". "Dynamically allocated" is preferred choice here as it will cater the current and future needs of your virtual machine.

VirtualBox Storage Type

Last step, specify the size and location of Virtual hard drive and click “Create” button.

VirtualBox Location

That’s all, Your new Virtual Machine is ready now.

VirtualBox New VM

 

Boot Virtual Machine using ISO files

When a new VM is created, it will be in “Powered-off” mode by default. First, You need to specify how you want to boot this virtual machine and then you will be able to start it.  Let’s see how we can boot this newly created virtual machine using ISO file.

For the sake of demonstration, we have downloaded and saved the ISO file of Ubuntu on the disk already.  Right click the newly created virtual machine name in the left side small window and choose “Settings”.

VM Settings

In the “Settings” dialogue box, click the “System” option and make sure Hard Disk is on the top of “Boot Oder”, use up arrow key to move Hard drive to the top.

VM Boot Order

Now click the “Storage” option and load the ISO file here. From right side, under “Attributes”, select “Choose a Virtual CD/DVD disk” option from drop down.

VirtualBox choose VHD

Browse to the location where you have stored the ISO file and select it.

VHD Location

That’s all, click “Ok” here. You are done with the required setting now.

VM Final Configuration

Its time we start the Virtual Machine, Right click it and choose “Start”. Virtual Box will start the machine using the ISO file we specified earlier.

Start VirtualBox VM

 

VirtualBox Booting

There you go, Ubuntu is booting up from ISO file. We can now  proceed with its installation in the virtual machine.

Install Ubuntu

Conclusion

Virtual Box is a must app for software developers, application testers and bloggers. Not only professionals, but normal computer users can benefit from it alot. As we described above with detailed screenshots, its installation and usage is pretty easy and users find it intuitive . Visit Virtual Box official site for most details and exciting updates about the app. Have a good day ahead !

The post Install Oracle VirtualBox On Ubuntu - Easy To Use Virtualization Application appeared first on LinOxide.


Viewing all articles
Browse latest Browse all 1287

Trending Articles