Laravel/Homestead-OSX-流浪者连接超时 [英] Laravel/Homestead - OSX - Vagrant Connection Timeout

查看:69
本文介绍了Laravel/Homestead-OSX-流浪者连接超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试让Laravel Homestead在Mac Book Air上工作.我已经按照 http://laravel.com/docs/4.2/homestead 中的说明进行了操作,但是当我vagrant up我停在了以下位置:default: Warning: Connection timeout. Retrying...由于connection timeout我在vagrant up失败后,我不能vagrant provisionvagrant reload.但是,我可以vagrant ssh进入计算机,并且可以从计算机ping谷歌.我也可以毫无问题地在机器上旋转其他无用的盒子...

I am attempting to get Laravel Homestead working on my Mac Book Air. I have followed the instruction from http://laravel.com/docs/4.2/homestead but when I vagrant up I get stopped on: default: Warning: Connection timeout. Retrying... After I vagrant up fails because of connection timeout i can not vagrant provision or vagrant reload. I can however vagrant ssh into the machine and I can ping google from the machine. I can also spin up other vagrant boxes on my machine with no problem...

  • OS:OSX 10.10(优胜美地)
  • 流浪者:1.6.5
  • 虚拟盒子:4.3.16

我已经在互联网上进行了搜索,找到了一些对我不起作用的解决方案":

  1. 打开硬件虚拟化".这是在基于ant instal的Mac计算机中自动打开的.

  1. Turn on "Hardware Virtualisation". This is automatically turned on in ant instal based mac computer.

使用v.gui = true启动VM.这将以服务器终端为视角启动VM.什么都不会抛出任何错误.这并不能解决问题

Start VM with v.gui = true. This start the VM with with the server terminal in view. Nothing is throwing any errors. and this did not solve the problem

更多调试步骤:

  1. 尝试通过先按vagrant init laravel/homestead然后按vagrant up来启动流浪汉盒laravel/homestead.这仍然会带来同样的问题.
  2. 我曾尝试过流浪汉laravel/homestead版本0.1.70.1.80.1.9(最新),但都出现了相同的问题.
  1. Tried just booting up the vagrant box laravel/homestead by running vagrant init laravel/homestead then vagrant up. This still gives the same problem.
  2. I have tried vagrant box laravel/homestead versions 0.1.7, 0.1.8 and 0.1.9(newest) All giving the same problem.

推荐答案

发表了一年的文章,也许您已经解决了,但是我最近在努力解决这个问题,只是设法解决了这个问题.

A year old post and maybe you have solved it, but I was struggling with it recently and just managed to solve it.

我遇到了同样的问题,所有内容均已正确配置,但无法ping 192.168.10.10.

I had the same problem everything was configured correctly but there was no way to ping 192.168.10.10.

在我的情况下,默认情况下似乎未在我的发行版(Archlinux)中安装net-tools软件包,因此安装该软件包可使我进行连接.

In my case it seemed that net-tools package wasn't installed in my distro (Archlinux) by default so installing it allowed me to connect.

请参见Archlinux Wiki 中的相关部分.

See the relevant section at Archlinux Wiki.

希望能帮助到某人.

这篇关于Laravel/Homestead-OSX-流浪者连接超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