Linux (CentOS 7) command line mode installation VMware Tools detailed

Source: Internet
Author: User
Tags install perl

1. Click menu ' virtual machine '-- ' install VMware Tools

2. In the command line, enter "Ls/dev" to view.

3. Enter "Mkdir/mnt/cdrom" to create a new folder named CDROM in the/mnt directory.

4. Type "Mount-t Iso9660/dev/cdrom/mnt/cdrom" to mount the disc to the/mnt/cdrom directory.

5. Enter "ls/mnt/cdrom/" to view the content, enter "cp/mnt/cdrom/vmwaretools-9.2.0-799703.tar.gz/root/vm.tar.gz" and name " vmwaretools-9.2.0-799703.tar.gz "Copy to the/root directory and rename it to vm.tar.gz.

6. Enter "LS" in the root directory to view the file, enter "Tar-xzf vm.tar.gz" unzip the file, enter "LS" to view the file, you can find the new directory "Vmware-tools-distrib".

7. Enter "CD vmware-tools-distrib/" into the directory named "Vmware-tools-distrib", enter "./vmware-install.pl" to try to install, error "-bash:./ vmware-install.pl:/usr/bin/per:bad interpreter:no such file or directory ", indicating that the compilation environment is not installed.

8. Enter "Yum-y install perl gcc make kernel-headers kernel-devel" to start the installation.

9. Re-enter "./vmware-install.pl" in the "Vmware-tools-distrib" directory to start the installation, basically press ENTER.

If you encounter this situation

Execute yum Install "Kernel-devel-uname-r = = $ (uname-r)"

and start with the 9th step again.

Linux (CentOS 7) command line mode installation VMware Tools detailed

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.