About the installation of VMware tools encountered in the problem solved, a number of web picks

Source: Internet
Author: User
Tags gz file

NET Pick one: http://blog.sina.com.cn/s/blog_8f3985400100u9ar.html

Problem solving when installing VMware tools

To enable Windows systems and virtual machine Linux systems to share files, install the VMware Tools tool using the. gz file. This problem may occur when an exception is interrupted:

[root@localhost vmware-tools-distrib]#./vmware-install.pl
You are have a version of VMware Tools installed. Continuing this install would
The currently installed version of the uninstall. Do your wish to continue?
(yes/no) [Yes]

Error: Unable to execute "/mnt/redhat/vmware-uninstall-tools.pl.

Uninstall failed. Please correct the failure and re run the install.

Execution aborted.

[root@localhost vmware-tools-distrib]#./vmware-install.pl

A Previous installation of VMware Tools has been detected.

The previous installation is made by the TAR Installer (version 4).

Keeping the TAR4 Installer database format.

You are have a version of VMware Tools installed. Continuing this install would
The currently installed version of the uninstall. Do your wish to continue?
(yes/no) [Yes] No

User cancelled install.
Execution aborted.

We notice that the input "yes" or "no" does not solve the problem. This problem arises because of the unusual interruption in the installation process, which causes "/mnt/redhat/vmware-uninstall-tools.pl" to be found.

At this point, we can go to the. gz file extracted from the folder "Vmware-tools-distrib" under the Bin directory, execute./vmware-install.pl. At this point, we notice that you are using the method you just made, that you can install the tool normally

NET pick Two: http://bbs.ylmf.net/forum.php?mod=viewthread&tid=1181246

Virtual Machine1.1 via VMware infrastructure Web access to VMware
1.2 Select virtual Machines-> Create virtual Machine.
1.2.1 Give the virtual machine a name, select the virtual machine file storage location
1.2.2 Next Choose Linux Operation System
1.2.3 Allocate the memory size used by the virtual machine, I allocate 1.5G
1.2.4 Configure the virtual machine disk size and storage path, I have assigned a 30G physical hard drive
1.2.5 Next, you can refer to this in detail
1.3 Unbuntu10.10 installation, see more: Ubuntu 10.10 Netbook installation diagram
Here's what you need to say. In "Allocating disk space":
It is recommended to allocate about 3G of swap space, and then 100M to be dedicated to mount/boot
2. Install VMware Tool installation VMware can change the size of the virtual machine display, you can also let the real machine drink virtual machine to achieve a copy of the string, sharing shared directory ...
2.1 Landing VMware via VMware Infrastructure Web access
2.2 Click on the virtual machine to install VMware Tools, back to the virtual machine (Ubuntu) desktop back to see a VMware Tools cdrom icon.
2.3 Open it, copy "Vmwaretools....tar.gz", to/home/{user}; Unzip for folder Vmwaretools ....
2.4 See if the. pl file under Vmwaretools has execute permissions and if not, add
2.5 sudo./vmware-install.pl
2.6 and then enter yes until you see---the VMware Team can close the window and reboot
You can also refer to this
Ubuntu 10.10 has a few problems at the time of installation:
Console code

What is the location of the directory of C header files This match your running kernel? [/usr/src/linux/include] < press enter> directly
The path "/usr/src/linux/include" is existing directory.


What is the location to the directory of C header files that match your runningkernel? [/usr/src/linux/include] < directly press enter>the path '/usr/src/linux/include ' is ' not ' existing directory.
because the Kernel version is the latest version of APT's capture, you will need to enter "/usr/src/linux-headers-2.6.35-22-generic/include"
Note that VMWare Tools installation asks The current system uses the Kernel header, so if there are multiple Kernel header directories under/USR/SRC, it is best to execute the "uname-r" directive to confirm that this version should be used. In addition, you can not directly use the "/usr/src/linux-headers-2.6.35-22-generic/include", first "sudo ln-s/usr/src/linux/usr/src/ Linux-headers-2.6.35-22-generic/include
Console Code

