Installing vmtools in ubuntu in vmware

Source: Internet
Author: User
In vmware, ubuntu encounters a vmtools installation problem-general Linux technology-Linux technology and application information. The following is a detailed description. I installed ubuntu in vmware and Installed vmware-tools on the command line. Run vmware-install.pl, press enter all the way, very smooth.
The vmware-config-tools.pl step is stuck here in the specified c header files location.

What is the location of the directory of C header files that match your running kernel?
The default directory is [/usr/src/linux/include].

I have read two items under/usr/src in the system.
/Linux-2.6.27-7 and/linux-2.6.27-7-generic, both specify the try, The result fails.

I checked it online and installed it later.
Sudo apt-get install build-essential
Sudo apt-get install linux-headers-2.6.27-7-generic, which 2.6.27-7-generic is seen with uname-.

Continue config, or stuck there, pointing the directory to/usr/src/linux-headers-2.6.27-7-generic/include, prompting:

The directory of kernel headers (version @ VMWARE @ UTS_RElEASE) does not match
Your running kernel (version 2.6.27-7-generic). Even if the module were to compie successfully,
It wocould not load into the running kernel.

It means/usr/src/linux-headers-2.6.27-7/include does not work either.
No, please give me some advice.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.