Solve the Problem of installing VMware Tools after CentOS mini Installation

Source: Internet
Author: User

Prepare and install necessary components first.

Yum-y groupinstall "Perl Support"

Yum-y install gcc-c ++ automake make kernel-devel

 

Find the server in vCenter and install the VMWARE upgrade tool (omitted for graphic operations ).

Mkdir/mnt/cdrom
Mount-o loop/dev/cdrom/mnt/cdrom
Cd/mnt/cdrom

Cp VMwareTools *. */home

--------------------- After the copy is completed, the mounting can be broken.
Umount/mnt/cdrom
Rm/mnt/cdrom-rf

 

Cd/home

Tar zxvf VMwareTools ...... tgz

Cd vm ....../

Then install:

./Vmware_install.pl

 

If it is normal, press enter all the way.

 

 

========================================================== ============

Searching for GCC...

The path "" is not valid path to the gcc binary.
Wocould you like to change it? [Yes]
If this occurs, it indicates that gcc is not installed.
# Yum install gcc-c ++ automake make
Install the compiling environment once


Searching for a valid kernel header path...
The path "" is not valid.
Wocould you like to change it? [Yes]
If this occurs, the kernel-devel package is not installed.
# Yum install


When VMware tools is successfully installed, press enter as follows:
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc ".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Wocould you like to change it? [No]

Searching for a valid kernel header path...
Detected the kernel headers of the running kernel
"/Lib/modules/2.6.32-71. el6.i686/build/include ".
The path "/lib/modules/2.6.32-71. el6.i686/build/include" appears to be a valid
Path to the kernel headers of the running kernel.


Wocould you like to change it? [No]

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.