Install CentOS in the VirtualBox virtual machine and set the way to share folders with win7: 1. install CentOS in the VirtualBox enhancement tool
Install CentOS on the VirtualBox virtual machine and set the way to share folders with win7:
1. install the folder sharing tool in the VirtualBox enhancement tool, follow the prompts and set a shared folder in windows.
2. log on to the CentOS virtual machine and enable sharing. a CD is attached to/media on the desktop. Enter the Directory of the disc under/media and run the run file.
[Root @ localhost media] # cd/media/VBOXADDITIONS_4.3.10_93012
[Root @ localhost VBOXADDITIONS_4.3.10_93012] #./VBoxLinuxAdditions. run
3. after successful execution, mount the virtual folder
[Root @ localhost VBOXADDITIONS_4.3.10_93012] # mkdir/mnt/share
[Root @ localhost VBOXADDITIONS_4.3.10_93012] # mount-t vboxsf winshare/mnt/share
(Shared is the name of my shared folder in windows)
Now, the shared folder is successfully set.