I have collected many articles about how to solve the problems encountered during the installation of VMware Tools.

Source: Internet
Author: User
Tags gz file

A: http://blog.sina.com.cn/s/blog_8f3985400100u9ar.html

Solutions to problems encountered during the installation of VMware Tools

    To share files between windows and Virtual Machine Linux systems, use the. GZ file to install VMware Tools. This problem may occur during abnormal interruptions:

 [Root @ localhost vmware-tools-distrib] #./vmware-install.pl   
You have a version of VMware Tools installed.Continuing this install will
First uninstall the currently installed version.Do you 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 was made by the tar Installer (version 4 ).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.Continuing this install will
First uninstall the currently installed version.Do you wish to continue?
(Yes/No) [Yes] No

User canceled install.
Execution aborted.

 

   We noticed that neither [Yes] nor [No] can solve the problem! The cause of this problem is that the installation process was abnormally interrupted, resulting in "/mnt/RedHat/vmware-uninstall-tools.pl" not found.

   At this time, we can go to the. GZ file to decompress the folder"Vmware-tools-distrib"In the bin directory, run ./Vmware-install.pl. At this point, we noticed that you are using the method just now to execute, you can install this tool normally

 

Http://bbs.ylmf.net/forum.php? MoD = viewthread & tid = 1181246.

Virtual machine1.1 log on to VMware through VMWare Infrastructure Web Access
1.2 select virtual machines-> create virtual machine.
1.2.1 give the virtual machine a name and select the Virtual Machine file storage location
1.2.2 next select LINUX operation system
1.2.3 allocate the memory used by the VM. I allocate 1.5 GB
1.2.4 configure the Virtual Machine disk size and storage path. I allocated a 30 GB physical hard disk.
1.2.5 next step. For details, refer
Here
1.3 unbuntu10.10 installation, see:
Ubuntu 10.10 netbook installation illustration
Here you just need to talk about "allocating disk space ":
It is recommended to allocate about 3 GB swap space, and then assign MB dedicated Mount/boot
2. Install VMware tool to install VMWare, which can change the display size of the virtual machine, or allow the real machine to copy strings from the virtual machine and share shared directories with each other ......
2.1 log on to VMware through VMWare Infrastructure Web Access
2.2 click Install VMware Tools on the VM and return to the VM (UBUNTU) desktop to view the CDROM icon of VMware Tools.
2.3 open the folder and copy "“vmwarw.ls...tar.gz" to/home/{user}. decompress the folder vmwarw.ls ....
2.4 check whether the. pl file under vmwaretools has the execution permission. If not, add
2.5 sudo./vmware-install.pl
2.6 enter yes until you see --- the VMware team can close the window and restart
You can also refer
Here
Ubuntu 10.10 has several problems during installation:
Console code

  • What is the location of the directory of C header files that match your running
  • Kernel? [/Usr/src/Linux/include] <press enter directly>
  • The path "/usr/src/Linux/include" is not an existing Directory.

What is the location of the directory of C header files that match your runningkernel? [/Usr/src/Linux/include] <press enter> the path "/usr/src/Linux/include" is not an existing Directory.
Since the kernel version is the latest version captured by APT, you need to enter "/usr/src/linux-headers-2.6.35-22-generic/include"

Note that when installing VMware Tools, you will be asked about the kernel header currently used by the system. Therefore, if there are multiple kernel header directories under/usr/src, it is best to run the "uname-R" command first to confirm which version should be used. In addition, you can not directly use "/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 that 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 that match your runningkernel? [/Usr/src/Linux/include]/usr/src/linux-headers-2.6.35-22-generic/include
After press enter, an error is returned. The specified kernel headers does not match the version used by the current system.
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
  • Compile successfully, it wocould 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-generic ). even if the module were tocompile successfully, it wocould not load into the running kernel.
But the fact is not mismatched, but the uts_release variable in the kernel does not exist. Previously this definition was put in/usr/src/linux-headers-2.6.35-22-generic/include/Linux/version. H, and now it has moved to/usr/src/linux-headers-2.6.35-22-generic/include/Linux/utsrelease. h. Therefore, in a simple method, you only need to add # define uts_release "2.6.35-22-generic" to version. h"
(Use "uname-R" to view the specific value)
Next, a new error message will appear !! -_-| Autoconf. h cannot be found because Autoconf. H is no longer in the addressing directory preset by the VMware Tools installer.
Console code

  • The path "/usr/src/linux-headers-2.6.35-22-generic/include" is a kernel header
  • File directory, but it does not contain the file "Linux/Autoconf. H"
  • Expected. This can happen if the kernel has never been built, or if you have
  • Invoked the "make mrproper" command in your kernel directory. In any case, you
  • May want to rebuild your kernel.

The path "/usr/src/linux-headers-2.6.35-22-generic/include" is a kernel headerfile directory, 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 directory. In any case, youmay want to rebuild your kernel.
You can simply link it:

CD/usr/src/linux-headers-2.6.35-22-generic/include/Linux

Sudo ln-S ../generated/Autoconf. H ./
The installation should be completed successfully.

Abstract 3: http://zhidao.baidu.com/question/91483433.html

After installing VMware Tools for rhel5 on a VM of vmware6.0, you will find that VMware Tools cannot be installed according to the default settings, the main error occurred during installation is that the Linux kernel header file cannot be found. Although not installing this tool will not affect the use of the virtual machine itself, it is inconvenient to operate, especially to move the mouse in and out. How can I install it? If you do not install the kernel source code when installing the system, you can go to the website http://www.kernel.org to download the kernel source code that conforms to your own system. The system kernel version can be viewed directly under/boot. it should be 2.6.18. download the linux-2.6.18.8.tar.gz file locally, decompress it to the/usr/src path, enter, and run:
Make mrproper make oldconfig make runs fast in the first two steps and can be executed normally. However, to compile the kernel in step 3, it may take several hours to check the machine status, there is no need to wait until it is fully compiled, As long as make prompts to generate a version after the beginning. H and utsrelease. then press Ctrl-C to exit the compilation. Then you need to enter. /include/Linux path, modify the file utsrelease. h. Set the version number to 2.6.18-8. el5xen, and then modify the version. h, add a line # define uts_release "2.6.18-8. el5xen ", save and exit.
In this way, you can officially install VMware tools, decompress the tools.tar.gz file, enter, and execute install. Basically, you can install the tool by pressing enter. Now you can enjoy the smooth feeling of moving the mouse in and out, and copy and paste the text directly between the parent and child operating systems. PS: How nice is csdn!

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.