Laravel/Homestead

编程入门 行业动态 更新时间:2024-10-24 04:46:02
本文介绍了Laravel/Homestead-OSX-流浪者连接超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I am attempting to get Laravel Homestead working on my Mac Book Air. I have followed the instruction from laravel/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

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

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

  • 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

    更多调试步骤:

  • 尝试通过先按vagrant init laravel/homestead然后按vagrant up来启动流浪汉盒laravel/homestead.这仍然会带来同样的问题.
  • 我曾尝试过流浪汉laravel/homestead版本0.1.7,0.1.8和0.1.9(最新),但都出现了相同的问题.
  • Tried just booting up the vagrant box laravel/homestead by running vagrant init laravel/homestead then vagrant up. This still gives the same problem.
  • 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

    本文发布于:2023-10-07 12:53:39,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1469440.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:Laravel   Homestead

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!