当我在puphpet中运行vagrant时出错

时间:2016-01-16 11:52:43

标签: vagrant puphpet

我正在尝试在我的Windows 10机器上本地设置vagrant,我已预先安装了最新版本的Vagant和Virtual box。我正在尝试设置Ubuntu 14,Apache,PHP和Mysql。从puphpet.com下载软件包后,我将CD放入目录并尝试运行vagrant up。我收到以下错误。我也试过Centos,得到同样的错误

F:\puphpet (3)\MQLYog>vagrant up
Bringing machine 'local' up with 'virtualbox' provider...
==> local: Box 'puphpet/centos65-x64' could not be found. Attempting to find and install...
    local: Box Provider: virtualbox
    local: Box Version: >= 0
The box '["puphpet/centos65-x64"]' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/puphpet/centos65-x64"]
Error:

2 个答案:

答案 0 :(得分:1)

嗯,看起来名字是正确的,你可以尝试单独下载这个盒子吗?

vagrant box add puphpet/centos65-x64

如果您有SSL错误,可以运行

vagrant box add puphpet/centos65-x64 --insecure

系统提示您提供商时,请选择virtualbox

答案 1 :(得分:0)

Vagrant在Windows上自带curl.exe,但这似乎已被打破。

尝试安装Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)

如果不起作用,请尝试这种方式:

  • 安装有效的curl.exe可执行文件Download
  • 使卷曲可用于整个系统(PATH系统变量)tutorial
  • 删除或重命名curl.exe
  • 中的无效C:\HashiCorp\Vagrant\embedded\bin