In the full version of VMware, the VMware tools will be installed by default.However, we also should know how to install it on command. And this page instructs how to install the VMware Tools in the Ubuntu server.
-
Mount the VMware tools ISO
Use the command:
//mount the cdrom
Ubuntu:~$ sudo mount /dev/cdrom /mnt/cdrom
mount: /dev/sr0 is write-protected, mounting read-only
//check the package name
Ubuntu:~$ ls /mnt/cdrom
1.txt VMwareTools-xx.x.xx-xxxxxxxx.tar.gz vmware-tools-upgrader-64
For we can only read files from the cdrom, we should copy the tar.gz to another folder next.
-
Unpack the file
Use the command:
Ubuntu:~$ cp /mnt/cdrom/VMwareTools-xx.x.xx-xxxxxxxx.tar.gz /mnt
to copy the taz.gz to another folder so that we can unpack it.
Then use the command:
Ubuntu:~$ tar -zxvf VMwareTools-xx.x.xx-xxxxxxxx.tar.gz
to unpack it.
-
Install the VMware tools
After unpacking the tar.gz, a new folder vmware-tools-distrib
will be created, then use the command:
Ubuntu:~$ cd /mnt/vmware-tools-distrib
Ubuntu:~$ sudo ./vmware-install.pl
and keep to press the Enter
to finish the installation.
-
Configure the VMware tools ISO
(Optional: If you can not mount the ISO successfully, try this step)
In the VIRTUAL MACHINE OPTIONS, Select the two options:
Then find the ISO file in the dir:
/VMware Workstation/linux.iso
in your VMware installation dictionary. Then confirm it.