【发布时间】:2017-09-08 19:40:49
【问题描述】:
我正在尝试在具有宅基地环境的计算机上安装 laravel。我按照official documentation 上的所有步骤操作。当我执行“vagrant up”时,我的控制台显示以下错误。
在 SSH 身份验证方法处停止。以前我用 "ssh-keygen -t rsa -b 4096 -C "me@email.com"
配置了 ssh-keygen在 hosts 文件中,我在文件底部添加了:“192.168.10.10 administracio.dev”。
然后当我让这个错误崩溃时,它显示以下错误:
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
有什么建议吗?
【问题讨论】:
-
试试这个:打开虚拟盒子应用程序,进入虚拟机的设置(通常命名为宅基地),在高级网络设置中选中“有线连接”复选框,然后重试。也许您需要再次执行 vagrant halt 和 vagrant up
-
我已经得到了你提到的所有配置,但是这东西在我的电脑上可以工作,但在我的笔记本电脑上不行。有什么方法可以传递我的所有配置或其他东西?
-
这里展示代码和配置时,请使用文字,不要使用图片。图片与剪贴板、搜索引擎和屏幕阅读器不兼容,让阅读器更难为您提供帮助。
-
好的!下次复制。
标签: laravel ssh vagrant virtualbox homestead