User Tools

Site Tools


installvmwaretools
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


installvmwaretools [2013/01/28 04:29] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Install VMware Tools in Linux ======
 +**NOTE:** This is for Redhat/Fedora, although it would be similar in other dtstros.
 +
 +Here is the message you get:
 +<file>
 +What is the location of the directory of C header files that match your running
 +kernel? [/usr/src/linux/include]
 +</file>
 +When you browse to it you realize the path "/usr/src/linux/include" is not an existing directory.
 +
 +To fix this, run the following:
 +<file>
 +yum -y install gcc gcc-c++ kernel-devel
 +uname -r
 +</file>
 +Make note of your kernel version.
 +<file>
 +vmware-config-tools.pl
 +</file>
 +
 +If the kernel source directory is there and still you are getting this error, edit /lib/modules/yourkernelversion/include/linux/version.h file and add the following line:
 +<file>
 +#define UTS_RELEASE "your-kernel-version"
 +</file>
 +Run vmware-config-tools.pl
 +It should now find the appropriate directory. 
 +
 +===== Alternate: =====
 +Another solution, if you are having problems with VMware tools, is to install open-vm-toolbox along with its dependencies.
 +<file>
 +yum -y install open-vm-toolbox 
 +</file>
 +
 +**Ubuntu Instructions**
 +
 +[[http://langui.sh/2009/10/05/ubuntu-9-10-in-vmware/|http://langui.sh/2009/10/05/ubuntu-9-10-in-vmware/]]
 +
 +-- Main.FredPettis - 2010-10-13
  
installvmwaretools.txt · Last modified: 2013/01/28 04:29 by 127.0.0.1