我刚刚安装了 centos 7,然后我尝试安装 vagrant。安装 virtualbox 之后,当我运行 vagrant up 时,我得到:
VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
我运行“VBoxManage --version”并出现错误
The vboxdrv kernel module is not loaded. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup
我运行 sudo /etc/init.d/vboxdrv setup 我得到了
Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory>
缺少哪些包裹?