X

News, tips, partners, and perspectives for Oracle’s virtualization offerings

Installing VirtualBox on Oracle Enterprise Linux

Guest Author
VirtualBox.png
As you can imagine, there are a lot of people playing around with VirtualBox and Oracle Enterprise Linux (OEL) inside the company at the moment. This usually involves one of:
  • Using Oracle Enterprise Linux as a guest - so that you can run OEL on Windows and Mac clients, for example.
  • Using Oracle Enterprise Linux as a host - so that you can your Windows and all your other vm's on an OEL platform.
In the latter case of installing VirtualBox on Linux, one of the most common issues people hit is that the version of the Linux kernel they're using doesn't match the version of the VirtualBox kernel module which is being installed.
On many Linux distributions, the VirtualBox installer handles this situation by simply silently re-building the kernel module for the current kernel version. But the base OEL doesn't include the necessary tools (gcc and the kernel-devel packages) in the base distro. So here's how to get beyond this on OEL:
  1. Update your system. Open a terminal and as root, execute
    yum update
  2. Install the GNU C compiler and the kernel development packages using
    yum install gcc

    followed by
    yum install kernel-devel
  3. Reboot your guest system in order to activate the updates and then install VirtualBox as before.
Of course, this is all covered in the User Manual here for hosts and here for guests. ;-)
- FB

Join the discussion

Comments ( 1 )
  • Will Thursday, September 12, 2013

    •Using Oracle Enterprise Linux as a host - so that you can your Windows and all your other vm's on an OEL platform.

    As step 3 is rebooting the HOST linux before installing v-box?

    Also the here for hosts link did not really cover this topic for me, and that is why I was so happy to find your post.

    Thnx

    WillC


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha