Solve the Problem of installing VMware Tools after centos mini Installation

Source: Internet
Author: User
Tags automake

准备工作,先安装必要的组件。

yum -y groupinstall "Perl Support"

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

 

然后在vCenter里找到这台服务器,并挂接VMWARE的升级工具(图形操作的略掉)。

mkdir /mnt/cdrom
mount -o loop /dev/cdrom /mnt/cdrom
cd /mnt/cdrom

cp VMwareTools*.* /home

---------------------复制完成以后,就可以断了挂载
umount /mnt/cdrom
rm /mnt/cdrom -rf

 

cd /home

tar zxvf VMwareTools........tgz

cd vm....../

然后安装即可:

./vmware_install.pl

 

如果一些正常,一路回车就可以了。

 

 

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

Searching for GCC...

The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
如果出现这个就表明gcc没有安装
# yum install gcc gcc-c++ automake make
将编译环境一次装好


Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
如果出现这个就表示kernel-devel包没有安装
# yum install


成功安装VMware tools时的提示如下,一路回车:
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.
Would you like to change it? [no]

Searching for a valid kernel header path...
Detected the kernel headers of the running kernel at
"/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.


Would you like to change it? [no]

更多CentOS相关信息见CentOS 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=14

解决CentOS系统mini安装后的虚拟机工具(VMware Tools)安装问题

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.