6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

hyperledger fabric 1.3 を動かしてみる【準備編】

Last updated at Posted at 2018-10-04

はじめに

仕事でブロックチェーンが必要になりプラットフォームとしてhyperledger fabricを選択しました。
BitcoinやEthereumも時間あれば試してたいです。
備忘録の意味を込めて作業手順を記載しておきます。
このページでは動かす前の準備をつらつらと記載しておきます。

環境

自PCがwindowsのためvagrantでubuntu仮想環境を構築して実施

vagrant@vagrant:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"

準備

hyperledger fabricの動作に必要なプラットフォームのインストールをします。
必要なものは公式に載っているので参考にします。

  • curl
  • docker(17.06.2-ce以上)
  • docker-compose(1.14.0以上)
  • go(1.10.xi上)
  • node.js runtime(8.9.x以上、9.xはサポート外)

curl

vagrant@vagrant:~$ sudo apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.58.0-2ubuntu3.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

docker

公式を参考にインストール
https://docs.docker.com/install/linux/docker-ce/ubuntu/

古いの入ってれば削除

vagrant@vagrant:~$ sudo apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.58.0-2ubuntu3.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
vagrant@vagrant:~$ sudo apt-get remove docker docker-engine docker.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'docker-engine' is not installed, so not removed
Package 'docker' is not installed, so not removed
Package 'docker.io' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

リポジトリのアップデート

