在Ubuntu 18.04.2系统中安装成功VMware Workstation 15后,可以在终端下使用apt命令来安装open-vm-tools(VMTools工具),以下是详细的操作步骤。
1、首先修改国内镜像源 运行以下命令及添加源地址: heihouzi@ubuntu100:~$ su - root passwd ****** root@ubuntu100:~# cd /etc/apt/ root@ubuntu100:/etc/apt# cp sources.list sources.list.bb root@ubuntu100:/etc/apt# vi sources.list deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
2、然后对Ubuntu 18.04.2系统进行软件升级 请运行以下命令: root@ubuntu100:~# apt update root@ubuntu100:~# apt upgrade root@ubuntu100:~# apt-get update
3、安装VMTools工具 做完以上两个步骤就可以安装虚拟工具VMTools了,建议不要用虚拟CD安它自带的(参考:Ubuntu18.04系统下全程图解安装VMware Tools的方法),而是在系统终端里使用apt命令安装open-vm-tools,命令如下: //安装虚拟工具 root@ubuntu100:~# apt install open-vm-tools //双向拖放文件 root@ubuntu100:~# apt install open-vm-tools-desktop //文件夹共享 root@ubuntu100:~# apt install open-vm-tools-dkms 等待命令执行完毕即可。
相关主题 |