Blockchain 设置Hyperledger结构

Blockchain 设置Hyperledger结构,blockchain,hyperledger,hyperledger-fabric,Blockchain,Hyperledger,Hyperledger Fabric,我尝试设置Hyperledger结构项目。不幸的是,当我调用vargant up时,我得到: Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'hyperledger/fabric-baseimage' could not be found. Attempting to find and install... default: Box Provider: virtualbox

我尝试设置Hyperledger结构项目。不幸的是,当我调用vargant up时,我得到:

Bringing machine 'default' up with 'virtualbox' provider...
 ==> default: Box 'hyperledger/fabric-baseimage' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: 0.0.10
The box 'hyperledger/fabric-baseimage' 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/hyperledger/fabric-baseimage"]
Error: SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
我尝试使用docker映像,但run命令没有执行任何操作

我想启动Fabric区块链,尝试管理系统,部署合同并启动一些测试事务。有谁能帮我,如何开始织物


谢谢

我建议您重新安装

  • 流浪破坏。它将停止并删除流浪机器的所有痕迹
  • 流浪汉。开始并提供流浪环境

  • 这里列出的错误非常清楚,并提供了指向解决方案的链接。Vagrant无法下载映像,因为本地CA未携带颁发HashiCorp服务器证书的CA的证书

    如果您对运行Hyperledger结构、开发/部署链码和开发区块链应用程序感兴趣,您可以使用docker for Mac或Windows(beta版)使用以下docker-compose.yml定义运行
    docker compose up

    基于Vagrant的开发环境方法使结构在笔记本电脑上运行,实际上更面向希望帮助开发Hyperledger结构项目的开发人员,而不是只希望使用该平台开发应用程序的开发人员

    打开此链接:

    使用下面的命令:

    vagrant init hyperledger/fabric-baseimage; vagrant up --provider virtualbox
    
    请尝试以下说明:

    我使用了GitHub的hyperledger结构的分支v0.6,而不是 Gerrit one(在步骤“克隆结构项目”): git克隆-b v0.6

    当VM配置最终完成时,您将拥有一个可用于测试链码的环境

    环境完成后,您还应该查看GitHub IBM区块链大理石应用程序


    祝你好运。

    谢谢。我运行vagrant global status并收到:“此计算机上没有活动的vagrant环境”。我必须在运行之前准备好电脑吗?在vagran destroy上,我收到“VM not created”,你确定你的vagrant运行正常吗?还是再装一个流浪汉?问题与SSL证书有关。我在Vagrantfile中添加了config.vm.box\u download\u unsecure=true,我建议您按照此示例进行结构设置。首先,按原样,然后进行更改。
    vagrant init hyperledger/fabric-baseimage; vagrant up --provider virtualbox