Host: Win7, VM: CentOS 6.5 minimal
VM setup
setup network and share folders in Settings of VM.
Network setup
-
In settings of VM: the first NIC is host-only, second is bridged.
-
Start VM, create /etc/sysconfig/network-scripts/ifcfg-eth1 based on ifcfg-eth0, the hardware address is from /etc/udev/rules/70-persistent.network;
-
reboot;
Install Guest Addons
In VM:
# yum update
# yum install gcc
# yum install kernel-devel
# mount /dev/scd0 /media/cdrom
# sh /media/VBOXADDITIONS_4.0.12_72916/VBoxLinuxAdditions.run
Now you can visit share folders in /media/sf_