Install VMwareTools in Debianetch

Source: Internet
Author: User
Install VMwareTools in Debianetch-Debian for the Linux release. For more information, see. After changing Debian from Stable to Testing, we found that the previously Installed VMware Tools were not available and always prompted that they were not installed. So I re-Installed VMware Tools, but I did not expect it. After a long time, I summarized the steps for installing VMware Tools In Debian:

Install GCC/Make:

The installation of VMware Tools requires compilation and make. Therefore, GCC and Make must be installed in advance: "apt-get install gcc make ;", or install build-essential directly to install all the related packages;

Modify the GCC link:

To install VMware Tools, you must use GCC of the same version as the kernel. Otherwise, the Error "make: *** [vmmemctl. ko] Error 2" will occur. There was a warning during the installation, but at first I didn't care about it. If yes was selected, it would fail. It took only half a day to find out that it was caused by the GCC version. 2.6.22's kernel was compiled by GCC4.1, and the latest version is 4.3 by default, so we need to delete the gcc Link under/usr/bin and recreate a 4.1 soft link: "ln-s/usr/bin/gcc-4.1/usr/bin/gcc ";

Install the kernel header file:

The installation of VMware Tools depends on the kernel header file. Otherwise, the "version. h" file cannot be found during installation. After Debian is changed from Stable to Testing, the kernel is upgraded from 2.6.18 to 2.6.22. When installing VMware Tools, you must reinstall the header file of the new kernel: "apt-get install linux-headers-2.6.22-3-686 ";

Install VMware Tools:

After all preparations are completed, it is easy to Install VMware Tools. Choose Install VMware Tools in the VM menu of VMware ..., Then the system will automatically mount the VMware Tools Package to the optical drive, the compressed package unzipping, run the vmware-tools-distrib under the vmware-install.pl, one way to next;

After all the tasks are completed, restart the system. OK.
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.