Installed the following
- cURL ver 7.61.1
- Docker ver 18.06.1-ce-win73 (19507)
- Go ver go1.11.1 windows/amd64
- Node.js ver 8.9.1
npm install npm@5.6.0 -g
- Python ver 2.7
git config --global core.autocrlf false git config --global core.longpaths true
- Be patient, this took more than 10 minutes:
npm install --global windows-build-tools
npm install --global grpc
PowerShell:
PS D:\Work\Fabric> curl https://github.com/hyperledger/fabric/blob/master/scripts/bootstrap.sh | bash -s 1.2.1
curl : The request was aborted: Could not create SSL/TLS secure channel.
At line:1 char:1
+ curl https://github.com/hyperledger/fabric/blob/master/scripts/bootst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Cannot use PowerShell.
Just use cmd
:
d:\Work\Fabric>curl -sSL http://bit.ly/2ysbOFE | bash -s 1.2.1
/usr/bin/bash: line 181: [: too many arguments
Installing hyperledger/fabric-samples repo
===> Cloning hyperledger/fabric-samples repo and checkout v1.2.1
Cloning into 'fabric-samples'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1869 (delta 0), reused 0 (delta 0), pack-reused 1868
Receiving objects: 100% (1869/1869), 641.79 KiB | 380.00 KiB/s, done.
Resolving deltas: 100% (913/913), done.
error: pathspec 'v1.2.1' did not match any file(s) known to git.
Installing Hyperledger Fabric binaries
===> Downloading version 1.2.1 platform specific fabric binaries
===> Downloading: https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/windows-amd64-1.2.1/hyperledger-fabric-windows-amd64-1.2.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 29.9M 100 29.9M 0 0 2246k 0 0:00:13 0:00:13 --:--:-- 2665k
==> Done.
===> Downloading version 1.3.0-rc1 platform specific fabric-ca-client binary
===> Downloading: https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/windows-amd64-1.3.0-rc1/hyperledger-fabric-ca-windows-amd64-1.3.0-rc1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4005k 100 4005k 0 0 893k 0 0:00:04 0:00:04 --:--:-- 942k
==> Done.
Installing Hyperledger Fabric docker images
===> Pulling fabric Images
==> FABRIC IMAGE: peer
1.2.1: Pulling from hyperledger/fabric-peer
b234f539f7a1: Pull complete
55172d420b43: Pull complete
5ba5bbeb6b91: Pull complete
43ae2841ad7a: Pull complete
f6c9c6de4190: Pull complete
c6af77e36488: Pull complete
964f7f4f22f3: Pull complete
6c2a3b5ab78f: Pull complete
56bf6b50282b: Pull complete
aa6c5a3c5275: Pull complete
Digest: sha256:27db96465aedb12fb027c8c1bc67afd02aae5ecfd3c619f7d70a9c111f7399e5
Status: Downloaded newer image for hyperledger/fabric-peer:1.2.1
==> FABRIC IMAGE: orderer
1.2.1: Pulling from hyperledger/fabric-orderer
b234f539f7a1: Already exists
55172d420b43: Already exists
5ba5bbeb6b91: Already exists
43ae2841ad7a: Already exists
f6c9c6de4190: Already exists
c6af77e36488: Already exists
964f7f4f22f3: Already exists
6c2a3b5ab78f: Already exists
012160cf0ce3: Pull complete
bf4731803a6d: Pull complete
Digest: sha256:e5901f4dccc72a2f1b15e474cd4b097ff58ccc16c6f509b6a56e9b86b7873559
Status: Downloaded newer image for hyperledger/fabric-orderer:1.2.1
==> FABRIC IMAGE: ccenv
1.2.1: Pulling from hyperledger/fabric-ccenv
b234f539f7a1: Already exists
55172d420b43: Already exists
5ba5bbeb6b91: Already exists
43ae2841ad7a: Already exists
f6c9c6de4190: Already exists
c6af77e36488: Already exists
964f7f4f22f3: Already exists
13cd31405e09: Pull complete
e03b35c19d96: Pull complete
96c2920985e3: Pull complete
e91461be8304: Pull complete
3200ac339879: Pull complete
334803f65df7: Pull complete
47eb0410a628: Pull complete
Digest: sha256:b6ebd1c69e943e901fcc4b7a9091ec3723a9e25d85ce6ff82049a5259d3370c1
Status: Downloaded newer image for hyperledger/fabric-ccenv:1.2.1
==> FABRIC IMAGE: javaenv
Error response from daemon: manifest for hyperledger/fabric-javaenv:1.2.1 not found
Error response from daemon: No such image: hyperledger/fabric-javaenv:1.2.1
==> FABRIC IMAGE: tools
1.2.1: Pulling from hyperledger/fabric-tools
b234f539f7a1: Already exists
55172d420b43: Already exists
5ba5bbeb6b91: Already exists
43ae2841ad7a: Already exists
f6c9c6de4190: Already exists
c6af77e36488: Already exists
964f7f4f22f3: Already exists
13cd31405e09: Already exists
e03b35c19d96: Already exists
96c2920985e3: Already exists
e91461be8304: Already exists
2e74d4720d9c: Pull complete
0d09735e7bc1: Pull complete
beed01ba9041: Pull complete
Digest: sha256:5c700ae0a96bbaf4d93d0f781519b2447546379928a2afd9d1310eba9d13672f
Status: Downloaded newer image for hyperledger/fabric-tools:1.2.1
===> Pulling fabric ca Image
==> FABRIC CA IMAGE
1.3.0-rc1: Pulling from hyperledger/fabric-ca
3b37166ec614: Pull complete
504facff238f: Pull complete
ebbcacd28e10: Pull complete
c7fb3351ecad: Pull complete
2e3debadcbf7: Pull complete
ba1fb16c2a75: Pull complete
7a5bc600ac3a: Pull complete
803ae03af131: Pull complete
7912b50d89e1: Pull complete
a66438823088: Pull complete
0ccc5b6be83e: Pull complete
212c6ba2b79a: Pull complete
Digest: sha256:a055a21455353afe246fa7d993b9a450465b0acd6c5f09ca566cbe60c3ce0ca4
Status: Downloaded newer image for hyperledger/fabric-ca:1.3.0-rc1
===> Pulling thirdparty docker images
==> THIRDPARTY DOCKER IMAGE: couchdb
0.4.12: Pulling from hyperledger/fabric-couchdb
3b37166ec614: Already exists
504facff238f: Already exists
ebbcacd28e10: Already exists
c7fb3351ecad: Already exists
2e3debadcbf7: Already exists
ba1fb16c2a75: Already exists
7a5bc600ac3a: Already exists
0a838291fabb: Pull complete
14853f8ce436: Pull complete
89da1439a01e: Pull complete
7a5dcbe93d68: Pull complete
558c1e6108d4: Pull complete
855716818b16: Pull complete
14f3c338ee0c: Pull complete
e80046005246: Pull complete
28ab39871872: Pull complete
3ddce7225405: Pull complete
a44a16310a99: Pull complete
88ab5d0e47fc: Pull complete
d61ed28d5367: Pull complete
c2eb54a1da03: Pull complete
Digest: sha256:97d77a5eb4c4bf4dcfc738446db41ae727b5b283367e41ac642fe9d277efa849
Status: Downloaded newer image for hyperledger/fabric-couchdb:0.4.12
==> THIRDPARTY DOCKER IMAGE: kafka
0.4.12: Pulling from hyperledger/fabric-kafka
3b37166ec614: Already exists
504facff238f: Already exists
ebbcacd28e10: Already exists
c7fb3351ecad: Already exists
2e3debadcbf7: Already exists
ba1fb16c2a75: Already exists
7a5bc600ac3a: Already exists
0a838291fabb: Already exists
14853f8ce436: Already exists
89da1439a01e: Already exists
7a5dcbe93d68: Already exists
f2f23dceda19: Pull complete
207a4855ce00: Pull complete
598e5c4ebe64: Pull complete
Digest: sha256:9a8951961d74f54934fd36c4c5bc213732fa2481d74ac7cf7be5e9eacdc2b7b9
Status: Downloaded newer image for hyperledger/fabric-kafka:0.4.12
==> THIRDPARTY DOCKER IMAGE: zookeeper
0.4.12: Pulling from hyperledger/fabric-zookeeper
3b37166ec614: Already exists
504facff238f: Already exists
ebbcacd28e10: Already exists
c7fb3351ecad: Already exists
2e3debadcbf7: Already exists
ba1fb16c2a75: Already exists
7a5bc600ac3a: Already exists
0a838291fabb: Already exists
14853f8ce436: Already exists
89da1439a01e: Already exists
7a5dcbe93d68: Already exists
676346363147: Pull complete
78bd0010b51b: Pull complete
03ed57dd5e1c: Pull complete
78725dc6b711: Pull complete
Digest: sha256:4c7ed9e0866b270aa2fddf69c0a5d7a5c432d8c84d64b9ee571073cc88478df7
Status: Downloaded newer image for hyperledger/fabric-zookeeper:0.4.12
===> List out hyperledger docker images
hyperledger/fabric-tools 1.2.1 7aea1cc899d1 5 days ago 1.51GB
hyperledger/fabric-tools latest 7aea1cc899d1 5 days ago 1.51GB
hyperledger/fabric-ccenv 1.2.1 8651e7160d88 5 days ago 1.43GB
hyperledger/fabric-ccenv latest 8651e7160d88 5 days ago 1.43GB
hyperledger/fabric-orderer 1.2.1 b1a1dd788841 5 days ago 152MB
hyperledger/fabric-orderer latest b1a1dd788841 5 days ago 152MB
hyperledger/fabric-peer 1.2.1 ef0e7788ead0 5 days ago 159MB
hyperledger/fabric-peer latest ef0e7788ead0 5 days ago 159MB
hyperledger/fabric-ca 1.3.0-rc1 784b38dab5ba 7 days ago 244MB
hyperledger/fabric-ca latest 784b38dab5ba 7 days ago 244MB
hyperledger/fabric-zookeeper 0.4.12 bca71b814159 2 weeks ago 1.39GB
hyperledger/fabric-zookeeper latest bca71b814159 2 weeks ago 1.39GB
hyperledger/fabric-kafka 0.4.12 58b901c762ea 2 weeks ago 1.4GB
hyperledger/fabric-kafka latest 58b901c762ea 2 weeks ago 1.4GB
hyperledger/fabric-couchdb 0.4.12 fe8d64d1233c 2 weeks ago 1.45GB
hyperledger/fabric-couchdb latest fe8d64d1233c 2 weeks ago 1.45GB
d:\Work\Fabric>
Posted by kiatng to Fabric (2018-10-03 04:37)