gpt4 book ai didi

vagrant - 无法 vagrant up - 如何设置 "providers"

转载 作者:行者123 更新时间:2023-12-03 05:45:51 34 4
gpt4 key购买 nike

我正在尝试运行 vagrant,但在 vagrant up 后出现错误:

No usable default provider could be found for your system.

Vagrant relies on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.

The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.

If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn't working by forcing usage with
`vagrant up --provider=PROVIDER`, which should give you a more specific
error message for that particular provider.

我在 VirtualBox 版本 4.3.26 r989888 和 Linux Ubuntu(64 位)之前安装

之后:vagrant box添加precise32 http://files.vagrantup.com/precise32.box

==> 框:为提供商添加框“precise32”(v0):
框:下载:http://files.vagrantup.com/precise32.box
框:进度:100%(速率:1425k/s,估计剩余时间:--:--:--)
==> box:已成功为“virtualbox”添加框“precise32”(v0)!

当我列出 Vagrant 盒列表

lucid32   (virtualbox, 0)
precise32 (virtualbox, 0)

“提供者”有什么问题

vagrant 包 --base vagrant-ubuntu64

Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.

Vagrant uses the `VBoxManage` binary that ships with VirtualBox, and requires
this to be available on the PATH. If VirtualBox is installed, please find the
`VBoxManage` binary and add it to the PATH environmental variable.

如何帮助他检测VirtualBox?

最佳答案

快速说明 - Vagrant 1.8.4 和 Virtualbox 5.1.X 在 MacOS 10.11 上不兼容(无法设置提供程序)。

Virtualbox 5.0.10 工作得很好。

关于vagrant - 无法 vagrant up - 如何设置 "providers",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29450437/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com