Install VMware Tools in a Linux Virtual machine__linux

Source: Internet
Author: User

It programmer development must-all kinds of resources download list, the most complete IT resources in history, personal collection summary.


manually Install or Upgrade VMware Tools in a Linux Virtual Machine

For Linux virtual machines, your manually install or upgrade VMware Tools by using the command line.

Install the latest version of VMware Tools to enhance the performance of the virtual machine ' s guest operating system and Improve virtual machine management. When you are on a virtual machine, if a new version of the VMware Tools are available, you are notification in the status B Ar of

The guest operating system.

Prerequisites Power on the virtual machine. Verify that's guest operating system is running. Because the VMware Tools installer is written into Perl, verify that Perl are installed in the guest operating system.

Procedure

1. on the host, from the Workstation menu bar, selectvm> Manage > Install VMware Tools.

If a earlier version of VMware Tools is installed, the menu item isupdate VMware Tools.

2. in the virtual machine, log into to the guest operating system as root and open a terminal window.

3. Run themount command with no arguments to determine whether your Linux distribution automatically mounted the VMware Tools Virtual CD-ROM image.

If the CD-ROM device is mounted, the CD-ROM device and its mount point are listed as something like this:

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

4. If the VMware Tools virtual CD-ROM image is not mounted, mount the CD-ROM drive.

a If a mount point directory does not already exist, create it.

Mkdir/mnt/cdrom

Some Linux Distributions use different mount point names. For example, on some distributions the mount point Is/media/vmware toolsrather than/mnt/cdrom. Modify the command to reflect the conventions of that your distribution uses.

b Mount the CD-ROM drive.

Mount/dev/cdrom/mnt/cdrom

Some Linux Distributions use different device names or organize the/devdirectory.  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.

5. change to a working directory (for Example,/tmp).

Cd/tmp

6. Delete any Previousvmware-tools-distrib directory before your install VMware tools.

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

7. List the contents of the mount point directory and the filename of the VMware Tools tar installer.

Lsmount-point

8. uncompress the installer.

Tar zxpf/mnt/cdrom/vmwaretools-x.x.x-yyyy.tar.gz

The Valuex.x.xis the product version number, and YYYY is the ' build number ' of the product release.

If you are attempt to install a tar installation on an RPM installation, or the reverse, the installer detects Installation and must convert the Installer database format before continuing.

9. If necessary, unmount the CD-ROM image.

Umount/dev/cdrom

If your Linux distribution automatically mounted the CD-ROM, you don't need to unmount the image.

Run The installer and configure VMware Tools.

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

Usually, thevmware-config-tools.plconfiguration file runs after the installer file finishes running.

Respond to the " prompts by pressing Enter to accept" The default values, if appropriate for your configuration.

Follow The instructions at the end of the script.

Depending on the features to use, this 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 of these tasks.

What to do next

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



Related Article

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.