Manually install or upgrade VMware Tools in a Linux virtual machine

Source: Internet
Author: User

Tag:dev    tips    dir    and    class     Upgrade     Auto     accept     version    

For Linux virtual machines, you can use the command-line tools to manually install or upgrade VMware tools. Prerequisites to turn on the virtual machine. Confirm that the client operating system is running. Because the VMware Tools installer is written in Perl, make sure that Perl is installed in the guest operating system. Step 1 on the host, select virtual machine > Install VMware Tools from the Workstation Pro menu bar. If you have an earlier version of VMware Tools installed, the menu item is updated with VMware tools. 2 in the virtual machine, log in to the guest operating system as root and open the terminal window. 3 run the Mount command without parameters to determine whether the Linux distribution automatically loads the VMware Tools virtual CD-ROM image. If a CD-ROM device is mounted, the CD-ROM device and its mount point are listed as follows:/dev/cdrom on/mnt/cdrom type iso9660 (Ro,nosuid,nodev) 4 if VMware Tools virtual CD-R is not loaded OM image, mount your CD-ROM drive. A If the mount point directory does not already exist, create the directory. Mkdir/mnt/cdrom some Linux distributions use different mount point names. For example, mount points on some distributions are/media/vmware Tools instead of/mnt/cdrom. Please modify the command to reflect the conventions used by your distribution. b 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 the CD-ROM mount point is not/mnt/cdrom, you must modify the command to reflect the conventions used by your distribution. 5 go to the working directory, such as/tmp. CD/TMP6 before installing VMware Tools, remove the previous Vmware-tools-distrib directory. The location of the directory depends on where it was stored at the previous installation. Typically, the directory is located in/tmp/vmware-tools-distrib. 7 List The contents of the mount point directory, and note the file name of the VMware Tools tar Setup program. LS mount-point8 unzip the installer. Tar zxpf/mnt/cdrom/vmwaretools-x.x.x-yyyy.tar.gzxThe. x.x value is the product version number, and YYYY is the build number of the product version. If you attempt to install a tar installation to overwrite the RPM installation or vice versa, Setup will detect the previous installation and must convert the Setup database format before proceeding. 9 If necessary, unmount the CD-ROM image. Umount/dev/cdrom if the Linux distribution automatically mounts the CD-ROM, you do not need to unmount the image. 10 Run the Setup program and configure VMware Tools. CD vmware-tools-distrib./vmware-install.pl Typically, after the setup file finishes running, the vmware-config-tools.pl configuration file is run. 11 If appropriate for your configuration, follow the prompts to accept the default values. 12 Follow the instructions at the end of the script. Depending on the features used, these instructions may include restarting X, restarting the network connection, re-logging in, and starting the VMware user process. Alternatively, you can reboot the guest operating system to complete all of these tasks.

  

Manually install or upgrade 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.