标签:style http color os ar for sp c 问题
准备工作,先安装必要的组件。
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)安装问题
标签:style http color os ar for sp c 问题
原文地址:http://www.cnblogs.com/dashafa/p/4011184.html