CentOS

The Community ENTerprise Operation System

Disable SELinux and Remove Security Contexts From Files

Not everyone needs/wants SELinux enabled on their system.

Edit /etc/selinux/config and set SELINUX=disabled

This example works for RHEL/CentOS/Fedora type systems. Other systems will be similar, but the location and filename may be different.

Now, reboot the machine and login as root. Change to the root directory, and run the following command to remove the security contexts associated with all the files on the system.

VMWare Workstation as a Service

I have found that you do not need the Workstation GUI up and running on the server in order to run your VM guests. I start the VMs using the vmrun command. I created a vmguests init.d startup script. This script depends on a /etc/sysconfig/vmguests config file to be present. This was created and tested on a RHEL/CentOS 5 and 6 installation,

/etc/sysconfig/vmguests