1. VirtualBox set shared directory, set the automatic loading / fixed allocation
2. Install enhancement tools, in order to avoid installation errors need to install dependencies
# Update the kernel.
Kernel Update yum
# need to install the kernel-devel packages and gcc, gcc also necessary
yum install kernel-devel gcc
After rebooting the system upgrade
3. Click Settings -> Click Installation Enhancements ...
Then enter inside the virtual machine
mount / dev / cdrom / home / vbox mount file ios enhanced package
Tip mount: block device / dev / sr0 is write-protected, mounting read-only instructions on the mount
cd /home/vbox
Run Enhancement Package
sh ./VBoxLinuxAdditions.run
You can mount the complete run of the shared directory
-t vboxsf osshare Mount / Home / TB / WINSHARE /
osshare you set on the shared folder name, the latter is `centos` need to mount the directory.
Enter / home / tb / winshare / you can see the file-sharing