执行出错的话(The headers for the current running kernel were not found. ),考虑先更新kernel: yum -y update kernel yum -y install kernel-devel kernel-headers dkms gcc gcc-c++ reboot 再安装
2. mkdir /mnt/share #share 是你决定在linux中的目录名 mount -t vboxsf youname /mnt/share (youname是你给共享文件夹的命名)#就是数据空间的名称啦 再在输入: cd /mnt/share
其它网络命令: ifconfig ifconfig eth0 up/down service network restart
环境变量设置: export a=b vi /etc/profile source /etc/profile #让修改生效 unset a