1、打开虚拟机VMware Workstation,启动Ubuntu系统,菜单栏 - 虚拟机 - 安装VMware Tools,不启动Ubuntu系统是无法点击“安装VMware Tools”选项的,
2.在ubuntu中提取VMwareTools…tar.gz文件
3.在终端命令中(shift +alt +t) 进入解压目录 ,通过root权限(sudo su) 执行命令 。./vmware-install.pl
4.提示 ifconfig未找到 sudo apt-get install net-tools
5.重启ubuntu reboot
6.异常处理:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
解决:
1.delete the lock file
sudo rm /var/lib/apt/lists/lock
2.delete the lock file in the cache directory
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
Thanks!