When setting up a shared folder, refer to the methods of other people on the Internet, because each person encountered the situation is different, so the actual encounter and deal with the method to summarize, for forgetting.
Device enhancements, click Devices, 1:virtualbox
2: Mount Optical drive mount-t iso9660/dev/dvd/media/cdrom prompt error:/dev/dvd write-protected (write protection)
Execute Mount-o Remount,rw/dev/dvd/media/cdrom---success
Note: First check if the device logo is a DVD under/dev and some hosts may be dvd1,cdrom for the new directory
3:cd/media/cdrom can see that the Vboxlinuxaddtion.run script executes the script directly./vboxlinuxaddtion.run error
Tip The GCC utility is not found; the headers of the current running kernel is not found
Rpm-q gcc prompt not installed, yum-y install GCC installation
Uname-r: Kernel version: 2.6.32-431.el6.x86_64
Yum into Kernel-devel: View Kernel-devel version 2.6.32-573.3.1.x86_64
Upgrade kernel Yum Update kernel to make the Kernel-devel and kernel versions consistent---Reboot the system to use the new kernel
4: Create shared folder with shared folder, device---the name of the shared folder is: The Share_file_linux property is set to fixed assignment
5:mount-t vboxsf Share_file_linux/mnt/share_win_linux
Create a file manually under Share_file_linux, under/mnt/share_win_linux If you can view this file, the shared folder setting succeeds
Modify the/etc/profile configuration file, add mount-t vboxsf share_file_linux/mnt/share_win_linux to the last line, and each reboot can be/mnt/share_win_ Linux sees something shared so that it doesn't have to be loaded every time.
VirtualBox installing centos6.5 setting up Shared folders