1. Select Install Vmware-tools in the virtual machine, or reinstall
2. Create the CDROM folder in the/MNT directory
Mkdir/mnt.cdrom
3. Attach the/dev/cdrom optical drive to the folder you just built
Mount/dev/cdrom/mnt/cdrom
Check the/mnt/cdrom directory for vmware-tools.tar.gz compressed files
4. Copy the Vm-tools compressed file in the/mnt/cdrom directory to the/tmp directory
CP vmware-tools.tar.gz/tmp
5. Switch to/tmp folder, Cd/tmp can see the current directory has been copied vm-tools compressed files, in the current directory directly extracted files
TAR-ZXVF vmware-tools.tar.gz
6. After the decompression is complete, in the current directory there will be Vmware-tools-distrib folder, which is extracted after the completion of the file, where vmware-install.pl is the command to perform the installation
(Root privilege) vmware-tools-distrib/vmware-install.pl
All the way to complete the installation
-----------------------------------
During installation, if you encounter the path "is not a valid path to the GCC binary.
To install the file, execute the following command
Yum-yUpdateYum-yinstall kernel-headers kernel-devel gcc
Installing Vm-tools for Linux in VMware