vbox分享目录给centos

# yum update
# yum install dkms gcc make kernel-devel bzip2 binutils patch libgomp glibc-headers glibc-devel kernel-headers
# mkdir -p /media/cdrom
# mount /dev/scd0 /media/cdrom
# sh /media/cdrom/VBoxLinuxAdditions.run

# mkdir /mnt/shareFolder
# mount -t vboxsf 你主机上共享文件夹的名字  /mnt/shareFolder

你可能感兴趣的:(vbox分享目录给centos)