【问题标题】:Vaprobash: Create new VM failedVaprobash:创建新虚拟机失败
【发布时间】:2014-05-20 07:30:31
【问题描述】:

我正在尝试使用 VAPROBASH (https://github.com/fideloper/Vaprobash) 安装新 VM 但是挂载NFS共享文件夹时安装失败

我正在使用 Mac OsX 10.9.2、Vagrant 1.6.2、VirtualBox 4.2.20

=> default: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o 'nolock,vers=3,udp,noatime' 192.168.22.1:'/Users/user/Sites/myfolder' /vagrant

Stdout from the command:

Stderr from the command:

stdin: is not a tty
mount.nfs: requested NFS version or transport protocol is not supported

任何帮助将不胜感激!谢谢!我需要开始一个项目!

【问题讨论】:

  • 不是一个直接的答案——但你试过宅基地吗? laravel.com/docs/homestead
  • 不,我不知道这个存在!!!谢谢!
  • 这两天才发布
  • 哦不!我需要 apache,Homestead 仅适用于 nginx :(

标签: laravel virtual-machine virtualbox vagrant vagrantfile


【解决方案1】:

我找到了解决方案:

将 127.0.0.1 localhost 行添加到 /etc/hosts 文件也对我有用

我使用 vagrant 1.6.2 和 vbox 4.3.10

https://github.com/mitchellh/vagrant/issues/1941#issuecomment-43098597

【讨论】:

    猜你喜欢
    • 2018-04-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多