VirtualBox installing centos6.5 setting up Shared folders

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.