Thursday, 8 May 2014

Install Oracle VirtualBox in RHEL

1.Update the kernel yum and reboot the server
#yum install kernel
2. Inpm/rhel/virtualbox.repo

Install EPEL repo for install of dependencies
#wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6.8-noarch.rpm

#rpm -ivh epel-release-6.8-noarch.rpm
#cd /etc/yum.repo.d/

3.Now Install the dependcies using yum

#yum install binutils gcc patch libgomp glibc-header glibc-devel kernel-headers kernel-devel dkms
4.Go to /etc/yum.repo/d/ folder and download virtual box repo using wget command

#wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo

5.Install the virtualbox-4.3 using yum command

# yum install virtualbox-4.3

6.Rebuild the kernel modules
#/etc/init.d/vboxdrv setup

7.Installation complete now you can run virtualbox using command line or you can use launcher from menu
#virtualbox

No comments:

Post a Comment