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:
- Update your system. Open a terminal and as root, execute
- Install the GNU C compiler and the kernel development packages using
yum install gcc
yum install kernel-devel
- Reboot your guest system in order to activate the updates and then install VirtualBox as before.