fabric2.0发布之后,官网中提到了,建议使用test network作为上手例子,取代first network 打tag 变更文件夹执行权限 进入test-network文件夹 展示下图说明执行成功
工具安装:curl docker docker-compose(除非后续执行链码,使用镜像搭建网络不用安装go nodejs)
准备食材:docker镜像 fabric-sample(提前下载好)
开启docker
systemctl start docker(service docker start)
tar包上传后(任意位置,我放到/mnt下了)加载docker load < couchdb.tar docker load < fabric-ca-1-4-6.tar docker load < fabric-tools-2-0-0.tar docker load < fabric-peer-2-0-0.tar docker load < fabric-orderer-2-0-0.tar docker load < fabric-ccenv-2-0-0.tar docker load < fabric-baseos-2-0-0.tar docker load < fabric-javaenv-2-0-0.tar docker load < fabric-nodeenv-2-0-0.tar docker load < fabric-zookeeper-0-4-18.tar docker load < fabric-kafka-0-4-18.tar docker load < fabric-couchdb-0-4-18.tar
docker tag couchdb:2.3 couchdb:latest docker tag hyperledger/fabric-ca:1.4.6 hyperledger/fabric-ca:latest docker tag hyperledger/fabric-tools:2.0.0 hyperledger/fabric-tools:latest docker tag hyperledger/fabric-peer:2.0.0 hyperledger/fabric-peer:latest docker tag hyperledger/fabric-orderer:2.0.0 hyperledger/fabric-orderer:latest docker tag hyperledger/fabric-ccenv:2.0.0 hyperledger/fabric-ccenv:latest docker tag hyperledger/fabric-baseos:2.0.0 hyperledger/fabric-baseos:latest docker tag hyperledger/fabric-javaenv:2.0.0 hyperledger/fabric-javaenv:latest docker tag hyperledger/fabric-nodeenv:2.0.0 hyperledger/fabric-nodeenv:latest docker tag hyperledger/fabric-zookeeper:0.4.18 hyperledger/fabric-zookeeper:latest docker tag hyperledger/fabric-kafka:0.4.18 hyperledger/fabric-kafka:latest docker tag hyperledger/fabric-couchdb:0.4.18 hyperledger/fabric-couchdb:latest
[root@qkl16g-0003 mnt]# chmod a+x -R fabric-samples/
[root@qkl16g-0003 test-network]# ./network.sh up createChannel -ca -c mychannel -s couchdb
本网页所有视频内容由 imoviebox边看边下-网页视频下载, iurlBox网页地址收藏管理器 下载并得到。
ImovieBox网页视频下载器 下载地址: ImovieBox网页视频下载器-最新版本下载
本文章由: imapbox邮箱云存储,邮箱网盘,ImageBox 图片批量下载器,网页图片批量下载专家,网页图片批量下载器,获取到文章图片,imoviebox网页视频批量下载器,下载视频内容,为您提供.
阅读和此文章类似的: 全球云计算