User Tools

Site Tools


installvmwaretools

Differences

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

Link to this comparison view

installvmwaretools [2013/01/27 21:29] (current)
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/27 21:29 (external edit)