How to Install VMware Tools Ubuntu
VMware tools are available for almost every operating system, Windows or Linux. VMware tools are used to gather more statistics about a virtual machine, enhance performance, and allow you to manage the server better.
VMware tools can provide functionality related to guest virtual server time sync, better mouse control, improved memory management, and virtual drivers.
Commands Necessary To Install VMware Tools
Before we begin, we must get the requirements out of the way. You must be connected to your virtual machine running Ubuntu with some CLI capability. You can be logged in through SSH, or you can be logged in through the console. The Ubuntu virtual server must also have internet access, or else the install of VMware tools will fail.
Once you are logged into the virtual machine running Ubuntu, run the following commands in order as seen below.
sudo apt update -y
The above command updates all of the repositories that Ubuntu has so it can correctly find your software
sudo apt install open-vm-tools -y
Verifying VMware Tools was Installed On Ubuntu
Now that we've installed the VM tools, let's verify. Your output should look similar to the below output:
[email protected]:/# sudo apt install open-vm-tools -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages: open-vm-tools-desktop
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 561 kB of archives.
After this operation, 2,403 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 open-vm-tools amd64 2:11.1.5-1~ubuntu20.04.2 [561 kB]
Fetched 561 kB in 0s (1,835 kB/s)
Selecting previously unselected package open-vm-tools.
(Reading database ... 109388 files and directories currently installed.)
Preparing to unpack .../open-vm-tools_2%3a11.1.5-1~ubuntu20.04.2_amd64.deb ...
Unpacking open-vm-tools (2:11.1.5-1~ubuntu20.04.2) ...
Setting up open-vm-tools (2:11.1.5-1~ubuntu20.04.2) ...
invoke-rc.d: policy-rc.d denied execution of restart.
/usr/sbin/policy-rc.d returned 101, not running 'restart open-vm-tools.service'
/usr/sbin/policy-rc.d returned 101, not running 'restart vgauth.service'
Processing triggers for systemd (245.4-4ubuntu3.3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
You can now log back into vcenter or the host server and click the virtual machine to verify the VM tools are working correctly.
Powered by WHMCompleteSolution