vmware-tools安装

tar包安装vmware-tools

1 上传tar包到linux和解压
cd /tmp
rz
tar -xvf VMwareTools-8.4.4-301548.tar.gz



2 执行安装
./vmware-install.pl

直接默认enter就行了

3 安装过程中可能遇到的问题
  1 GCC尚未安装
引用
Searching for GCC...

The path "" is not valid path to the gcc binary.

Would you like to change it? [yes]

  解决办法:安装GCC
yum install -y gcc

  2 kernel-devel尚未安装
引用
Searching for a valid kernel header path...

The path "" is not valid.

Would you like to change it? [yes]

  解决办法:安装kernel-devel
yum install -y kernel-devel

  如果安装完kernel-devel还出现上述问题,原因是:kernel版本和kernel-devel版本不一致
  查看kernel版本信息,很明显版本不一致了

 
yum update kernel
shutdown -r now (更新kernel后,要重启系统才行)

最后,设置共享文件,

vmware-tools安装



 

你可能感兴趣的:(vmware,centos,Vmware-tools)