Ubuntu上安装VMware tools

时间:2022-03-01 17:28:15

Ubuntu上安装VMware tools

author:headsen chen     2017-10-12  -  10:13:50

个人原创,转载请注明作者,出处,否则。依法追究法律责任

chen@chen-virtual-machine:~$ history

升级安装包仓库

1 sudo apt-get dist-upgrade

重启,以防会升级内核

2 sudo reboot
查看内核版本
4 uname -a
挂载光盘(直接用mount挂载会报错,之后用sudo 来执行root权限)
6 mount /dev/cdrom /mnt
7 sudo mount /dev/cdrom /mnt
8 cd /mnt
9 ls
10 cp VMwareTools-9.6.2-1688356.tar.gz /tmp
11 cd /tmp
12 ls
13 tar fx VMwareTools-9.6.2-1688356.tar.gz
14 ls
15 cd vmware-tools-distrib/
16 ls
17 ./vmware-install.pl  (此处执行会报错,后面加上sudo)
18 sudo ./vmware-install.pl     
19 sudo reboot     (安装VMware tools后要重启才能生效)
20 history
chen@chen-virtual-machine:~$

Ubuntu上安装VMware tools