Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vagrant Windows安装失败_Vagrant_Aerospike - Fatal编程技术网

Vagrant Windows安装失败

Vagrant Windows安装失败,vagrant,aerospike,Vagrant,Aerospike,你能帮我解决这个问题吗 我正在尝试在我的windows 10(office笔记本电脑)中安装Aerospike。我已经下载了最新的虚拟机盒最新的流浪汉。 然后通过git bash,我尝试按照aerospike windows安装的步骤进行操作,但是,我在“vagrant up”方面失败了。结果如下: $ vagrant up Bringing machine 'default' up with 'VirtualBox' provider... ==> default: Box 'aeros

你能帮我解决这个问题吗

我正在尝试在我的windows 10(office笔记本电脑)中安装Aerospike。我已经下载了最新的虚拟机盒最新的流浪汉。 然后通过git bash,我尝试按照aerospike windows安装的步骤进行操作,但是,我在“vagrant up”方面失败了。结果如下:

$ vagrant up Bringing machine 'default' up with 'VirtualBox' provider...
==> default: Box 'aerospike/centos-6.5' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'aerospike/centos-6.5'
    default: URL: http / aerospike/centos-6.5
==> default: Adding box 'aerospike/centos-6.5' (v3.14.1.2) for provider: virtualbox
    default: Downloading: https: //vagrantcloud.com/aerospike/boxes/centos-6.5/versions/3.14.1.2/providers/virtualbox.box
    default:

An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
SSL证书问题:证书链中的自签名证书 更多详细信息:https://curl.haxx.se/docs/sslcerts.html

curl默认情况下使用“bundle”执行SSL证书验证 颁发证书机构(CA)公钥(CA证书)。如果默认捆绑文件不足够,可以使用--cacert选项指定备用文件。 如果此HTTPS服务器使用由中表示的CA签名的证书 对于捆绑包,证书验证可能由于错误而失败 证书有问题(可能已过期,或者名称可能已过期) 与URL中的域名不匹配)。 如果要关闭curl对证书的验证,请使用 -k(或--unsecure)选项。 HTTPS代理具有类似的选项--代理cacert和--代理不安全


注意:我能够成功加载“precise64”。

您可以在文件中添加以下内容

config.vm.box_download_insecure = true

然后重新运行vagrant up,它应该下载这个框

问题似乎与openssl有关

请参见以下内容:

解决办法是让流浪汉以不安全的方式下载:

vagrant box add --insecure -c aerospike/centos-6.5 https://vagrantcloud.com/aerospike/boxes/centos-6.5/versions/3.14.1.2/providers/virtualbox.box

vagrant init aerospike/centos-6.5

vagrant up

您正在运行哪个版本的virtualbox?非常感谢,vagrant up命令现在已经工作并能够完成任务。再次感谢。