virtual box virtual machine set up shared folders

1. Update the environment

yum update

2. Reboot the system
reboot

3. Mounting and installation VBoxGuestAdditions.iso

Click the virtual machine upper menu bar equipment -> Installation Enhancements

Then mount the virtual drive to read enhancements installed in a virtual machine package file command line 

mount -t auto /dev/cdrom ~/cdrom

cd ~/cdrom/

You can then see the contents of the drive, as follows:

carried out

sh ./VBoxLinuxAdditions.run

Wait for the installation to complete

4. Click the virtual machine the top menu bar equipment -> Shared Folders, as shown:

Click the plus sign to the right window, set the relevant catalog and check automatically mount and fixed allocation

5. Now add a file to your local directory settings, and then go to the virtual machine corresponding directory seen it, you should already be seen

Guess you like

Origin www.cnblogs.com/super-lulu/p/10960736.html