centos7安装先解决依赖关系
[[email protected] ~]# yum -y install perl gcc gcc-c++ make cmake kernel kernel-headers kernel-devel net-tools
安装 vmware-tools
创建目录
[[email protected] ]mkdir /mnt/cdrom
挂载到cdrom
[[email protected] ]mount /dev/cdrom /mnt/cdrom/
查看挂载内容
[[email protected] ]ls /mnt/cdrom/
复制到tmp目录下
[[email protected] ]cp /mnt/cdrom/VMwareTools-10.0.6-3560309.tar.gz /tmp/
切换到tmp下
[[email protected] tmp]cd /tmp/
查看
[[email protected] tmp] ls
解压
[[email protected] tmp]tar -zxvf VMwareTools-10.0.6-3560309.tar.gz
查看
[[email protected] tmp]# ls
cim_schema.ViJIt orbit-gdm pulse-9n7tEoT3ZgqE pulse-uoZwB5teRjI4 virtual-root.jp4T6c virtual-root.Qvr3GM VMwareTools-10.0.6-3560309.tar.gz vmware-tools-distrib yum.log
切换到vmware-tools-distrib/
[[email protected] tmp]# cd vmware-tools-distrib/
查看
[[email protected] vmware-tools-distrib]# ls
bin caf doc etc FILES INSTALL installer lib vgauth vmware-install.pl vmware-install.real.pl
执行vmware-install.pl,加参数-d
[[email protected] vmware-tools-distrib]# ./vmware-install.pl -d
原文地址:https://www.cnblogs.com/jamnoble/p/11730017.html