What is the location of the directory of C header files th At match your running    kernel? [/usr/src/linux/include]/usr/src/linux-headers-2.6. 35-22-generic/include   


What is the location of the directory of C header files This match your runningkernel? [/usr/src/linux/include]/usr/src/linux-headers-2.6.35-22-generic/include
Press ENTER after, or the error is reported, the specified kernel headers drink the current system use version does not match.
Console code

The directory of kernel headers (version @ @VMWARE @@ uts_release) does not match your running kernel (version 2.6.35- 22-generic). Even if the module were to compile successfully, it would not load into the running kernel.


The directory of kernel headers (version @ @VMWARE @@ uts_release) does not matchyour running kernel (version 2.6.35-22-gene RIC). Even if the module were tocompile successfully, it would not load into the running kernel.
But the fact is not a mismatch, but Kernel there is a variable uts_release does not exist. Previously this definition was placed in the/usr/src/linux-headers-2.6.35-22-generic/include/linux/version.h and has now been moved to the/usr/src/ Linux-headers-2.6.35-22-generic/include/linux/utsrelease.h. So the simple way, we just need to add in the Version.h #define Uts_release "2.6.35-22-generic" (the specific value using "uname-r" view)
Next, there will be a new error message!! -_-|| Autoconf.h is not found because autoconf.h is no longer a preset addressing directory for the VMware Tools installer.
Console code

The path "/usr/src/linux-headers-2.6.35-22-generic/include" is a kernel header file directory that but it does not contai n the file "Linux/autoconf.h" as expected. This can happen if the kernel has never been built, or if you have invoked the ' make mrproper ' command in your kernel D Irectory. In any case, your may want to rebuild your kernel.


The path "/usr/src/linux-headers-2.6.35-22-generic/include" is a kernel headerfile directory that but it does not contain the File "Linux/autoconf.h" asexpected. This can happen if the kernel has never been built, or if you haveinvoked the ' Make mrproper ' command in your kernel Tory. In any case, Youmay want to rebuild your kernel.
You can simply link to it:

Cd/usr/src/linux-headers-2.6.35-22-generic/include/linux

sudo ln-s. /generated/autoconf.h./
Then it should be able to complete the installation successfully.

NET picks Three: http://zhidao.baidu.com/question/91483433.html

After installing VMware Tools on RHEL5 to install RHEL5 with the VMware6.0 version of the virtual machine, you will find that you cannot install VMware Tools according to its default settings, and the error in the installation process is primarily to find the containing header file for the Linux kernel. Although this tool does not have any effect on the use of the virtual machine itself, it is inconvenient to operate, especially the movement of the mouse. How to install it. If you install the system, do not install the kernel source code, you can go to the website http://www.kernel.org download to meet their own system kernel source. The system kernel version number can be seen directly under the/boot, should be 2.6.18, so download linux-2.6.18.8.tar.gz file to the local, decompression to/USR/SRC path, enter, run: Make Mrproper makes Oldconfig Make the first two steps to perform quickly, the normal execution can be completed, but the third step to really compile the kernel, look at the machine situation may take several hours, there is no need to wait for it completely compiled, You can press Ctrl-c to exit the compilation as long as you are prompted to generate Version.h and utsrelease.h when you first start. Then you need to enter./include/linux path, modify the file utsrelease.h, set the inside version number to 2.6.18-8.el5xen, and then modify the Version.h, add a row #define Uts_release " 2.6.18-8.el5xen ", save exit. This can be formally installed VMware Tools, will tools.tar.gz file decompression, enter, execute install, basically all the way to press ENTER can be installed successfully. You can now enjoy the smooth movement of the mouse movement, and you can copy and paste the text directly between the parent and child operating system. PS: or csdn good many ah.

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.