Install VMware Tools in Linux (CentOS 7) Command Line Mode
1. Click "VM" at the top of VMware, and click "Install VMware Tools..." (if installed, "Reinstall VMware Tools..." is displayed ...").
2. Enter "ls/dev" in the command line to view the information.
3. Enter "mkdir/mnt/cdrom" and create a folder named cdrom in the/mnt directory.
4. Input "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", then "Copy to/rootdirectory, and rename it vm.tar.gz.
6. enter "ls" in the root directory to view the file, enter "tar-xzf vm.tar.gz" to decompress the file, and enter "ls" to view the file, you can find the new directory "vmware-tools-distrib ".
7. enter "cd vmware-tools-distrib/" to go to the "vmware-tools-distrib" directory and enter ". /vmware-install.pl "try to install, error"-bash :. /vmware-install.pl:/usr/bin/per: bad interpreter: No such file or directory "indicates that the compiling environment is not installed.
8. Enter "yum-y install perl gcc make kernel-headers kernel-devel" to start installation.
9. The system prompts that the installation is complete.
10. In the vmware-tools-distrib directory, re-enter "./vmware-install.pl" to start installation, basically press the Enter key.
11. VMware Tools has been installed, prompting you to run the '/usr/bin/vmware-uninstall-tools.pl' command to uninstall VMware Tools. Run the "/usr/bin/vmware-config-tools.pl" command to configure VMware Tools and press enter to run it directly.
12. The system prompts that the installation is complete and can be started.
13. Enter "/usr/bin/vmware-user" to start the vmware user process and enter "startx" to start the graphic interface.
14. Select a file ("test document .docx" in this example), hold the left mouse button, and try to drag the file to the virtual machine.
15. Open the left mouse button and find that the file has been copied to the virtual machine.
16. To uninstall VMware Tools, enter "/usr/bin/vmware-uninstall-tools.pl.
17. to install the tool on the Gnome GUI, extract the file, right-click the folder, select "Open in Terminal", and enter ". /vmware-install.pl "can be.
Installation fault [edit]
18. If a similar error occurs during installation and the system prompts that you cannot delete open-vm-tools, it may be caused by the previous installation failure.
19. If you try to enter "/usr/bin/vmware-uninstall-tools.pl" and Cannot uninstall, enter "rpm-e open-vm-tools-desktop" to uninstall and reinstall.