How/Steps to install VirtualBox – CentOS 5.x, 6.x Rhel 5.x, 6.x

The installation steps are quiet simple. OK, before installing the VirtualBox package you must have an idea about it.

What is VirtualBox ? What does it mean ?
Of-course, It is time that you knew about it! We can simply say that a VirtualBox is a cross-platform Virtualization application. That means, by using VirtualBox we can Install and Run multiple OS(Inside multiple virtual machines) at the same time. So, for example, you can run Windows on your Linux machine, You can run Linux on your Windows, You can run Linux and Windows on your Mac and so on.

Some advantages and disadvantages of virtualization.
There are some advantages and disadvantages on Virtualization that we need to discuss, some of the advantages and disadvantages are listed below:
Advantages:
>> Running multiple operating systems simultaneously.
>> Easier software installations.
>> Testing and disaster recovery.
>> Infrastructure consolidation.

Disadvantages:
>> Disk space and memory limit.

Here, I am discussing the installation steps of VirtualBox on CentOS and Rhel.

Method I : Using the package manager YUM

Step 1 : Create a repo with file extension “.repo” file under /etc/yum.repos.d/ directory for installation.

# vi /etc/yum.repos.d/virtualbox.repo

Step 2 : Add repository details in virtualbox.repo file.
Repository entry for CentOS and RHEL.

[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc

Refer : download.virtualbox.org
Step 3 : Install VirtualBox

# yum install VirtualBox-4.3

Method II : Installation from RPM

In this method of installation you may suffer with dependencies. Do follow these steps;

Step 1 : Download proper packages from >> Download VirtualBox for Linux Hosts <<

Step 2 : Install using RPM command.
Example:

rpm -ivh VirtualBox-4.3-4.3.6_91406_el5-1.x86_64.rpm

That’s it !! 🙂 🙂

 

Related posts:
Snoopy logger Installation
Suhosin Patch Installation
Softaculous on cPanel server
Memcached and memcache Installation

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *