Vmware tools supported linux

VMware / Tools

This page explains how to install the VMware Tools on an Ubuntu guest VM.

Installing VMware tools on an Ubuntu guest

  • the open-vm-tools package in Ubuntu
  • packages.vmware.com
  • your VMware host (this method does not use .deb packages)

VMware recommends users to use open-vm-tools on Linux, including Ubuntu.

Installing from Ubuntu package open-vm-tools on Trusty Tahr 14.04 and later

open-vm-tools is the recommended method of installing VMware tools on Ubuntu. Packages are available in the main repository since 14.04.

# For desktop: apt-get install open-vm-tools open-vm-tools-desktop # For server and headless installations: apt-get install open-vm-tools

If you are on Trusty after upgrading from an older release, you may need to use open-vm-tools-lts-trusty-desktop instead.

Legacy Ubuntu Installations

Given the nature of virtualization, there may be a need for continued usage of very old versions of Ubuntu. Instructions for 10.04 to 12.04 are listed below. For anything older, please consult VMware’s installation guide.

Installing from Operating System Specific Packages (OSPs) on Lucid Lynx 10.04 to Precise Pangolin 12.04

The package open-vm-tools is available in the multiverse repository for releases 10.04 to 12.04. However, these versions are very out of date and may not have the drivers for newer versions of ESXi and VMware Workstation / Player / Fusion. For this reason, if you are still in need of a legacy Ubuntu VM, installation from VMware’s repository is recommended. Use 12.04 package for Ubuntu 12.10, 13.04 and 13.10 releases.

Lucid: apt-add-repository 'deb https://packages.vmware.com/tools/releases/latest/ubuntu/ lucid main' Natty: apt-add-repository 'deb https://packages.vmware.com/tools/releases/latest/ubuntu/ natty main' Oneiric: apt-add-repository 'deb https://packages.vmware.com/tools/releases/latest/ubuntu/ oneiric main' Precise: apt-add-repository 'deb https://packages.vmware.com/tools/releases/latest/ubuntu/ precise main' wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub -q -O- | \ apt-key add - # (The above links to the latest builds of VMware-tools; however, # these packages should be compatible with all VMware servers, including the ESX 4 to vSphere ESXi 6.5. # Next update your repos apt-get update

Note: using apt-add-repository will also add an entry for sources, which are not available in the vmware repository. You’ll need to manually delete the deb-src entry for «packages.vmware.com», which should be at the bottom of your /etc/apt/sources.list file.

sudo apt-get install vmware-tools-esx-kmods-kernel_release # Where kernel_release is the kernel release and type returned by the uname -r command. # For example: vmware-tools-esx-kmods-2.6.32-21-generic # Then for desktop VMs or those that need graphics support sudo apt-get install vmware-tools-esx-nox # Or for server and headless installations sudo apt-get install vmware-tools-esx # Some versions may require kernel headers sudo apt-get install linux-headers-virtual

Verify the succesful installation

# Verify that the VMware Tools daemon, vmtoolsd, is running. pgrep -fl vmtoolsd # Verify that the required kernel modules load properly. /sbin/lsmod

Kernel modules are only loaded for the virtual devices being used. However, the vmmemctl module should always be loaded.

Читайте также:  Usb can адаптер linux

Installing from your VMware host

Warning: This install method does not use Ubuntu packages. Instead, it bypasses dpkg and writes files directly to your system. This is generally not recommended.

Start up a terminal window and do the following to ensure that you have the required packages for building VMware Tools or your kernel.

sudo apt-get install build-essential linux-headers-`uname -r` psmisc

NOTE: linux-headers-uname -r is not required on a default build as these headers already exist. They are listed here in case you have made kernel modifications.

From the VMware menu, choose VM->Install VMware Tools. You should see a mounted CD image show up on the desktop. In the File Browser that pops up, right-click the VMwareTools*.tar.gz file and extract to the Desktop.

If the cdrom was not automatically mounted, mount the cdrom (in your guest OS) by doing

# make a mount point if needed : sudo mkdir /media/cdrom # Mount the CD sudo mount /dev/cdrom /media/cdrom # Copy and extract VMWareTools sudo cp /media/cdrom/VMwareTools*.tar.gz ~/Desktop # You can extract with archive manager, right click on the archive and extract . or tar xvf VMwareTools*.tar.gz # Install as below

Open a terminal window, and run the following commands.

cd ~/Desktop/vmware-tools-distrib sudo ./vmware-install.pl

During vmware-install.pl, choose the default answers to everything (just hit the key).

You can configure the tools as root

Otherwise run them as a user (not root)

  • In order for the synchronized clipboard and mouse to function as well as the host shared folders feature, you must have vmware-toolbox running, although you can minimize the window.

To have vmware tools auto start with your sessions, go to System->Preferences->Sessions->Startup Programs. Click Add, enter vmware-toolbox, Ok, Close.

If you are running a Kubuntu guest OS.

echo "/usr/bin/vmware-toolbox" > ~/.kde/Autostart/vmware-toolbox.sh chmod +x ~/.kde/Autostart/vmware-toolbox.sh

In order to get the scroll wheel to work again after the above install, you will need to make a minor change to the xorg.conf file.

