Vbox:命令行安装增强工具
yum install kernel sources kernel-devel gcc -y
#yum groupinstall "Development tools" #安装gcc
init 6 # 重启
mount /dev/cdrom /media #mount /dev/dvd /media
cd /media
sh ./VBoxLinuxAdditions.run
init 6
mount -t vboxsf mnt /mnt
yum install kernel sources kernel-devel gcc -y
#yum groupinstall "Development tools" #安装gcc
init 6 # 重启
mount /dev/cdrom /media #mount /dev/dvd /media
cd /media
sh ./VBoxLinuxAdditions.run
init 6
mount -t vboxsf mnt /mnt