VMware Workstation and 3.X Kernels

A little while ago (and again more recently) I updated my kernel to 3.7.3-101 and was stumped as to why VMware Workstation was unable to find the matching kernel headers, despite confirming they were indeed correct and installed. After lots of searching and some reading, I found the following command: ln -s /usr/src/kernels/3.7.3-101.fc17.x86_64/include/generated/uapi/linux/version.h /usr/src/kernels/3.7.3-101.fc17.x86_64/include/linux/version.h This […]

Manually Uninstall VMware Tools

I recently had a requirement to remove vmware tools manually from a windows 2003 server. This is what I had to do. Remove any keys with a DisplayName of VMware Tools anywhere in the following keys: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionuninstall HKEY_LOCAL_MACHINESoftwareClassesInstallerProducts   Remove the keys with a ProductName of VMware Tools in the following keys HKEY_CLASSES_ROOTInstallerProducts Delete the […]

Mounting /tmp and /var/tmp as a separate file system

After installing ConfigServer Security and Firewall, many of us try to achieve as many ‘green’ results as possible. The often tricky one (or two) options to achieve, is mounting /tmp and /var/tmp as ‘separate’ file systems. On a bare metal linux installation (no virtualisation) this is easy to achieve by creating a file system (partition […]

Disabling PHP Functions with SUHOSIN and Optionally cPanel/WHM

If your server has SUHOSIN installed/enabled, regardless of whether you have cPanel/WHM or not, this should work for you. Disabling PHP functions using theĀ ‘disable_functions’ section of your php.ini file won’t really work too well if you using SUHOSIN. Instead, comment out the ‘function_disable’ line and add the following under neath it: suhosin.executor.func.blacklist = “show_source,shell_exec,passthru,exec,popen,allow_url_fopen,system” Of […]