In the «Configured Mouse» section, change the following line as indicated:

If you have more than five buttons (scroll wheel counts as three), then you might need the following line:

Option "Protocol" "ExplorerPS/2"

Additional Resources

VMware/Tools (последним исправлял пользователь dpsi 2017-10-31 01:28:02)

The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details

Источник

Vmware tools supported linux

You are using an outdated browser. Please upgrade your browser to improve your experience.

You can manually install VMware Tools on a Linux virtual machine using the command line. For later Linux distributions, use the integrated open-vm-tools version.

Читайте также:  Rise up vpn linux

For more information about Linux distributions supported by Open VM Tools, see https://github.com/vmware/open-vm-tools/blob/master/README.md and the VMware Compatibility Guide at https://www.vmware.com/resources/compatibility/search.php.

  • Modern Linux distributions not officially supported by tar tools.
    • Red Hat Enterprise Linux 8 and later releases.
    • CentOS 8 and later releases.
    • Oracle Linux 8 and later releases.
    • SUSE Linux Enterprise 15 and later releases.

    For the Linux virtual machines that have Open VM Tools installed but are not in the scope mentioned in the preceding bullet, Install/Update/Reinstall VMware Tools menu is enabled, so that you can install bundled tar tools on top of Open VM Tools to get Shared Folder (HGFS) feature support.

    For old Linux virtual machines not supported by Open VM Tools, perform the following steps to install tar tools.

    Prerequisites

    • Power on the virtual machine.
    • Verify that the guest operating system is running.
    • Because the VMware Tools installer is written in Perl, verify that Perl is installed in the guest operating system.
    • For vSphere virtual machines, determine whether you have the latest version of VMware Tools. In the vSphere Client inventory, select the virtual machine and click the Summary tab.

    Procedure

    If the CD-ROM device is mounted, the CD-ROM device and its mount point are listed in a manner similar to the following output:

    /dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)

    Some Linux distributions use different mount point names. For example, on some distributions the mount point is /media/VMware Tools rather than /mnt/cdrom . Modify the command to reflect the conventions that your distribution uses.

    Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom , modify the command to reflect the conventions that your distribution uses.

    The location of this directory depends on where you placed it during the previous installation. Often this directory is placed in /tmp/vmware-tools-distrib .

    List the contents of the mount point directory and note the file name of the VMware Tools tar installer.

    tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz
    cd vmware-tools-distrib sudo ./vmware-install.pl

    Follow the prompts to accept the default values, if appropriate for your configuration. Follow the instructions at the end of the script.

    Depending on the features you use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. You can alternatively reboot the guest operating system to accomplish all these tasks.

    Usually, the vmware-config-tools.pl configuration file runs after the installer file finishes running. If you attempt to install a tar installation over an RPM installation, or the reverse, the installer detects the previous installation and must convert the installer database format before continuing.

    What to do next

    If you upgraded VMware Tools as part of a vSphere upgrade, next determine whether to upgrade the virtual machines in your environment. To review and compare the hardware available for different compatibility levels, see the vSphere Virtual Machine Administration documentation.

    Источник

    Vmware tools supported linux

    It is recommended that you use Open VM Tools in Linux virtual machines.

    For more information about Linux distributions supported by Open VM Tools, see https://github.com/vmware/open-vm-tools/blob/master/README.md and the VMware Compatibility Guide at https://www.vmware.com/resources/compatibility/search.php.

    • Modern Linux distributions not officially supported by tar tools.
      • Red Hat Enterprise Linux 8 and later releases.
      • CentOS 8 and later releases.
      • Oracle Linux 8 and later releases.
      • SUSE Linux Enterprise 15 and later releases.

      For the Linux virtual machines that have Open VM Tools installed but are not in the scope mentioned in the preceding bullet, Install/Update/Reinstall VMware Tools menu is enabled, so that you can install bundled tar tools on top of Open VM Tools to get Shared Folder (HGFS) feature support.

      For old Linux virtual machines not supported by Open VM Tools, perform the following steps to install tar tools.

      Prerequisites

      • Power on the virtual machine.
      • Verify that the guest operating system is running.
      • Because the VMware Tools installer is written in Perl, verify that Perl is installed in the guest operating system.

      Procedure

      If the CD-ROM device is mounted, the CD-ROM device and its mount point are listed in a manner similar to the following output:

      /dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)

      Some Linux distributions use different mount point names. For example, on some distributions the mount point is /media/VMware Tools rather than /mnt/cdrom . Modify the command to reflect the conventions that your distribution uses.

      Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom , modify the command to reflect the conventions that your distribution uses.

      The location of this directory depends on where you placed it during the previous installation. Often this directory is placed in /tmp/vmware-tools-distrib .

      tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz
      cd vmware-tools-distrib sudo ./vmware-install.pl

      Usually, the vmware-config-tools.pl configuration file runs after the installer file finishes running. If you attempt to install a tar installation over an RPM installation, or the reverse, the installer detects the previous installation and must convert the installer database format before continuing.

      Depending on the features you use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. You can alternatively reboot the guest operating system to accomplish all these tasks.

      What to do next

      If a new virtual hardware version is available for the virtual machine, upgrade the virtual hardware.

      Источник

Оцените статью
Adblock
detector