Vmware workstation install vmware tools linux

Vmware workstation install vmware tools linux

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

Installing VMware Tools is part of the process of creating a new virtual machine, and upgrading VMware Tools is part of the process of keeping your virtual machine up to current standards. Although your guest operating systems can run without VMware Tools, many VMware features are not available until you install VMware Tools. When you install VMware Tools, the utilities in the suite enhance the performance of the guest operating system in your virtual machine and improve the management of your virtual machines.

For information about creating virtual machines, see the documentation for the applicable VMware product.

The installers for VMware Tools are ISO image files. The CD-ROM in your guest operating system detects the ISO image file. Each type of guest operating system, including Windows, Linux, and Mac OS X, has an ISO image file. When you select the command to install or upgrade VMware Tools, the virtual machine’s first virtual CD-ROM disk drive temporarily connects to the VMware Tools ISO file for your guest operating system.

You can use the Windows Easy Install or Linux Easy Install feature to install VMware Tools as soon as the operating system is finished installing.

The most recent versions of the ISO files are stored on a VMware Web site. When you select the command to install or upgrade VMware Tools, the VMware product determines whether it has downloaded the most recent version of the ISO file for the specific operating system. If the latest version has not been downloaded or if no VMware Tools ISO file for that operating system has ever been downloaded, you are prompted to download the file.

  • VMware Tools installer from windows.iso automatically detects the windows version. It does not proceed with the installation on guest operating systems earlier than Windows Vista.
  • VMware Tools installer from winPreVista.iso does not proceed with the installation on Windows Vista and later.
  • VMware Tools installer from linux.iso does not proceed with installation on Linux guest operating system versions earlier than RHEL5, SLES 11, Ubuntu 10.04, and other Linux distributions with glibc version earlier than 2.5.
  • VMware Tools installer from darwinPre15.iso does not proceed with installation on MAC OS X guest operating systems versions 10.11 or later.
  • VMware Tools installer from darwin.iso does not proceed with installation on MAC OS X guest operating systems versions earlier than 10.11.
Читайте также:  Зайти по сети linux

Источник

Пошаговая инструкция по установке VMware Tools на Linux

Обновлено

Обновлено: 18.02.2023 Опубликовано: 09.12.2016

VMware Tools увеличивают функциональные возможности виртуальной машины. Можно установить как родные утилиты, так и open-vm-tools из репозитория Linux. Рассмотрим оба варианта.

Установка

Процесс установки во многом похож на установку VMware Tools во FreeBSD.

Открываем консоль управления виртуальными машинами. Находим ту, на которую будем устанавливать VMware Tools. Кликаем по ней правой кнопкой мыши — GuestInstall/Upgrade VMware Tools:

Монтирование дистрибутива VMware Tools к виртуальной машине

Подтверждаем, нажатием OK — будет выполнено монтирование установочного образа утилит к виртуальной машине.

Теперь подключается к Linux по SSH и монтируем образ к гостевой системе следующей командой:

* в некоторых версиях Linux, устройство CD-ROM может называться cdrom1.

Распаковываем архив с установочными скриптами во временную директорию:

tar -zxvf /mnt/VMwareTools-* -C /tmp/

CD-ROM нам больше не нужен — отмонтируем его:

Запускаем скрипт установки VMware Tools:

Если видим, примерно, такое сообщение:

open-vm-tools are available from the OS vendor and VMware recommends using
open-vm-tools. See http://kb.vmware.com/kb/2073803 for more information.
Do you still want to proceed with this legacy installer? [no]

отвечаем yes.

На все остальные вопросы отвечаем по умолчанию, нажимая Enter.

В сообщении, на которое мы ответили yes говориться о том, что лучше устанавливать VMware Tools при помощи open-vm-tools. Однако после такой установки, консоль VMware в статусе утилит виртуальной машины ставит вопросительный знак и пишет 3rdParty. Дав свое согласие, мы продолжили установку старым проверенным методом.

Запуск установки в автоматическом режиме (без необходимости отвечать на вопросы) можно запустить командой:

Проверка

Версию установленного ПО можно посмотреть следующей командой:

Теперь открываем консоль управления VMware — устанавливаем курсор на виртуальную машину с установленными тулзами и переходим на вкладку Summary. В графе VMware Tools мы должны увидеть зеленую галочку и значение Running:

При правильной установке VMware Tools мы видим зеленую галочку со значение Running

Автозагрузка

При установке VMware Tools добавляются в автозагрузку. Действий не требуется.

Если по каким-либо причинам, этого не произошло, добавить запуск скрипта при запуске системы можно командой:

systemctl enable vmware-tools

update-rc.d vmware-tools defaults

Удаление

Для удаления используется скрипт vmware-uninstall-tools.pl:

Не родная утилита (openvmtools)

Выше мы рассмотрели наиболее предпочтительный вариант установки vmtools. Однако, если по каким-либо причинам, у нас нет возможности установить утилиту таким образом, мы можем воспользоваться репозиторием установленной системы (само собой, при наличии данной утилиты в нем).

Установка выполняется разными командами в зависимости от используемой системы.

б) RPM (Red Hat, CentOS, Rocky Linux):

Для разрешения автозапуска утилиты и ее старта вводим команду:

systemctl enable vmtoolsd —now

Команды VMware Tools

После установки vmtools нам будут доступны дополнительные команды. К сожалению, они плохо документированы, поэтому не удалось найти их адекватное описание:

Команда Примеры использования
vmware-namespace-cmd vmware-namespace-cmd [OPTION?] [get-value | set-key | delete-key] []
vmware-rpctool rpctool send as an RPC command.
vmtoolsd vmtoolsd [OPTION]
vmware-toolbox-cmd vmware-toolbox-cmd [options] [subcommand]
vmware-checkvm vmware-checkvm (показывает версию VMware)
vmware-vgauth-cmd vmware-vgauth-cmd [OPTION] [add | list | remove]
VGAuthService VGAuthService [OPTION]
vmware-xferlogs vmware-xferlogs
vmware-hgfsclient vmware-hgfsclient
vmhgfs-fuse vmhgfs-fuse sharedir mountpoint [options]
Читайте также:  Best linux for coding

По каждой команде можно вызвать небольшую справку командой:

Источник

Vmware workstation install vmware tools 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

    1. On the host, from the Workstation Player menu bar, select Virtual Machine > Install VMware Tools .

    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.

    Источник

    Vmware workstation install vmware tools 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.

    For more information about Linux distributions supported by Open VM Tools, see Open VM Tools (README) 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 .

      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 a new virtual hardware version is available for the virtual machine, upgrade the virtual hardware.

      Источник

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