44得票4回答
如何在Vagrant中自动选择桥接网络接口?

我应该在Vagrant文件中添加什么内容以防止询问(在vagrant up命令之后) 网络桥接应该连接哪个接口? Available bridged network interfaces: 1) Intel(R) 82579LM Gigabit Network Connection 2...

34得票11回答
Vagrant错误:无法安装VirtualBox共享文件夹(Guest Additions,vboxsf)

问题 我在Windows 10上安装了Vagrant,以便在虚拟机中创建个人本地开发环境。我读到的有关Vagrant的所有信息都说我甚至可以启动多个系统,并使用NAT端口转发测试它们之间的通信。但是首先,我只想创建一个开发环境的虚拟机,在进行其余操作之前。 按照SitePoint教程:ht...

16得票3回答
使用Vagrant安装Composer

我已经在我的Windows电脑上成功安装了Vagrant和一些虚拟机。我必须说它非常棒,可以随时创建并销毁具有不同配置的虚拟机。 现在唯一的问题是我想安装Composer,但是安装Composer需要指定php.exe。如果我在电脑上安装PHP,那使用Vagrant就没有意义了。我该如何解决...

16得票1回答
在Windows上使用Rsync - dup() in/out/err失败

我正在使用Vagrant来管理虚拟机以进行开发。我的操作系统是Windows 10,我正在使用Vagrant 1.9.1版本。由于文件夹同步的默认驱动程序很慢,所以我想实现Rsync。 为此,我使用了Cygwin并安装了Rsync和OpenSSL。 当我在Cygwin控制台中运行vagra...

15得票2回答
如何使用“Visual Studio Code Remote - SSH”设置Vagrant容器的远程连接?

我正在探索名为VSCode Remote Pack的新扩展集,并希望使用Remote Container扩展连接到Vagrant容器。在使用Windows 10操作系统时,我该如何做? 我尝试了这个扩展,但它要求我安装Docker,所以我认为它只适用于Docker容器。但我想知道是否有人已经...

13得票1回答
Vagrant:文件id_rsa丢失

我正在使用安装了Homestead的Windows系统,尝试在命令行中输入vagrant up,但是遇到了以下错误: C:/www/Homestead/scripts/homestead.rb:106:in read': No such file or directory @ rb_s...

13得票4回答
Vagrant警告:连接被拒绝。正在重试。

测试默认示例$ vagrant init hashicorp/precise32 $ vagrant up 我的配置: Windows 8.1 VirtualBox 5.0.2 Vagrant 1.7.4 Intel i7-4700MQ CPU,似乎支持 Intel® Virtualiza...

12得票2回答
在Vagrant中,我能否设置一个配置管理工具只能手动运行?

在我的Vagrantfile中,我有一个像这样的provisioner:config.vm.provision "reset", type: "shell", run: "always" do |s| s.privileged = false s.inline = "bash ...

11得票2回答
Vagrant错误 "找不到'hashicorp/precise32'盒子..." Windows 10下载器退出状态3221225781

我在Windows 10上遇到了这个错误:The box 'hashicorp/precise32' could not be found or could not be accessed in the remote catalog. If this is a private box on H...

11得票4回答
Vagrant up提示“cygpath”未找到vagrant,请检查路径。

我已经安装了Vagrant,Vagrant init命令正常工作。但是当我运行Vagrant up时,出现以下错误:The executable 'cygpath' Vagrant is trying to run was not found in the %PATH% variable. T...