Перейти к содержимому

Vmware install pl как запустить в linux

  • автор:

Sorry, you have been blocked

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

Cloudflare Ray ID: 803c6a3c3a720561 • Your IP: Click to reveal 178.175.133.149 • Performance & security by Cloudflare

Vmware install pl как запустить в linux

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

  • 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 Player > Manage > Install VMware Tools .
      If a mount point directory does not already exist, create it.

    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 value x.x.x is the product version number, and yyyy is the build number of the product release.

    If your Linux distribution automatically mounted the CD-ROM, you do not need to unmount the image.

    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 Tools на Linux

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

    Установка

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

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

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

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

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

    mount /dev/cdrom /mnt

    * в некоторых версиях 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

    chkconfig vmware-tools on

    Удаление

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

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

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

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

    а) Deb (Ubuntu, Debian):

    apt install open-vm-tools

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

    yum install epel-release

    yum install open-vm-tools

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

    systemctl enable vmtoolsd —now

    Команды VMware Tools

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

    How to Install VMware Tools on Debian 11

    VMWare Tools

    When you install a virtual machine or a guest OS on your machine, it does not exactly perform like the host OS because it has some limitations regarding performance. But VMware presented a solution for this by introducing VMware guest tools that enhance and improve the performance of the guest OS.

    VMware tools enable the integration between the host and the guest operating systems. It includes a set of utilities that improves the graphical performance of VM and enables sharing folders, clock synchronization, mouse tracking, and much more. Therefore, whenever you install a virtual machine on VMware, your first priority should be to install VMware tools before doing anything else.

    In this article, we will explain how to install VMware tools in Debian using two different methods.

    Let’s take a look at some of the features of VMware tools:

    • Time synchronization between the host and the guest operating systems
    • Copy-paste text between applications on two VMs or among a VM and host
    • Improves graphical performance
    • Enables Shared folder to allow exchanging the files between VM and the host
    • Improves cursor movement
    • Allow snapshots of the Guest OS

    We will use the latest version Debian 11 for describing the procedure mentioned in this article. The same steps will work on Debian 10 as well.

    Method # 1: Install VMware tools that come with the VMware virtualization application

    In this method, we will install guest tools using VMware tools that come with the VMware virtualization application. Follow the below steps to do so:

    Step 1: To install VMware tools in Debian VM, you will need to connect the VMware tools virtual CD to VM CD-ROM drive. To do so, go to the top menu of your VM manager and navigate to VM > Install VMware tools. In case, if you have already installed VMware tools and you want to repair it, then click on Re-install VMware tools.

    Step2: Then check if your system has automatically mounted the VMware tools CD-ROM image by running the following command in Terminal:

    If you see the output similar to below, then it is mounted. Otherwise, follow the below step.

    List mount points

    Step 3: Mount the VMware Tools CD image. First, you will need to log in as a root. by typing the below command. When prompted for the password, enter the root password.

    Then create a directory for mount point by typing the below command. If the directory exists already, skip this command.

    Then type the below command to mount the CD-ROM drive at the mount point.

    Mount CD drive

    Step 4: Now we will need to extract the VMware tools to another working directory let’s say /tmp. To do so, first navigate to /tmp directory by typing the below command in Terminal:

    Then run the below command to extract the installer files:

    Unpack VMWare tools archive

    10.2.0 in the file name is the product version number, and 7259539 is the build number of the VMware product release. These numbers might differ. you can use this alternative extract command which extracts the archive independent of the exact version:

    Step 5: Now we have extracted the installation files to /tmp directory, so we do not need the VMware tools CD-ROM image anymore. We will unmount it by running the below command:

    Unmount CD drive

    Step 6: Now we will install VMware tools. For that, navigate to the vmware-tools-distrib folder inside the /tmp directory by running the below command:

    Then run the below command as sudo to install and configure VMware tools:

    During installation, accept all the default values by pressing Enter

    Start VMWare Tools Installer

    To view the version of VMware tools, use the below command in Terminal:

    Check installed VMWare Tools version

    Method # 2: Install VMware guest tools using Open VM tools

    In this method, we will install VMware guest tools using Open VM tools.

    Open VM Tools is the open-source implementation of the VMware Tools. It is specifically made for Linux distributions and it is available in standard repositories of most Linux distributions. So we will install it from the Debian repository by using the apt package manager. It is much easier to install compared to standard VMware tools installation.

    To start the installation, launch the Terminal in your Debian OS and enter the below command to install open VM tools using the apt package manager:

    When prompted, press y to continue the installation.

    Install Open VM Tools

    Wait for a while until the installation is completed. Finally, reboot the system for the changes to take effect.

    To view the version of Open VM tools, use the below command in Terminal:

    Check Open VM Tools version

    In this article, we have learned how to install VMware tools in Debian 11 using two different methods. You can use any one of these methods to improve functionalities and enjoy the enhanced graphical experience.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *