Using the compiler to install VMware Tools in a Linux virtual machine

Source: Internet
Author: User
Tags unsupported perl script

To use the compiler to install VMware Tools in a Linux guest operating system, do the following:

      1. Make sure that the Linux virtual machine is powered on.

      2. If you are running the GUI interface, open the command shell.

        Note : Log in as root, or use the sudo command to complete each of the following steps.

      3. In the Virtual Machine menu, click Virtual Machine , and then click Client > Install/upgrade VMware Tools.

      4. Click OK .
        Note : In some cases, check the virtual machine editing settings option in the CDROM device status must be connected .

      5. To create a mount point, run the following command:

        Mkdir/mnt/cdrom

      6. To load CDROM, run the following command:

        Mount/dev/cdrom/mnt/cdrom

      7. To copy the compiler gzip tar file to a temporary local directory, run the following command:

        cp/mnt/cdrom/vmwaretools-version. tar.gz/tmp/

        Where version is the release of the VMware Tools software package.

      8. To determine the version of VMware Tools, run the following command:

        Ls/mnt/cdrom

        You will see output similar to the following:

        # vmwaretools-5.0.0-12124.tar.gz

      9. To change the directory to TMP and unzip the contents of the tar file into a new directory named Vmware-tools-distrib, run the following command:

        Cd/tmp
        TAR-ZXVF vmwaretools-version. tar.gz

      10. To change the directory to Vmware-tools-distrib and run the vmware-install.pl PERL script to install VMware Tools, run the following command:

        CD Vmware-tools-distrib
        ./vmware-install.pl

        Note :
        • Follow the onscreen prompts to install VMware Tools. The options in square brackets are the default options and can be selected by pressing Enter .
        • To successfully compile VMware Tools, you need the GCC compiler and the Linux kernel source provided by the Linux bundle. For more information about how to install these packages, consult the Linux distribution documentation.
        • During installation, when you change the display size, it is normal for the console screen to turn blank for a short period of time.
        • It is normal for some warnings or errors to occur, such as when a file does not exist.
        • Depending on the Linux distribution, your network service may be restarted after installation. VMware recommends that you call this command from the console, not from the remote.

      11. If you are running the GUI interface, restart the X window session for any mouse or graphics changes to take effect.

      12. To start VMware Tools running in the background during an X window session, run the following command:

        /usr/bin/vmware-toolbox &

      13. Depending on your environment, you may need to uninstall the CD-ROM. To uninstall the CD-ROM, run the following command:

        Umount/mnt/cdrom

      14. Depending on your environment, you may need to end the VMware Tools installation manually. To end the VMware Tools installation, click Virtual Machine in the Virtual Machine menu, and then click Client > End VMware Tools Installation .

      15. To remove the VMware Tools installation package, run the following command:

        Cd
        rm/tmp/vmwaretools-version. tar.gz
        Rm-rf/tmp/vmware-tools-distrib
      16. See General VMware Tools Installation Instructions (1014294) for common VMware Tools installation information.

        If you encounter symbolic link creation errors during installation, see Unable to create the symbolic link when installing VMware Tools in Linux (2010580).

        If you are running an unsupported bundle or using an unsupported kernel version, and you cannot compile the module or install VMware Tools,vmware, you are advised to browse the VMware Community Support forums. On these forums, the latest development kernels and solutions for building VMware Tools modules are regularly discussed.

        can be used /usr/bin/vmware-uninstall-tools.pl script uninstalls VMware tools. For related information, see Installing VMware Tools in VSphere (2004754).

        Note : VMware Tools no longer contains drivers for x Server 1.8 or later. Be sure to install the following SVGA and mouse drivers before installing VMware Tools:
          • Xorg-x11-drv-vmware
          • Xorg-x11-drv-vmmouse
        If you do not install these drivers, the VMware Tools installation skips the x Windows configuration.


        For a translated version of this article, see:
          • Espa?ol:cómo instalar VMware Tools en una máquina virtual Linux con Compiler (2046859)
          • Português:como instalar o VMware Tools em uma máquina virtual Linux usando um compilador (2046388)

Using the compiler to install VMware Tools in a Linux virtual machine

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.