Tuesday, May 31, 2011

Oracle Enterprise Linux on VMWARE

If you, like me, would like to play around with Oracle Enterprise Linux or whatever it's called these days it is most likely you'll end up installing it on some flavor of VmWare.

I tried Esxi 4.1, and installation is smooth (I chose RHEL 6 as Guest OS type because Oracle Linux was not available).
Not so much for the Vmware Tools install which quite blankly stated that the kernel headers were not valid, whatever kernel directory I threw at it.

Then it hit me that Oracle is using a special kernel which is buzzworldy named UEK (Unbreakable Enterprise Kernel). I then edited grub.conf and reverted to a normal kernel (normally the second item), rebooted and installation of Vmware tools finally succeeded.

Next question is: should I bother about NOT using Oracle's UEK?
The answer is generally no (in my case I'm just running a Zope App), unless you are using the VM for running a production database (and in that case you shouldn't be running it on vmware in the first place).