Tutorials, VMware

3 Mins Read

How to Install VMware Tools in an Ubuntu-based VM?

Voiced by Amazon Polly

Objective

This lab aims to guide you on how to install VMware tools in an Ubuntu-based VM.

Revolutionize Your Data Center with VMware

  • Understand new features
  • Best practices available
  • Instructor led courses
Learn more

Prerequisites

• Knowledge of Why VMware tools are required
• Basic understanding of vCenter Inventory
• Access of vCenter through vSphere Web Client
• Basic Linux commands to initiate the installation
• VMware Tools Source to be mounted

Lab Overview

After completing this lab, you will be able:
1. Check whether the installation of VMware tools is complete
2. Mount CD / DVD (Source of VMware Tools) to Ubuntu
3. Install VMware Tools on Ubuntu Guest OS
4. Check installed VMware Tools & its version

Step-by-Step Lab Guide

  1. Open vCenter using vSphere Client. Open vCenter Inventory & Click on VM & Templates.
  2. Go to the CloudThat-USA data center and sa-ESXi-02 host, Power on Ubuntu Server VM.
  3. Check the installation status of VMware tools.
  4. Launch the Web console of the VM, and through QTerminal, sign in as a Superuser using the sudo –i command.
  5. Select Ubuntu Server VM from inventory, Go to Actions, Select Guest OS and then click Install VMware Tools.
  6. This will prompt for mounting the CD/DVD for VMware tools in Ubuntu Server VM. Click on the Mount button to mount the virtual CD drive.
  7. Alternatively, to install official VMware, you can click on the Virtual Machine menu option and click Install VMware Tools from Ubuntu Server itself like:
  8. In the Terminal window, create a mounting directory to mount the source from Virtual Disk. root@UbuntuServer:~# mkdir /mnt/cdrom
  9. Now, Mount /dev/cdrom to /mnt/cdromroot@UbuntuServer:~# mount /dev/cdrom /mnt/cdrom
  10. List all files from /mnt/cdrom; you can see source gz files for Vmware installation.
  11. Copy all tar.gz files from /mnt/cdrom to the /tmp folder using the cp command.
  12. Go to /tmp folder; you will see VMwareTools.tar.gz file there.
  13. Using the tar command, extract all files here.
  14. Once extracted, go to the “vmware-tools-distrib” directory to find the installer file.
  15. Run the vmware-install.pl file from here.
  16. For this step, there will be a series of questions. Follow the instructions carefully and answer all questions.
  17. You will receive this message:  “Enjoy, –the VMware team.” Successful receiving of the message indicates the VMware Tools installation in the Ubuntu Server is complete.
  18. Go to the summary tab of Ubuntu Server, and you can verify that now VMware tools are installed and running.

Freedom Month Sale — Discounts That Set You Free!

  • Up to 80% OFF AWS Courses
  • Up to 30% OFF Microsoft Certs
Act Fast!

About CloudThat

CloudThat is an award-winning company and the first in India to offer cloud training and consulting services worldwide. As a Microsoft Solutions Partner, AWS Advanced Tier Training Partner, and Google Cloud Platform Partner, CloudThat has empowered over 850,000 professionals through 600+ cloud certifications winning global recognition for its training excellence including 20 MCT Trainers in Microsoft’s Global Top 100 and an impressive 12 awards in the last 8 years. CloudThat specializes in Cloud Migration, Data Platforms, DevOps, IoT, and cutting-edge technologies like Gen AI & AI/ML. It has delivered over 500 consulting projects for 250+ organizations in 30+ countries as it continues to empower professionals and enterprises to thrive in the digital-first world.

WRITTEN BY Rahulkumar Mehta

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!