1. 安装 open-vm-tools
sudo yum install open-vm-tools
2. 编辑 /etc/fstab
文件
.host:/ /mnt/hgfs fuse.vmhgfs-fuse defaults,allow_other,uid=your_username,gid=your_groupname,auto_unmount
//其中,your_username表示你的用户名,your_groupname表示你所在的用户组
3. 挂载 /mnt/hgfs
目录
sudo mount -a
4. reboot试试