1. Set up the shared directory in VirtualBox, set up automatic mount/fixed assignment
2. Install the enhanced tool, in order to avoid installation errors need to install dependent files
#更新内核.
Yum Update kernel
#需要安装相应的kernel-devel and GCC packages, GCC is also a must
Yum Install kernel-devel gcc
Restart the system after upgrade
3. Click Settings--click Install enhancements ...
And then into the inside of the virtual machine
Mount/dev/cdrom/home/vbox mount an enhanced package for iOS files
Tip Mount:block Device/dev/sr0 is write-protected, mounting read-only instructions are mounted on the
Cd/home/vbox
Sh./vboxlinuxadditions.run
Mount-t vboxsf osshare/home/tb/winshare/
Osshare is the name you set on the shared folder, followed by the directory where CentOS needs to be mounted.
You can see the shared files when you enter/home/tb/winshare/.
Mac VirtualBox shared folder with Linux virtual machine