1.打开VMware,菜单栏虚拟机->安装VMwareTools
2.点开光驱,把压缩包复制到桌面
3.解压
如何开启sudo权限:
sudo passwd root
之后输入密码
查看解压文件夹,执行vmware-install.pl文件
安装过程中碰见如下报错信息:
Eject Failed: If possible manually eject the Tools installer from the guest
cdrom mounted at /media/cdrom0 before canceling tools install on the host.
root@xiao:/home/vmware-tools-distrib#
在当前目录下执行以下三条命令:
root@xiao:/home/dnt/vmware-tools-distrib#rm -rf /etc/vmware-tools
root@xiao:/home/dnt/vmware-tools-distrib#rm -rf /tmp/vm*
root@xiao:/home/dnt/vmware-tools-distrib#./vmware*.pl
之后reboot重启
验证安装是否成功:
vmware-toolbox-cmd -v