美文网首页
fedora下启动vagrant up 报VirtualBox

fedora下启动vagrant up 报VirtualBox

作者: 足迹人生2017 | 来源:发表于2018-10-12 23:37 被阅读17次
    sudo dnf install "kernel-devel-uname-r == $(uname -r)"
    sudo dnf groupinstall "Development Tools"
    sudo dnf update
    sudo /usr/lib/virtualbox/vboxdrv.sh setup
    

    如果执行sudo /usr/lib/virtualbox/vboxdrv.sh setup报错的话,我查看错误原因:
    我这里是少了elfutils-libelf

    sudo dnf install elfutils-libelf.x86_64 
    sudo dnf install elfutils-libelf-devel.x86_64
    sudo dnf install elfutils-libelf-devel-static.x86_64
    //然后在执行
    sudo /usr/lib/virtualbox/vboxdrv.sh setup
    

    不报错的化基本上可以正常启动homestead

    参考
    https://stackoverflow.com/questions/33200717/vagrant-up-and-vm-doesnt-work-fedora-22

    相关文章

      网友评论

          本文标题:fedora下启动vagrant up 报VirtualBox

          本文链接:https://www.haomeiwen.com/subject/yxunaftx.html