Centos solves The path "" is not a valid path to the 3.2.0-4-a
My machine was blown up, and then I had to reinstall my VM, and then I wanted to install vmtools in my shared folder. A problem occurred during installation, I forgot how it was solved before and it bothered me for a long time.
Searchingfora valid kernel header path...
The path "" is not a valid path to the 3.2 . 0 - 4 -amd64 kernel headers. Would you like to change it? [yes]That's him !! The answers provided on the Internet cannot be used at all! Copy! Copy! They are all the same! The problem cannot be solved simply by one sentence. yum installkernel first installs this kernel and then installs vmtools. Then, when arriving at this location, do not press enter by default (yes by default). You enter no, then you can continue the installation. If you still cannot share folders or drag files after the installation, execute this
yum install automake gcc gcc-c++ kernel-devel cmake
Then re-install vmtools.