【发布时间】:2016-06-30 20:33:56
【问题描述】:
Laravel 和 Vagrant 的新手,除了通过 MAMP 之外,永远不要以任何方式建立虚拟机。 一般是使用终端的新手。
在 Mac OSX 10.9 上运行。 Vagrantfile(希望很快 Laravel)被放置在 Documents 的一个文件夹中。
接收错误:
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
更新:当通过我的浏览器访问指定的 VM 地址时,我收到了 403 Forbidden 的问候
编辑:修复有关 mcrypt 的 laravel 安装问题后更新的终端日志链接。
更新:通过将以下内容添加到/etc/sudoers 来描述here 的尝试解决方案。问题未解决。
vagrant ALL=(ALL) NOPASSWD:ALL
Defaults:vagrant !requiretty
【问题讨论】: