Manually Install VMware Tools in a Linux Virtual Machine

Source: Internet
Author: User
Keywords what is vmware tools linux virtual machine vmware tools linux
process
On the host, select Virtual Machine> Install VMware Tools from the Workstation Pro menu bar.
If an earlier version of VMware Tools is installed, the menu item is Update VMware Tools.
Simple Application Server
USD1.00 New User Coupon
* Only 3,000 coupons available.
* Each new user can only get one coupon(except users from distributors).
* The coupon is valid for 30 days from the date of receipt.

In the virtual machine, open a terminal window.
Run the mount command without parameters to determine whether the Linux distribution has automatically mounted the VMware Tools virtual CD-ROM image. If a CD-ROM device is mounted, the CD-ROM device and its mount point will be listed in a form similar to the following output:
/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)
 
If the VMware Tools virtual CD-ROM image is not mounted, mount the CD-ROM drive.
If the mount point directory does not yet exist, create it.
mkdir /mnt/cdrom
 
Some Linux distributions use different mount point names. For example, the mount point of some distributions is /media/VMware Tools instead of /mnt/cdrom. Modify the command to reflect the conventions used by your distribution.
Mount the CD-ROM drive.
mount /dev/cdrom /mnt/cdrom

Some Linux distributions use different device names or organize the /dev directory in different ways. If the CD-ROM drive is not /dev/cdrom, or if the mount point of the CD-ROM is not /mnt/cdrom, please modify this command to reflect the conventions used by your distribution.

Go to the working directory, for example /tmp.
cd /tmp
 
(Optional) Before installing VMware Tools, delete any previous vmware-tools-distrib directories.
The location of this directory depends on the location specified during the previous installation. Normally, this directory is located in /tmp/vmware-tools-distrib.

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

Unzip the installer.
tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz
The value x.x.x is the product version number, and yyyy is the internal version number of the product version.

If necessary, unmount the CD-ROM image.
umount /dev/cdrom
If the Linux distribution has automatically mounted the CD-ROM, you do not need to uninstall the image.

Run the installer and configure VMware Tools as the root user.
cd vmware-tools-distrib sudo ./vmware-install.pl

Usually, after the installer file finishes running, the vmware-config-tools.pl configuration file will be run. If you try to perform a tar installation based on an RPM installation, or perform an RPM installation based on a tar installation, the installer will detect the previous installation and must convert the installer database format before proceeding.
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.