在运行Windows 10和Ubuntu的系统上安装laravel 17.04
我刚刚安装了最新版本的Ubuntu,并且我的笔记本电脑上已经运行了Windows 10(东芝Satellite P55t-A5118)。在运行Windows 10和Ubuntu的系统上安装laravel 17.04
现在我想安装和在我的Ubuntu分区上运行laravel,我已经安装的所有软件需要的,但每当我运行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.
我在网上搜索这个错误,并试图几乎每一个解决方案,但还没有其还是行不通。
Linux Ubuntu和Fedora需要kernel-headers
软件包,不包含全新安装。
对于Ubuntu的运行:sudo apt-get install build-essential linux-headers-`uname -r` dkms
对于Fedora的运行:sudo yum install kernel-devel
我已经运行你发布的命令,并得到这个输出'0升级,0新安装,0删除和5未升级。' 然而流浪者已拒绝上来 –
试试这个:'sudo /etc/init.d/vboxdrv setup'并查看它给你的错误。这个主题一般:https://askubuntu.com/questions/165544/why-do-guest-additions-need-kernel-headers-in-virtualbox-4-04 – Melcma
这里是错误得到'sudo:/ etc/init.d/vboxdrv:找不到命令' –
它说你跑'运行后VBoxManage --version'?我经常遇到Fedora缺少kernel-devel/kernel-headers的问题,是否会对此有任何说明? – Melcma
我运行'VBoxManage --version'后,显示出错误'警告:字符设备/ dev/vboxdrv不存在。 \t请安装virtualbox-dkms包和相应的标头,最有可能的是linux-headers-generic。 \t在解决此问题之前,您将无法启动虚拟机。 5.1.22_Ubuntur115126' –
所以这是你正在寻找的答案。安装这些软件包或谷歌的错误消息或更新您的问题。我敢打赌,它缺少'linux-headers',因为我在Fedora上全新安装时遇到同样的问题。 – Melcma