yum install perl gcc make kernel-headers kernel-devel -y
2. Mount cdrom
mkdir /mnt/cdrom
mount -t iso9660 /dev/cdrom /mnt/cdrom
3. Extract the vmware tools package :
cp /mnt/cdrom/VMwareTools-10.1.6-5214329.tar.gz ~
cd ~
tar zxf VMwareTools-10.1.6-5214329.tar.gz
4. Run vmware-install.pl to start installation :
cd vmware-tools-distrib/
./vmware-install.pl
5. Check the folder exists
ls /mnt/hgfs
6. If /mnt/hgfs is empty, try mount share folders
vmware-hgfsclient
/usr/bin/vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other
ls /mnt/hgfs
7. Mount share folders on startup
vi /etc/fstab
append
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other,defaults 0 0