vagrant@vagrant:~$ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [355 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [394 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [556 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [551 kB]
Fetched 2,101 kB in 4s (547 kB/s)
Reading package lists... Done

aptでhttpsを使えるようにする

vagrant@vagrant:~$ sudo apt-get install \
>     apt-transport-https \
>     ca-certificates \
>     curl \
>     software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20180409).
curl is already the newest version (7.58.0-2ubuntu3.3).
software-properties-common is already the newest version (0.96.24.32.5).
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,696 B of archives.
After this operation, 152 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt-transport-https all 1.6.3ubuntu0.1 [1,696 B]
Fetched 1,696 B in 1s (3,119 B/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 73009 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.3ubuntu0.1_all.deb ...
Unpacking apt-transport-https (1.6.3ubuntu0.1) ...
Setting up apt-transport-https (1.6.3ubuntu0.1) ...

docker公式のGPGキー追加

vagrant@vagrant:~$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
OK

フィンガープリントの確認

vagrant@vagrant:~$ sudo apt-key fingerprint 0EBFCD88
pub   rsa4096 2017-02-22 [SCEA]
      9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
uid           [ unknown] Docker Release (CE deb) <docker@docker.com>
sub   rsa4096 2017-02-22 [S]

安定版のリポジトリ追加

vagrant@vagrant:~$ sudo add-apt-repository \
>    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
>    $(lsb_release -cs) \
>    stable"
Get:1 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Get:2 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages [2,033 B]
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Fetched 66.5 kB in 1s (64.3 kB/s)
Reading package lists... Done

docker ce インストール

vagrant@vagrant:~$ sudo apt-get install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  aufs-tools cgroupfs-mount libltdl7 pigz
The following NEW packages will be installed:
  aufs-tools cgroupfs-mount docker-ce libltdl7 pigz
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.4 MB of archives.
After this operation, 199 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 pigz amd64 2.4-1 [57.4 kB]
Get:2 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce amd64 18.06.1~ce~3-0~ubuntu [40.2 MB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 aufs-tools amd64 1:4.9+20170918-1ubuntu1 [104 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 cgroupfs-mount all 1.4 [6,320 B]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libltdl7 amd64 2.4.6-2 [38.8 kB]
Fetched 40.4 MB in 4s (9,400 kB/s)
Selecting previously unselected package pigz.
(Reading database ... 73013 files and directories currently installed.)
Preparing to unpack .../archives/pigz_2.4-1_amd64.deb ...
Unpacking pigz (2.4-1) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a4.9+20170918-1ubuntu1_amd64.deb ...
Unpacking aufs-tools (1:4.9+20170918-1ubuntu1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../cgroupfs-mount_1.4_all.deb ...
Unpacking cgroupfs-mount (1.4) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../libltdl7_2.4.6-2_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-2) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb ...
Unpacking docker-ce (18.06.1~ce~3-0~ubuntu) ...
Setting up aufs-tools (1:4.9+20170918-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Setting up cgroupfs-mount (1.4) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.3) ...
Setting up libltdl7:amd64 (2.4.6-2) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up pigz (2.4-1) ...
Setting up docker-ce (18.06.1~ce~3-0~ubuntu) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.3) ...

dockerが正しくインストールされたか確認

vagrant@vagrant:~$ sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:0add3ace90ecb4adbf7777e9aacf18357296e799f81cabc9fde470971e499788
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

バージョン確認

vagrant@vagrant:~$ docker --version
Docker version 18.06.1-ce, build e68fc7a

docker-compose

公式を参考にインストール

実行コマンドのダウンロード&実行権限の追加

vagrant@vagrant:~$ sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   617    0   617    0     0    911      0 --:--:-- --:--:-- --:--:--   911
100 11.2M  100 11.2M    0     0  2993k      0  0:00:03  0:00:03 --:--:-- 4187k

vagrant@vagrant:~$ sudo chmod +x /usr/local/bin/docker-compose

docker-composeのバージョン確認

vagrant@vagrant:~$ docker-compose --version
docker-compose version 1.22.0, build f46880fe

GOのインストール

vagrant@vagrant:~$ sudo apt-get install golang-1.10
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  golang-1.10-doc golang-1.10-go golang-1.10-race-detector-runtime golang-1.10-src pkg-config
Suggested packages:
  bzr mercurial subversion
The following NEW packages will be installed:
  golang-1.10 golang-1.10-doc golang-1.10-go golang-1.10-race-detector-runtime golang-1.10-src pkg-config
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 41.7 MB of archives.
After this operation, 219 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 golang-1.10-src amd64 1.10.1-1ubuntu2 [10.1 MB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 golang-1.10-go amd64 1.10.1-1ubuntu2 [28.6 MB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 golang-1.10-doc all 1.10.1-1ubuntu2 [2,422 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 golang-1.10 all 1.10.1-1ubuntu2 [17.5 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 golang-1.10-race-detector-runtime amd64 0.0+svn285455-0ubuntu1 [478 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 pkg-config amd64 0.29.1-0ubuntu2 [45.0 kB]
Fetched 41.7 MB in 2min 37s (265 kB/s)
Selecting previously unselected package golang-1.10-src.
(Reading database ... 73313 files and directories currently installed.)
Preparing to unpack .../0-golang-1.10-src_1.10.1-1ubuntu2_amd64.deb ...
Unpacking golang-1.10-src (1.10.1-1ubuntu2) ...
Selecting previously unselected package golang-1.10-go.
Preparing to unpack .../1-golang-1.10-go_1.10.1-1ubuntu2_amd64.deb ...
Unpacking golang-1.10-go (1.10.1-1ubuntu2) ...
Selecting previously unselected package golang-1.10-doc.
Preparing to unpack .../2-golang-1.10-doc_1.10.1-1ubuntu2_all.deb ...
Unpacking golang-1.10-doc (1.10.1-1ubuntu2) ...
Selecting previously unselected package golang-1.10.
Preparing to unpack .../3-golang-1.10_1.10.1-1ubuntu2_all.deb ...
Unpacking golang-1.10 (1.10.1-1ubuntu2) ...
Selecting previously unselected package golang-1.10-race-detector-runtime.
Preparing to unpack .../4-golang-1.10-race-detector-runtime_0.0+svn285455-0ubuntu1_amd64.deb ...
Unpacking golang-1.10-race-detector-runtime (0.0+svn285455-0ubuntu1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../5-pkg-config_0.29.1-0ubuntu2_amd64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu2) ...
Setting up golang-1.10-race-detector-runtime (0.0+svn285455-0ubuntu1) ...
Setting up pkg-config (0.29.1-0ubuntu2) ...
Setting up golang-1.10-src (1.10.1-1ubuntu2) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up golang-1.10-go (1.10.1-1ubuntu2) ...
Setting up golang-1.10-doc (1.10.1-1ubuntu2) ...
Setting up golang-1.10 (1.10.1-1ubuntu2) ...

シンボリックリンクでpath通し&バージョン確認

vagrant@vagrant:~$ sudo ln -s /usr/lib/go-1.10/bin/go /bin/go
vagrant@vagrant:~$ sudo ln -s /usr/lib/go-1.10/bin/gofmt /bin/gofmt
vagrant@vagrant:~$ go version
go version go1.10.1 linux/amd64

GOの環境変数設定

vagrant@vagrant:~$ vim .profile
vagrant@vagrant:~$ cat .profile
         (中略)
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin

node.js インストール

vagrant@vagrant:~$ sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libc-ares2 libhttp-parser2.7.1 libuv1 nodejs-doc
The following NEW packages will be installed:
  libc-ares2 libhttp-parser2.7.1 libuv1 nodejs nodejs-doc
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,671 kB of archives.
After this operation, 24.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libuv1 amd64 1.18.0-3 [64.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 nodejs-doc all 8.10.0~dfsg-2ubuntu0.3 [752 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc-ares2 amd64 1.14.0-1 [37.1 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-parser2.7.1 amd64 2.7.1-2 [20.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 nodejs amd64 8.10.0~dfsg-2ubuntu0.3 [4,796 kB]
Fetched 5,671 kB in 16s (353 kB/s)
Selecting previously unselected package libuv1:amd64.
(Reading database ... 81305 files and directories currently installed.)
Preparing to unpack .../libuv1_1.18.0-3_amd64.deb ...
Unpacking libuv1:amd64 (1.18.0-3) ...
Selecting previously unselected package nodejs-doc.
Preparing to unpack .../nodejs-doc_8.10.0~dfsg-2ubuntu0.3_all.deb ...
Unpacking nodejs-doc (8.10.0~dfsg-2ubuntu0.3) ...
Selecting previously unselected package libc-ares2:amd64.
Preparing to unpack .../libc-ares2_1.14.0-1_amd64.deb ...
Unpacking libc-ares2:amd64 (1.14.0-1) ...
Selecting previously unselected package libhttp-parser2.7.1:amd64.
Preparing to unpack .../libhttp-parser2.7.1_2.7.1-2_amd64.deb ...
Unpacking libhttp-parser2.7.1:amd64 (2.7.1-2) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_8.10.0~dfsg-2ubuntu0.3_amd64.deb ...
Unpacking nodejs (8.10.0~dfsg-2ubuntu0.3) ...
Setting up nodejs-doc (8.10.0~dfsg-2ubuntu0.3) ...
Setting up libhttp-parser2.7.1:amd64 (2.7.1-2) ...
Setting up libuv1:amd64 (1.18.0-3) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up libc-ares2:amd64 (1.14.0-1) ...
Setting up nodejs (8.10.0~dfsg-2ubuntu0.3) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for libc-bin (2.27-3ubuntu1) ...

node.jsのパッケージ管理npmをインストール

vagrant@vagrant:~$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  gyp javascript-common libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore libssl1.0-dev libuv1-dev
  node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream
  node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream
  node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
  node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe
  node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream
  node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute
  node-pseudomap node-qs node-read node-read-package-json node-request node-retry node-rimraf node-semver node-sha
  node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore
  node-validate-npm-package-license node-which node-wrappy node-yallist nodejs-dev python-pkg-resources
Suggested packages:
  apache2 | lighttpd | httpd node-hawk node-aws-sign node-oauth-sign node-http-signature debhelper python-setuptools
The following packages will be REMOVED:
  libssl-dev
The following NEW packages will be installed:
  gyp javascript-common libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore libssl1.0-dev libuv1-dev
  node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream
  node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream
  node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
  node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe
  node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream
  node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute
  node-pseudomap node-qs node-read node-read-package-json node-request node-retry node-rimraf node-semver node-sha
  node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore
  node-validate-npm-package-license node-which node-wrappy node-yallist nodejs-dev npm python-pkg-resources
0 upgraded, 74 newly installed, 1 to remove and 0 not upgraded.
Need to get 4,461 kB of archives.
After this operation, 17.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 gyp all 0.1+20150913git1f374df9-1ubuntu1 [265 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 javascript-common all 11 [6,066 B]
Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libjs-async all 0.8.0-3 [25.4 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libjs-jquery all 3.2.1-1 [152 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libjs-node-uuid all 1.4.7-5 [11.5 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libjs-underscore all 1.8.3~dfsg-1 [59.9 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0-dev amd64 1.0.2n-1ubuntu5.1 [1,364 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libuv1-dev amd64 1.18.0-3 [82.0 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-async all 0.8.0-3 [2,840 B]
Get:11 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-builtin-modules all 1.1.1-1 [3,338 B]
Get:12 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-fs.realpath all 1.0.0-1 [5,572 B]
Get:13 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-hosted-git-info all 2.5.0-1 [6,756 B]
Get:14 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-wrappy all 1.0.2-1 [3,162 B]
Get:15 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-once all 1.4.0-2ubuntu1 [3,588 B]
Get:16 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-inflight all 1.0.6-1 [3,382 B]
Get:17 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-is-builtin-module all 1.0.0-1 [2,906 B]
Get:18 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-isexe all 2.0.0-3 [4,376 B]
Get:19 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-node-uuid all 1.4.7-5 [2,844 B]
Get:20 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-path-is-absolute all 1.0.0-1 [3,310 B]
Get:21 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-pseudomap all 1.0.2-1 [3,534 B]
Get:22 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-spdx-license-ids all 1.2.2-1 [4,792 B]
Get:23 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-spdx-correct all 1.0.2-1 [3,718 B]
Get:24 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-spdx-expression-parse all 1.0.4-1 [12.1 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-underscore all 1.8.3~dfsg-1 [3,790 B]
Get:26 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-validate-npm-package-license all 3.0.1-1 [3,488 B]
Get:27 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-yallist all 2.0.0-1 [5,398 B]
Get:28 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libjs-inherits all 2.0.3-1 [2,792 B]
Get:29 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-abbrev all 1.0.9-1 [3,708 B]
Get:30 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-ansi all 0.3.0-2ubuntu1 [8,720 B]
Get:31 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-ansi-color-table all 1.0.0-1 [4,478 B]
Get:32 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-archy all 1.0.0-1ubuntu1 [4,264 B]
Get:33 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-balanced-match all 0.4.2-1 [4,030 B]
Get:34 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-inherits all 2.0.3-1 [3,092 B]
Get:35 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-block-stream all 0.0.9-1ubuntu1 [4,736 B]
Get:36 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-concat-map all 0.0.1-1 [3,502 B]
Get:37 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-brace-expansion all 1.1.8-1 [5,840 B]
Get:38 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-delayed-stream all 0.0.5-1 [4,750 B]
Get:39 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-combined-stream all 0.0.5-1 [4,958 B]
Get:40 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-cookie-jar all 0.3.1-1 [3,746 B]
Get:41 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-forever-agent all 0.5.1-1 [3,194 B]
Get:42 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-mime all 1.3.4-1 [11.9 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-form-data all 0.1.0-1 [6,412 B]
Get:44 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-minimatch all 3.0.4-3 [13.5 kB]
Get:45 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-glob all 7.1.2-4 [17.7 kB]
Get:46 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-rimraf all 2.6.2-1 [8,152 B]
Get:47 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-mkdirp all 0.5.1-1 [4,848 B]
Get:48 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-graceful-fs all 4.1.11-1 [10.8 kB]
Get:49 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-fstream all 1.0.10-1 [18.1 kB]
Get:50 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-fstream-ignore all 0.0.6-2 [5,586 B]
Get:51 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-github-url-from-git all 1.4.0-1 [3,782 B]
Get:52 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 nodejs-dev amd64 8.10.0~dfsg-2ubuntu0.3 [351 kB]
Get:53 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-nopt all 3.0.6-3 [9,572 B]
Get:54 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-npmlog all 0.0.4-1 [5,844 B]
Get:55 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-osenv all 0.1.4-1 [4,212 B]
Get:56 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-tunnel-agent all 0.3.1-1 [4,018 B]
Get:57 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-json-stringify-safe all 5.0.0-1 [3,544 B]
Get:58 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-qs all 2.2.4-1ubuntu1 [7,680 B]
Get:59 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-request all 2.26.1-1 [14.5 kB]
Get:60 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-semver all 5.4.1-1 [22.6 kB]
Get:61 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-tar all 2.2.1-1 [17.7 kB]
Get:62 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-which all 1.3.0-1 [4,504 B]
Get:63 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-gyp all 3.6.2-1ubuntu1 [29.4 kB]
Get:64 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-ini all 1.3.4-1 [5,588 B]
Get:65 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-lockfile all 0.4.1-1 [5,450 B]
Get:66 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-lru-cache all 4.1.1-1 [8,228 B]
Get:67 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-mute-stream all 0.0.7-1 [4,372 B]
Get:68 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-normalize-package-data all 2.3.5-2 [10.6 kB]
Get:69 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-read all 1.0.7-1 [4,572 B]
Get:70 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-read-package-json all 1.2.4-1 [7,780 B]
Get:71 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-retry all 0.10.1-1 [8,016 B]
Get:72 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-sha all 1.2.3-1 [4,272 B]
Get:73 http://archive.ubuntu.com/ubuntu bionic/universe amd64 node-slide all 1.1.6-1 [6,212 B]
Get:74 http://archive.ubuntu.com/ubuntu bionic/universe amd64 npm all 3.5.2-0ubuntu4 [1,586 kB]
Fetched 4,461 kB in 19s (240 kB/s)
Extracting templates from packages: 100%
(Reading database ... 81446 files and directories currently installed.)
Removing libssl-dev:amd64 (1.1.0g-2ubuntu4.1) ...
Selecting previously unselected package python-pkg-resources.
(Reading database ... 81360 files and directories currently installed.)
Preparing to unpack .../00-python-pkg-resources_39.0.1-2_all.deb ...
Unpacking python-pkg-resources (39.0.1-2) ...
Selecting previously unselected package gyp.
Preparing to unpack .../01-gyp_0.1+20150913git1f374df9-1ubuntu1_all.deb ...
Unpacking gyp (0.1+20150913git1f374df9-1ubuntu1) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../02-javascript-common_11_all.deb ...
Unpacking javascript-common (11) ...
Selecting previously unselected package libjs-async.
Preparing to unpack .../03-libjs-async_0.8.0-3_all.deb ...
Unpacking libjs-async (0.8.0-3) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../04-libjs-jquery_3.2.1-1_all.deb ...
Unpacking libjs-jquery (3.2.1-1) ...
Selecting previously unselected package libjs-node-uuid.
Preparing to unpack .../05-libjs-node-uuid_1.4.7-5_all.deb ...
Unpacking libjs-node-uuid (1.4.7-5) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../06-libjs-underscore_1.8.3~dfsg-1_all.deb ...
Unpacking libjs-underscore (1.8.3~dfsg-1) ...
Selecting previously unselected package libssl1.0-dev:amd64.
Preparing to unpack .../07-libssl1.0-dev_1.0.2n-1ubuntu5.1_amd64.deb ...
Unpacking libssl1.0-dev:amd64 (1.0.2n-1ubuntu5.1) ...
Selecting previously unselected package libuv1-dev:amd64.
Preparing to unpack .../08-libuv1-dev_1.18.0-3_amd64.deb ...
Unpacking libuv1-dev:amd64 (1.18.0-3) ...
Selecting previously unselected package node-async.
Preparing to unpack .../09-node-async_0.8.0-3_all.deb ...
Unpacking node-async (0.8.0-3) ...
Selecting previously unselected package node-builtin-modules.
Preparing to unpack .../10-node-builtin-modules_1.1.1-1_all.deb ...
Unpacking node-builtin-modules (1.1.1-1) ...
Selecting previously unselected package node-fs.realpath.
Preparing to unpack .../11-node-fs.realpath_1.0.0-1_all.deb ...
Unpacking node-fs.realpath (1.0.0-1) ...
Selecting previously unselected package node-hosted-git-info.
Preparing to unpack .../12-node-hosted-git-info_2.5.0-1_all.deb ...
Unpacking node-hosted-git-info (2.5.0-1) ...
Selecting previously unselected package node-wrappy.
Preparing to unpack .../13-node-wrappy_1.0.2-1_all.deb ...
Unpacking node-wrappy (1.0.2-1) ...
Selecting previously unselected package node-once.
Preparing to unpack .../14-node-once_1.4.0-2ubuntu1_all.deb ...
Unpacking node-once (1.4.0-2ubuntu1) ...
Selecting previously unselected package node-inflight.
Preparing to unpack .../15-node-inflight_1.0.6-1_all.deb ...
Unpacking node-inflight (1.0.6-1) ...
Selecting previously unselected package node-is-builtin-module.
Preparing to unpack .../16-node-is-builtin-module_1.0.0-1_all.deb ...
Unpacking node-is-builtin-module (1.0.0-1) ...
Selecting previously unselected package node-isexe.
Preparing to unpack .../17-node-isexe_2.0.0-3_all.deb ...
Unpacking node-isexe (2.0.0-3) ...
Selecting previously unselected package node-node-uuid.
Preparing to unpack .../18-node-node-uuid_1.4.7-5_all.deb ...
Unpacking node-node-uuid (1.4.7-5) ...
Selecting previously unselected package node-path-is-absolute.
Preparing to unpack .../19-node-path-is-absolute_1.0.0-1_all.deb ...
Unpacking node-path-is-absolute (1.0.0-1) ...
Selecting previously unselected package node-pseudomap.
Preparing to unpack .../20-node-pseudomap_1.0.2-1_all.deb ...
Unpacking node-pseudomap (1.0.2-1) ...
Selecting previously unselected package node-spdx-license-ids.
Preparing to unpack .../21-node-spdx-license-ids_1.2.2-1_all.deb ...
Unpacking node-spdx-license-ids (1.2.2-1) ...
Selecting previously unselected package node-spdx-correct.
Preparing to unpack .../22-node-spdx-correct_1.0.2-1_all.deb ...
Unpacking node-spdx-correct (1.0.2-1) ...
Selecting previously unselected package node-spdx-expression-parse.
Preparing to unpack .../23-node-spdx-expression-parse_1.0.4-1_all.deb ...
Unpacking node-spdx-expression-parse (1.0.4-1) ...
Selecting previously unselected package node-underscore.
Preparing to unpack .../24-node-underscore_1.8.3~dfsg-1_all.deb ...
Unpacking node-underscore (1.8.3~dfsg-1) ...
Selecting previously unselected package node-validate-npm-package-license.
Preparing to unpack .../25-node-validate-npm-package-license_3.0.1-1_all.deb ...
Unpacking node-validate-npm-package-license (3.0.1-1) ...
Selecting previously unselected package node-yallist.
Preparing to unpack .../26-node-yallist_2.0.0-1_all.deb ...
Unpacking node-yallist (2.0.0-1) ...
Selecting previously unselected package libjs-inherits.
Preparing to unpack .../27-libjs-inherits_2.0.3-1_all.deb ...
Unpacking libjs-inherits (2.0.3-1) ...
Selecting previously unselected package node-abbrev.
Preparing to unpack .../28-node-abbrev_1.0.9-1_all.deb ...
Unpacking node-abbrev (1.0.9-1) ...
Selecting previously unselected package node-ansi.
Preparing to unpack .../29-node-ansi_0.3.0-2ubuntu1_all.deb ...
Unpacking node-ansi (0.3.0-2ubuntu1) ...
Selecting previously unselected package node-ansi-color-table.
Preparing to unpack .../30-node-ansi-color-table_1.0.0-1_all.deb ...
Unpacking node-ansi-color-table (1.0.0-1) ...
Selecting previously unselected package node-archy.
Preparing to unpack .../31-node-archy_1.0.0-1ubuntu1_all.deb ...
Unpacking node-archy (1.0.0-1ubuntu1) ...
Selecting previously unselected package node-balanced-match.
Preparing to unpack .../32-node-balanced-match_0.4.2-1_all.deb ...
Unpacking node-balanced-match (0.4.2-1) ...
Selecting previously unselected package node-inherits.
Preparing to unpack .../33-node-inherits_2.0.3-1_all.deb ...
Unpacking node-inherits (2.0.3-1) ...
Selecting previously unselected package node-block-stream.
Preparing to unpack .../34-node-block-stream_0.0.9-1ubuntu1_all.deb ...
Unpacking node-block-stream (0.0.9-1ubuntu1) ...
Selecting previously unselected package node-concat-map.
Preparing to unpack .../35-node-concat-map_0.0.1-1_all.deb ...
Unpacking node-concat-map (0.0.1-1) ...
Selecting previously unselected package node-brace-expansion.
Preparing to unpack .../36-node-brace-expansion_1.1.8-1_all.deb ...
Unpacking node-brace-expansion (1.1.8-1) ...
Selecting previously unselected package node-delayed-stream.
Preparing to unpack .../37-node-delayed-stream_0.0.5-1_all.deb ...
Unpacking node-delayed-stream (0.0.5-1) ...
Selecting previously unselected package node-combined-stream.
Preparing to unpack .../38-node-combined-stream_0.0.5-1_all.deb ...
Unpacking node-combined-stream (0.0.5-1) ...
Selecting previously unselected package node-cookie-jar.
Preparing to unpack .../39-node-cookie-jar_0.3.1-1_all.deb ...
Unpacking node-cookie-jar (0.3.1-1) ...
Selecting previously unselected package node-forever-agent.
Preparing to unpack .../40-node-forever-agent_0.5.1-1_all.deb ...
Unpacking node-forever-agent (0.5.1-1) ...
Selecting previously unselected package node-mime.
Preparing to unpack .../41-node-mime_1.3.4-1_all.deb ...
Unpacking node-mime (1.3.4-1) ...
Selecting previously unselected package node-form-data.
Preparing to unpack .../42-node-form-data_0.1.0-1_all.deb ...
Unpacking node-form-data (0.1.0-1) ...
Selecting previously unselected package node-minimatch.
Preparing to unpack .../43-node-minimatch_3.0.4-3_all.deb ...
Unpacking node-minimatch (3.0.4-3) ...
Selecting previously unselected package node-glob.
Preparing to unpack .../44-node-glob_7.1.2-4_all.deb ...
Unpacking node-glob (7.1.2-4) ...
Selecting previously unselected package node-rimraf.
Preparing to unpack .../45-node-rimraf_2.6.2-1_all.deb ...
Unpacking node-rimraf (2.6.2-1) ...
Selecting previously unselected package node-mkdirp.
Preparing to unpack .../46-node-mkdirp_0.5.1-1_all.deb ...
Unpacking node-mkdirp (0.5.1-1) ...
Selecting previously unselected package node-graceful-fs.
Preparing to unpack .../47-node-graceful-fs_4.1.11-1_all.deb ...
Unpacking node-graceful-fs (4.1.11-1) ...
Selecting previously unselected package node-fstream.
Preparing to unpack .../48-node-fstream_1.0.10-1_all.deb ...
Unpacking node-fstream (1.0.10-1) ...
Selecting previously unselected package node-fstream-ignore.
Preparing to unpack .../49-node-fstream-ignore_0.0.6-2_all.deb ...
Unpacking node-fstream-ignore (0.0.6-2) ...
Selecting previously unselected package node-github-url-from-git.
Preparing to unpack .../50-node-github-url-from-git_1.4.0-1_all.deb ...
Unpacking node-github-url-from-git (1.4.0-1) ...
Selecting previously unselected package nodejs-dev.
Preparing to unpack .../51-nodejs-dev_8.10.0~dfsg-2ubuntu0.3_amd64.deb ...
Unpacking nodejs-dev (8.10.0~dfsg-2ubuntu0.3) ...
Selecting previously unselected package node-nopt.
Preparing to unpack .../52-node-nopt_3.0.6-3_all.deb ...
Unpacking node-nopt (3.0.6-3) ...
Selecting previously unselected package node-npmlog.
Preparing to unpack .../53-node-npmlog_0.0.4-1_all.deb ...
Unpacking node-npmlog (0.0.4-1) ...
Selecting previously unselected package node-osenv.
Preparing to unpack .../54-node-osenv_0.1.4-1_all.deb ...
Unpacking node-osenv (0.1.4-1) ...
Selecting previously unselected package node-tunnel-agent.
Preparing to unpack .../55-node-tunnel-agent_0.3.1-1_all.deb ...
Unpacking node-tunnel-agent (0.3.1-1) ...
Selecting previously unselected package node-json-stringify-safe.
Preparing to unpack .../56-node-json-stringify-safe_5.0.0-1_all.deb ...
Unpacking node-json-stringify-safe (5.0.0-1) ...
Selecting previously unselected package node-qs.
Preparing to unpack .../57-node-qs_2.2.4-1ubuntu1_all.deb ...
Unpacking node-qs (2.2.4-1ubuntu1) ...
Selecting previously unselected package node-request.
Preparing to unpack .../58-node-request_2.26.1-1_all.deb ...
Unpacking node-request (2.26.1-1) ...
Selecting previously unselected package node-semver.
Preparing to unpack .../59-node-semver_5.4.1-1_all.deb ...
Unpacking node-semver (5.4.1-1) ...
Selecting previously unselected package node-tar.
Preparing to unpack .../60-node-tar_2.2.1-1_all.deb ...
Unpacking node-tar (2.2.1-1) ...
Selecting previously unselected package node-which.
Preparing to unpack .../61-node-which_1.3.0-1_all.deb ...
Unpacking node-which (1.3.0-1) ...
Selecting previously unselected package node-gyp.
Preparing to unpack .../62-node-gyp_3.6.2-1ubuntu1_all.deb ...
Unpacking node-gyp (3.6.2-1ubuntu1) ...
Selecting previously unselected package node-ini.
Preparing to unpack .../63-node-ini_1.3.4-1_all.deb ...
Unpacking node-ini (1.3.4-1) ...
Selecting previously unselected package node-lockfile.
Preparing to unpack .../64-node-lockfile_0.4.1-1_all.deb ...
Unpacking node-lockfile (0.4.1-1) ...
Selecting previously unselected package node-lru-cache.
Preparing to unpack .../65-node-lru-cache_4.1.1-1_all.deb ...
Unpacking node-lru-cache (4.1.1-1) ...
Selecting previously unselected package node-mute-stream.
Preparing to unpack .../66-node-mute-stream_0.0.7-1_all.deb ...
Unpacking node-mute-stream (0.0.7-1) ...
Selecting previously unselected package node-normalize-package-data.
Preparing to unpack .../67-node-normalize-package-data_2.3.5-2_all.deb ...
Unpacking node-normalize-package-data (2.3.5-2) ...
Selecting previously unselected package node-read.
Preparing to unpack .../68-node-read_1.0.7-1_all.deb ...
Unpacking node-read (1.0.7-1) ...
Selecting previously unselected package node-read-package-json.
Preparing to unpack .../69-node-read-package-json_1.2.4-1_all.deb ...
Unpacking node-read-package-json (1.2.4-1) ...
Selecting previously unselected package node-retry.
Preparing to unpack .../70-node-retry_0.10.1-1_all.deb ...
Unpacking node-retry (0.10.1-1) ...
Selecting previously unselected package node-sha.
Preparing to unpack .../71-node-sha_1.2.3-1_all.deb ...
Unpacking node-sha (1.2.3-1) ...
Selecting previously unselected package node-slide.
Preparing to unpack .../72-node-slide_1.1.6-1_all.deb ...
Unpacking node-slide (1.1.6-1) ...
Selecting previously unselected package npm.
Preparing to unpack .../73-npm_3.5.2-0ubuntu4_all.deb ...
Unpacking npm (3.5.2-0ubuntu4) ...
Setting up node-lockfile (0.4.1-1) ...
Setting up node-spdx-expression-parse (1.0.4-1) ...
Setting up libjs-jquery (3.2.1-1) ...
Setting up node-qs (2.2.4-1ubuntu1) ...
Setting up node-osenv (0.1.4-1) ...
Setting up node-ansi (0.3.0-2ubuntu1) ...
Setting up libjs-node-uuid (1.4.7-5) ...
Setting up node-hosted-git-info (2.5.0-1) ...
Setting up libjs-underscore (1.8.3~dfsg-1) ...
Setting up node-delayed-stream (0.0.5-1) ...
Setting up libjs-inherits (2.0.3-1) ...
Setting up node-tunnel-agent (0.3.1-1) ...
Setting up node-balanced-match (0.4.2-1) ...
Setting up node-node-uuid (1.4.7-5) ...
Setting up node-yallist (2.0.0-1) ...
Setting up node-slide (1.1.6-1) ...
Setting up node-github-url-from-git (1.4.0-1) ...
Setting up node-pseudomap (1.0.2-1) ...
Setting up libssl1.0-dev:amd64 (1.0.2n-1ubuntu5.1) ...
Setting up node-spdx-license-ids (1.2.2-1) ...
Setting up node-combined-stream (0.0.5-1) ...
Setting up node-wrappy (1.0.2-1) ...
Setting up node-mime (1.3.4-1) ...
Setting up python-pkg-resources (39.0.1-2) ...
Setting up node-abbrev (1.0.9-1) ...
Setting up node-semver (5.4.1-1) ...
Setting up node-retry (0.10.1-1) ...
Setting up node-forever-agent (0.5.1-1) ...
Setting up node-underscore (1.8.3~dfsg-1) ...
Setting up gyp (0.1+20150913git1f374df9-1ubuntu1) ...
Setting up node-json-stringify-safe (5.0.0-1) ...
Setting up node-inherits (2.0.3-1) ...
Setting up node-graceful-fs (4.1.11-1) ...
Setting up node-archy (1.0.0-1ubuntu1) ...
Setting up node-path-is-absolute (1.0.0-1) ...
Setting up node-builtin-modules (1.1.1-1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up node-isexe (2.0.0-3) ...
Setting up node-spdx-correct (1.0.2-1) ...
Setting up javascript-common (11) ...
Setting up node-cookie-jar (0.3.1-1) ...
Setting up node-mute-stream (0.0.7-1) ...
Setting up libjs-async (0.8.0-3) ...
Setting up node-concat-map (0.0.1-1) ...
Setting up node-ini (1.3.4-1) ...
Setting up node-mkdirp (0.5.1-1) ...
Setting up node-once (1.4.0-2ubuntu1) ...
Setting up node-sha (1.2.3-1) ...
Setting up node-fs.realpath (1.0.0-1) ...
Setting up libuv1-dev:amd64 (1.18.0-3) ...
Setting up node-brace-expansion (1.1.8-1) ...
Setting up node-ansi-color-table (1.0.0-1) ...
Setting up node-npmlog (0.0.4-1) ...
Setting up node-is-builtin-module (1.0.0-1) ...
Setting up node-nopt (3.0.6-3) ...
Setting up node-which (1.3.0-1) ...
Setting up node-lru-cache (4.1.1-1) ...
Setting up node-block-stream (0.0.9-1ubuntu1) ...
Setting up node-validate-npm-package-license (3.0.1-1) ...
Setting up node-inflight (1.0.6-1) ...
Setting up node-read (1.0.7-1) ...
Setting up node-async (0.8.0-3) ...
Setting up node-form-data (0.1.0-1) ...
Setting up node-request (2.26.1-1) ...
Setting up node-minimatch (3.0.4-3) ...
Setting up nodejs-dev (8.10.0~dfsg-2ubuntu0.3) ...
Setting up node-normalize-package-data (2.3.5-2) ...
Setting up node-glob (7.1.2-4) ...
Setting up node-rimraf (2.6.2-1) ...
Setting up node-read-package-json (1.2.4-1) ...
Setting up node-fstream (1.0.10-1) ...
Setting up node-fstream-ignore (0.0.6-2) ...
Setting up node-tar (2.2.1-1) ...
Setting up node-gyp (3.6.2-1ubuntu1) ...
Setting up npm (3.5.2-0ubuntu4) ...

node.jsのバージョン確認

vagrant@vagrant:~$ node -v
v8.10.0

npmのバージョンが古いので更新

vagrant@vagrant:~$ npm -v
3.5.2


vagrant@vagrant:~$ sudo npm install npm -g
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
/usr/local/lib
├── ansi-regex@2.1.1
├── aws4@1.8.0
├─┬ cacache@11.2.0
│ └── y18n@4.0.0
├── ci-info@1.4.0
├─┬ cli-table3@0.5.0
│ ├── colors@1.1.2
│ ├── object-assign@4.1.1
│ └─┬ string-width@2.1.1
│   ├── is-fullwidth-code-point@2.0.0
│   └─┬ strip-ansi@4.0.0
│     └── ansi-regex@3.0.0
├── extend@3.0.2
├── figgy-pudding@3.4.1
├── hosted-git-info@2.7.1
├── iferr@1.0.2
├─┬ is-cidr@2.0.6
│ └─┬ cidr-regex@2.0.9
│   └── ip-regex@2.1.0
├─┬ is-fullwidth-code-point@1.0.0
│ └── number-is-nan@1.0.1
├─┬ JSONStream@1.3.4
│ ├── jsonparse@1.3.1
│ └── through@2.3.8
├─┬ libcipm@2.0.2
│ ├── npm-logical-tree@1.2.1
│ └─┬ protoduck@5.0.0
│   └── genfun@4.0.1
├─┬ mime-types@2.1.19
│ └── mime-db@1.35.0
├─┬ node-gyp@3.8.0
│ ├── fstream@1.0.11
│ ├── nopt@3.0.6
│ ├── semver@5.3.0
│ └─┬ tar@2.2.1
│   └── block-stream@0.0.9
├─┬ npm@6.4.1
│ ├── abbrev@1.1.1
│ ├── ansicolors@0.3.2
│ ├── ansistyles@0.1.3
│ ├── aproba@1.2.0
│ ├── archy@1.0.0
│ ├── bin-links@1.1.2
│ ├── bluebird@3.5.1
│ ├── byte-size@4.0.3
│ ├── call-limit@1.1.0
│ ├── chownr@1.0.1
│ ├── cli-columns@3.1.2
│ ├── cmd-shim@2.0.2
│ ├─┬ columnify@1.5.4
│ │ └─┬ wcwidth@1.0.1
│ │   └─┬ defaults@1.0.3
│ │     └── clone@1.0.4
│ ├─┬ config-chain@1.1.11
│ │ └── proto-list@1.2.4
│ ├── debuglog@1.0.1
│ ├── detect-indent@5.0.0
│ ├── detect-newline@2.1.0
│ ├─┬ dezalgo@1.0.3
│ │ ├── asap@2.0.6
│ │ └── wrappy@1.0.2
│ ├── editor@1.0.0
│ ├── find-npm-prefix@1.0.2
│ ├── fs-vacuum@1.2.10
│ ├─┬ fs-write-stream-atomic@1.0.10
│ │ └── iferr@0.1.5
│ ├─┬ gentle-fs@2.0.1
│ │ └── iferr@0.1.5
│ ├─┬ glob@7.1.2
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ minimatch@3.0.4
│ │ │ └─┬ brace-expansion@1.1.11
│ │ │   ├── balanced-match@1.0.0
│ │ │   └── concat-map@0.0.1
│ │ └── path-is-absolute@1.0.1
│ ├── graceful-fs@4.1.11
│ ├── has-unicode@2.0.1
│ ├── imurmurhash@0.1.4
│ ├── inflight@1.0.6
│ ├── inherits@2.0.3
│ ├── ini@1.3.5
│ ├─┬ init-package-json@1.10.3
│ │ └── promzard@0.3.0
│ ├── json-parse-better-errors@1.0.2
│ ├── lazy-property@1.0.0
│ ├─┬ libnpmhook@4.0.1
│ │ └── npm-registry-fetch@3.1.1
│ ├─┬ libnpx@10.2.0
│ │ ├── dotenv@5.0.1
│ │ └─┬ yargs@11.0.0
│ │   ├─┬ cliui@4.1.0
│ │   │ ├─┬ strip-ansi@4.0.0
│ │   │ │ └── ansi-regex@3.0.0
│ │   │ └─┬ wrap-ansi@2.1.0
│ │   │   └── string-width@1.0.2
│ │   ├── decamelize@1.2.0
│ │   ├─┬ find-up@2.1.0
│ │   │ └─┬ locate-path@2.0.0
│ │   │   ├─┬ p-locate@2.0.0
│ │   │   │ └─┬ p-limit@1.2.0
│ │   │   │   └── p-try@1.0.0
│ │   │   └── path-exists@3.0.0
│ │   ├── get-caller-file@1.0.2
│ │   ├─┬ os-locale@2.1.0
│ │   │ ├─┬ execa@0.7.0
│ │   │ │ ├─┬ cross-spawn@5.1.0
│ │   │ │ │ └─┬ shebang-command@1.2.0
│ │   │ │ │   └── shebang-regex@1.0.0
│ │   │ │ ├── is-stream@1.1.0
│ │   │ │ ├─┬ npm-run-path@2.0.2
│ │   │ │ │ └── path-key@2.0.1
│ │   │ │ ├── p-finally@1.0.0
│ │   │ │ └── strip-eof@1.0.0
│ │   │ ├─┬ lcid@1.0.0
│ │   │ │ └── invert-kv@1.0.0
│ │   │ └─┬ mem@1.1.0
│ │   │   └── mimic-fn@1.2.0
│ │   ├── require-directory@2.1.1
│ │   ├── require-main-filename@1.0.1
│ │   ├── which-module@2.0.0
│ │   ├── y18n@3.2.1
│ │   └── yargs-parser@9.0.2
│ ├── lock-verify@2.0.2
│ ├─┬ lockfile@1.0.4
│ │ └── signal-exit@3.0.2
│ ├── lodash._baseindexof@3.1.0
│ ├─┬ lodash._baseuniq@4.6.0
│ │ ├── lodash._createset@4.0.3
│ │ └── lodash._root@3.0.1
│ ├── lodash._bindcallback@3.0.1
│ ├── lodash._cacheindexof@3.0.2
│ ├── lodash._createcache@3.1.2
│ ├── lodash._getnative@3.9.1
│ ├── lodash.clonedeep@4.5.0
│ ├── lodash.restparam@3.6.1
│ ├── lodash.union@4.6.0
│ ├── lodash.uniq@4.5.0
│ ├── lodash.without@4.4.0
│ ├─┬ lru-cache@4.1.3
│ │ ├── pseudomap@1.0.2
│ │ └── yallist@2.1.2
│ ├── meant@1.0.1
│ ├─┬ mississippi@3.0.0
│ │ ├─┬ duplexify@3.6.0
│ │ │ └── stream-shift@1.0.0
│ │ ├── end-of-stream@1.4.1
│ │ ├── flush-write-stream@1.0.3
│ │ ├── from2@2.3.0
│ │ ├─┬ parallel-transform@1.1.0
│ │ │ └── cyclist@0.2.2
│ │ ├── pump@3.0.0
│ │ ├─┬ pumpify@1.5.1
│ │ │ └── pump@2.0.1
│ │ ├── stream-each@1.2.2
│ │ └─┬ through2@2.0.3
│ │   └── xtend@4.0.1
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├─┬ move-concurrently@1.0.1
│ │ ├─┬ copy-concurrently@1.0.5
│ │ │ └── iferr@0.1.5
│ │ └── run-queue@1.0.3
│ ├── nopt@4.0.1
│ ├─┬ normalize-package-data@2.4.0
│ │ └─┬ is-builtin-module@1.0.0
│ │   └── builtin-modules@1.1.1
│ ├── npm-cache-filename@1.0.2
│ ├── npm-install-checks@3.0.0
│ ├── npm-package-arg@6.1.0
│ ├── npm-pick-manifest@2.1.0
│ ├─┬ npm-registry-fetch@1.1.0
│ │ ├── figgy-pudding@2.0.1
│ │ └─┬ make-fetch-happen@3.0.0
│ │   ├─┬ cacache@10.0.4
│ │   │ └─┬ mississippi@2.0.0
│ │   │   └── pump@2.0.1
│ │   ├─┬ socks-proxy-agent@3.0.1
│ │   │ └─┬ socks@1.1.10
│ │   │   └── smart-buffer@1.1.15
│ │   └── ssri@5.3.0
│ ├── npm-user-validate@1.0.0
│ ├─┬ npmlog@4.1.2
│ │ ├─┬ are-we-there-yet@1.1.4
│ │ │ └── delegates@1.0.0
│ │ ├─┬ gauge@2.7.4
│ │ │ ├─┬ string-width@1.0.2
│ │ │ │ └── code-point-at@1.1.0
│ │ │ └─┬ wide-align@1.1.2
│ │ │   └── string-width@1.0.2
│ │ └── set-blocking@2.0.0
│ ├── once@1.4.0
│ ├─┬ osenv@0.1.5
│ │ ├── os-homedir@1.0.2
│ │ └── os-tmpdir@1.0.2
│ ├─┬ pacote@8.1.6
│ │ ├── get-stream@3.0.0
│ │ └─┬ promise-retry@1.1.1
│ │   ├── err-code@1.1.2
│ │   └── retry@0.10.1
│ ├── path-is-inside@1.0.2
│ ├── promise-inflight@1.0.1
│ ├── qrcode-terminal@0.12.0
│ ├─┬ query-string@6.1.0
│ │ ├── decode-uri-component@0.2.0
│ │ └── strict-uri-encode@2.0.0
│ ├── qw@1.0.1
│ ├─┬ read@1.0.7
│ │ └── mute-stream@0.0.7
│ ├── read-cmd-shim@1.0.1
│ ├─┬ read-installed@4.0.3
│ │ └── util-extend@1.0.3
│ ├─┬ read-package-json@2.0.13
│ │ └── slash@1.0.0
│ ├── read-package-tree@5.2.1
│ ├─┬ readable-stream@2.3.6
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@1.0.0
│ │ ├── process-nextick-args@2.0.0
│ │ ├── string_decoder@1.1.1
│ │ └── util-deprecate@1.0.2
│ ├── readdir-scoped-modules@1.0.2
│ ├── retry@0.12.0
│ ├── rimraf@2.6.2
│ ├── safe-buffer@5.1.2
│ ├── semver@5.5.0
│ ├── sha@2.0.1
│ ├── slide@1.1.6
│ ├── sorted-object@2.0.1
│ ├─┬ sorted-union-stream@2.1.3
│ │ ├─┬ from2@1.3.0
│ │ │ └─┬ readable-stream@1.1.14
│ │ │   ├── isarray@0.0.1
│ │ │   └── string_decoder@0.10.31
│ │ └── stream-iterate@1.2.0
│ ├── ssri@6.0.0
│ ├── text-table@0.2.0
│ ├── tiny-relative-date@1.3.0
│ ├── uid-number@0.0.6
│ ├── umask@1.1.0
│ ├─┬ unique-filename@1.1.0
│ │ └── unique-slug@2.0.0
│ ├── unpipe@1.0.0
│ ├─┬ update-notifier@2.5.0
│ │ ├─┬ boxen@1.3.0
│ │ │ ├── ansi-align@2.0.0
│ │ │ ├── camelcase@4.1.0
│ │ │ ├── cli-boxes@1.0.0
│ │ │ ├── term-size@1.2.0
│ │ │ └── widest-line@2.0.0
│ │ ├─┬ chalk@2.4.1
│ │ │ ├─┬ ansi-styles@3.2.1
│ │ │ │ └─┬ color-convert@1.9.1
│ │ │ │   └── color-name@1.1.3
│ │ │ ├── escape-string-regexp@1.0.5
│ │ │ └─┬ supports-color@5.4.0
│ │ │   └── has-flag@3.0.0
│ │ ├─┬ configstore@3.1.2
│ │ │ ├─┬ dot-prop@4.2.0
│ │ │ │ └── is-obj@1.0.1
│ │ │ ├─┬ make-dir@1.3.0
│ │ │ │ └── pify@3.0.0
│ │ │ └─┬ unique-string@1.0.0
│ │ │   └── crypto-random-string@1.0.0
│ │ ├── import-lazy@2.1.0
│ │ ├── is-ci@1.1.0
│ │ ├─┬ is-installed-globally@0.1.0
│ │ │ ├── global-dirs@0.1.1
│ │ │ └── is-path-inside@1.0.1
│ │ ├── is-npm@1.0.0
│ │ ├─┬ latest-version@3.1.0
│ │ │ └─┬ package-json@4.0.1
│ │ │   ├─┬ got@6.7.1
│ │ │   │ ├─┬ create-error-class@3.0.2
│ │ │   │ │ └── capture-stack-trace@1.0.0
│ │ │   │ ├── duplexer3@0.1.4
│ │ │   │ ├── is-redirect@1.0.0
│ │ │   │ ├── is-retry-allowed@1.1.0
│ │ │   │ ├── lowercase-keys@1.0.1
│ │ │   │ ├── timed-out@4.0.1
│ │ │   │ ├── unzip-response@2.0.1
│ │ │   │ └─┬ url-parse-lax@1.0.0
│ │ │   │   └── prepend-http@1.0.4
│ │ │   ├─┬ registry-auth-token@3.3.2
│ │ │   │ └─┬ rc@1.2.7
│ │ │   │   ├── deep-extend@0.5.1
│ │ │   │   ├── minimist@1.2.0
│ │ │   │   └── strip-json-comments@2.0.1
│ │ │   └── registry-url@3.1.0
│ │ ├── semver-diff@2.1.0
│ │ └── xdg-basedir@3.0.0
│ ├─┬ validate-npm-package-name@3.0.0
│ │ └── builtins@1.0.3
│ ├─┬ worker-farm@1.6.0
│ │ └─┬ errno@0.1.7
│ │   └── prr@1.0.1
│ └── write-file-atomic@2.3.0
├─┬ npm-audit-report@1.3.1
│ └── console-control-strings@1.1.0
├─┬ npm-lifecycle@2.1.0
│ ├── byline@5.0.0
│ └── resolve-from@4.0.0
├─┬ npm-packlist@1.1.11
│ ├── ignore-walk@3.0.1
│ └── npm-bundled@1.0.5
├─┬ npm-profile@3.0.2
│ └─┬ make-fetch-happen@4.0.1
│   ├─┬ agentkeepalive@3.4.1
│   │ └─┬ humanize-ms@1.2.1
│   │   └── ms@2.1.1
│   ├── http-cache-semantics@3.8.1
│   ├─┬ http-proxy-agent@2.1.0
│   │ ├─┬ agent-base@4.2.0
│   │ │ └─┬ es6-promisify@5.0.0
│   │ │   └── es6-promise@4.2.4
│   │ └─┬ debug@3.1.0
│   │   └── ms@2.0.0
│   ├── https-proxy-agent@2.2.1
│   ├─┬ node-fetch-npm@2.0.2
│   │ └─┬ encoding@0.1.12
│   │   └── iconv-lite@0.4.23
│   └─┬ socks-proxy-agent@4.0.1
│     └─┬ socks@2.2.0
│       ├── ip@1.1.5
│       └── smart-buffer@4.0.1
├─┬ npm-registry-client@8.6.0
│ ├─┬ concat-stream@1.6.2
│ │ ├── buffer-from@1.0.0
│ │ └── typedarray@0.0.6
│ ├── retry@0.10.1
│ └── ssri@5.3.0
├── opener@1.5.0
├─┬ request@2.88.0
│ ├── aws-sign2@0.7.0
│ ├── caseless@0.12.0
│ ├─┬ combined-stream@1.0.6
│ │ └── delayed-stream@1.0.0
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@2.3.2
│ │ └── asynckit@0.4.0
│ ├─┬ har-validator@5.1.0
│ │ ├─┬ ajv@5.5.2
│ │ │ ├── co@4.6.0
│ │ │ ├── fast-deep-equal@1.1.0
│ │ │ ├── fast-json-stable-stringify@2.0.0
│ │ │ └── json-schema-traverse@0.3.1
│ │ └── har-schema@2.0.0
│ ├─┬ http-signature@1.2.0
│ │ ├── assert-plus@1.0.0
│ │ ├─┬ jsprim@1.4.1
│ │ │ ├── extsprintf@1.3.0
│ │ │ ├── json-schema@0.2.3
│ │ │ └── verror@1.10.0
│ │ └─┬ sshpk@1.14.2
│ │   ├── asn1@0.2.4
│ │   ├── bcrypt-pbkdf@1.0.2
│ │   ├── dashdash@1.14.1
│ │   ├── ecc-jsbn@0.1.2
│ │   ├── getpass@0.1.7
│ │   ├── jsbn@0.1.1
│ │   ├── safer-buffer@2.1.2
│ │   └── tweetnacl@0.14.5
│ ├── is-typedarray@1.0.0
│ ├── isstream@0.1.2
│ ├── json-stringify-safe@5.0.1
│ ├── oauth-sign@0.9.0
│ ├── performance-now@2.1.0
│ ├── qs@6.5.2
│ ├─┬ tough-cookie@2.4.3
│ │ ├── psl@1.1.29
│ │ └── punycode@1.4.1
│ └── tunnel-agent@0.6.0
├── stringify-package@1.0.0
├── strip-ansi@3.0.1
├─┬ tar@4.4.6
│ ├── fs-minipass@1.2.5
│ ├─┬ minipass@2.3.3
│ │ └── yallist@3.0.2
│ ├── minizlib@1.1.0
│ └── yallist@3.0.2
├── uuid@3.3.2
├─┬ validate-npm-package-license@3.0.4
│ ├─┬ spdx-correct@3.0.0
│ │ └── spdx-license-ids@3.0.0
│ └─┬ spdx-expression-parse@3.0.0
│   └── spdx-exceptions@2.1.0
└─┬ which@1.3.1
  └── isexe@2.0.0

vagrant@vagrant:~$ npm -v
3.5.2

sampleプロジェクトとdockerイメージダウンロード

こちらも公式のページを参考にインストールする

vagrant@vagrant:~$ cd /usr/local/src
vagrant@vagrant:/usr/local/src$ curl -sSL http://bit.ly/2ysbOFE | sudo bash -s 1.3.0-rc1                                                  bash: line 181: [: too many arguments

Installing hyperledger/fabric-samples repo

===> Checking out v1.3.0-rc1 of hyperledger/fabric-samples
HEAD is now at edee638 [FAB-12184] Prepare fabric-samples for 1.3.0-rc1

Installing Hyperledger Fabric binaries

===> Downloading version 1.3.0-rc1 platform specific fabric binaries
===> Downloading:  https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/linu-1.3.0-rc1/hyperledger-fabric-linux-amd64-1.3.0-rc1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 43.3M  100 43.3M    0     0  2887k      0  0:00:15  0:00:15 --:--:-- 6279k
==> 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-c-amd64-1.3.0-rc1/hyperledger-fabric-ca-linux-amd64-1.3.0-rc1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5110k  100 5110k    0     0  1568k      0  0:00:03  0:00:03 --:--:-- 1568k
==> Done.

Installing Hyperledger Fabric docker images

===> Pulling fabric Images
==> FABRIC IMAGE: peer

1.3.0-rc1: Pulling from hyperledger/fabric-peer
3b37166ec614: Pull complete
504facff238f: Pull complete
ebbcacd28e10: Pull complete
c7fb3351ecad: Pull complete
2e3debadcbf7: Pull complete
ba1fb16c2a75: Pull complete
7a5bc600ac3a: Pull complete
2781d63be110: Pull complete
9559e0491bf4: Pull complete
5fc8c1109b73: Pull complete
Digest: sha256:ec057f5bc9993368744a052a796f586c78e14511e8a178ac0fcf4fbeb1d68207
Status: Downloaded newer image for hyperledger/fabric-peer:1.3.0-rc1
==> FABRIC IMAGE: orderer

1.3.0-rc1: Pulling from hyperledger/fabric-orderer
3b37166ec614: Already exists
504facff238f: Already exists
ebbcacd28e10: Already exists
c7fb3351ecad: Already exists
2e3debadcbf7: Already exists
ba1fb16c2a75: Already exists
7a5bc600ac3a: Already exists
2781d63be110: Already exists
c579762b4d28: Pull complete
0bf109aa0ca4: Pull complete
Digest: sha256:ff9b1a9826f91a977d051a7709e2d00d09958f4c842fa058677a95d0c99c10f4
Status: Downloaded newer image for hyperledger/fabric-orderer:1.3.0-rc1
==> FABRIC IMAGE: ccenv

1.3.0-rc1: Pulling from hyperledger/fabric-ccenv
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
f13f5e7a12eb: Pull complete
f4ade7cba2c0: Pull complete
974acf957735: Pull complete
Digest: sha256:647dda88f551939640d9c280bd0ea4ad34748ea72f102bc6b3a8029e329b4499
Status: Downloaded newer image for hyperledger/fabric-ccenv:1.3.0-rc1
==> FABRIC IMAGE: javaenv

1.3.0-rc1: Pulling from hyperledger/fabric-javaenv
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
1a7955c3781f: Pull complete
42f8502be39c: Pull complete
693ab7009dd1: Pull complete
093244152e86: Pull complete
4b13dc77a6f3: Pull complete
55f58e0efca1: Pull complete
592077cbbfdc: Pull complete
96810258c14c: Pull complete
c08c3196b57f: Pull complete
503054ba90b3: Pull complete
0ca23dbf0976: Pull complete
a45432258208: Pull complete
bb0f247142c4: Pull complete
8775280ea0e0: Pull complete
5c0fa57d724b: Pull complete
b6d252ba4edf: Pull complete
b8a5fbebd0e3: Pull complete
82167943c6d4: Pull complete
a595508ba320: Pull complete
68c62fbc83f5: Pull complete
2d5b1a55a16b: Pull complete
Digest: sha256:9212594ba55774a268067d7261a7c9841802f61c96c2f1f51325600cabca2bde
Status: Downloaded newer image for hyperledger/fabric-javaenv:1.3.0-rc1
==> FABRIC IMAGE: tools

1.3.0-rc1: Pulling from hyperledger/fabric-tools
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
6091166c5885: Pull complete
001e7d69d747: Pull complete
7dec7d7da2d0: Pull complete
Digest: sha256:28ccb9a1dcec9f093967a3f80a44810df23073b1009c63fa800cc5f249be4229
Status: Downloaded newer image for hyperledger/fabric-tools:1.3.0-rc1
===> Pulling fabric ca Image
==> FABRIC CA IMAGE

1.3.0-rc1: Pulling from hyperledger/fabric-ca
3b37166ec614: Already exists
504facff238f: Already exists
ebbcacd28e10: Already exists
c7fb3351ecad: Already exists
2e3debadcbf7: Already exists
ba1fb16c2a75: Already exists
7a5bc600ac3a: Already exists
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: Already exists
14853f8ce436: Already exists
89da1439a01e: Already exists
7a5dcbe93d68: Already exists
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-javaenv     1.3.0-rc1           b65ead3e6841        9 days ago          1.7GB
hyperledger/fabric-javaenv     latest              b65ead3e6841        9 days ago          1.7GB
hyperledger/fabric-ca          1.3.0-rc1           784b38dab5ba        9 days ago          244MB
hyperledger/fabric-ca          latest              784b38dab5ba        9 days ago          244MB
hyperledger/fabric-tools       1.3.0-rc1           693f6ae1c95c        9 days ago          1.5GB
hyperledger/fabric-tools       latest              693f6ae1c95c        9 days ago          1.5GB
hyperledger/fabric-ccenv       1.3.0-rc1           04415e10d1f2        9 days ago          1.38GB
hyperledger/fabric-ccenv       latest              04415e10d1f2        9 days ago          1.38GB
hyperledger/fabric-orderer     1.3.0-rc1           4f5d3e993eb8        9 days ago          145MB
hyperledger/fabric-orderer     latest              4f5d3e993eb8        9 days ago          145MB
hyperledger/fabric-peer        1.3.0-rc1           3286d6b8fe00        9 days ago          151MB
hyperledger/fabric-peer        latest              3286d6b8fe00        9 days ago          151MB
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

/bin 配下にシンボリックリンクを作成

sudo ln -s /usr/local/src/fabric-samples/bin/peer /bin/peer
sudo ln -s /usr/local/src/fabric-samples/bin/idemixgen /bin/idemixgen
sudo ln -s /usr/local/src/fabric-samples/bin/orderer /bin/orderer
sudo ln -s /usr/local/src/fabric-samples/bin/fabric-ca-client /bin/fabric-ca-client
sudo ln -s /usr/local/src/fabric-samples/bin/discover /bin/discover
sudo ln -s /usr/local/src/fabric-samples/bin/configtxgen /bin/configtxgen
sudo ln -s /usr/local/src/fabric-samples/bin/configtxlator /bin/configtxlator
sudo ln -s /usr/local/src/fabric-samples/bin/cryptogen /bin/cryptogen

まとめ

ここまでがhyperledger fabricを動作させるための準備になります。
まだ本体に全く触っていません…
次回、実際にブロックチェーンデータを登録したり動かしてみたいと思います。
ここまで見て頂きありがとうございます。

6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?