How to install VMware tools in Linux Virtual Machine

How to install VMware tools in Linux Virtual Machine

  1. Make sure Linux virtual machine is powered on.
  2. Click VMin the virtual machine menu, then click Guest > Install/Upgrade VMware Tools.
  3. Click OK.Note: In some cases, verify that the CDROM device is Connectedfrom within the Edit Settings option of the virtual machine.
  4. To create a mount point, run:mkdir /mnt/cdrom
  5. To mount the CDROM, run:mount /dev/cdrom /mnt/cdrom
  6. To copy the Compiler gzip tarfile to a temporary local directory, run:cp /mnt/cdrom/VMwareTools-version.tar.gz /tmp/Where version is the VMware Tools package version.
  7. To determine the version of VMware tools, run:ls /mnt/cdromYou see output similar to:# VMwareTools-5.0.0-12124.tar.gz
  8. To change to the tmpdirectory and extract the contents of the tar file into a new directory called vmware-tools-distrib, run:cd /tmp
    tar -zxvf VMwareTools-version.tar.gz
  9. To change directory to vmware-tools-distriband run the vmware-install.pl PERL script to install VMware Tools, run:cd vmware-tools-distrib
    ./vmware-install.plNotes:

    • Complete the screen prompts to install the VMware Tools. Options in square brackets are default choices and can be selected by pressing Enter.
    • To compile VMware Tools successfully, you need gcc Compiler and Linux Kernel sources provided by your Linux distribution. Consult your Linux distribution documentation for details on methods to install these packages.
    • It is normal for the console screen to go blank for a short time during the installation when the display size changes.
    • Some warnings or errors are normal, like when a files does not exist.
    • Depending on the Linux distribution, your network service might restart after installation. VMware recommends that you invoke this command from the console and not remotely.
  10. If you are running a GUI interface, restart your X Window session for any mouse or graphics changes to take effect.
  11. To start VMware Tools running in the background during an X Window session, run:/usr/bin/vmware-toolbox &
  12. Depending on your environment, you may need to unmount the CD-ROM. To unmount the CD-ROM, run:umount /mnt/cdrom
  13. Depending on your environment, you may need to manually end the VMware Tools installation. To end the VMware Tools install, click VMin the virtual machine menu, then click Guest > End VMware Tools Install.
  14. To remove VMware Tools installation packages, run:cd
    rm /tmp/VMwareTools-version.tar.gz
    rm -rf /tmp/vmware-tools-distrib

 

Source link :- https://kb.vmware.com/s/article/1018414

Leave a Comment