vagrant - 无法在 Ubuntu 16.04 上运行 Vagrant

标签 vagrant virtualbox ubuntu-16.04

我最近刚刚安装了 Vagrant 和 Virtualbox,但无法运行 Vagrant。运行“vagrant up”时出现以下错误:

roosterlegs@roosterlegs-Lenovo-Y50-70:~/vagrant_proj$ vagrant up
VirtualBox is complaining that the installation is incomplete. Please
run `VBoxManage --version` to see the error message which should contain
instructions on how to fix this error.

然后当我运行“VBoxManage --version”时,我得到:
roosterlegs@roosterlegs-Lenovo-Y50-70:~/vagrant_proj$ VBoxManage --version
WARNING: The character device /dev/vboxdrv does not exist.
     Please install the virtualbox-dkms package and the appropriate
     headers, most likely linux-headers-generic.

     You will not be able to start VMs until this problem is fixed.
5.0.18_Ubuntur106667

我尝试了许多解决方案,例如此处的说明:
How to correct virtualbox installation ,但似乎没有任何效果。

请帮忙。

最佳答案

对于也遇到此问题的其他人,请禁用安全启动。对我有用。

enter image description here

关于vagrant - 无法在 Ubuntu 16.04 上运行 Vagrant,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37625129/

相关文章:

postgresql - 在 Vagrant 上使用 Puppet 配置 PostgreSQL

docker - 无法在Windows 7计算机上创建Vagrant计算机

docker - 使用Minikube的Docker中的Hyper-v和VirtualBox冲突

ubuntu - 在仅主机网络上使用 E_ACCESSDENIED 的 VirtualBox 提供程序失败

ubuntu - 尝试使用 Asterisk 13.16 在 Ubuntu 16.04 上安装 freepbx 14 - 错误 : can't communicate with asterisk, asterisk appears being running as asterisk

webdriver - Protractor : WebDriverError : could not initialize sun. security.ssl.SSLContextImpl$TLSContext

bash - 用于创建 Db 和集合的 Mongo bash 脚本

ubuntu - 警告 : remote connection disconnect, 连接到 169.254.169.254 超时

windows - 如何将主机文件复制到 VirtualBox 中的 Windows 客户机操作系统?

ubuntu - Caffe 编译错误 - 虚拟框中的 Ubuntu 18.04.4 Live Server