[MIQI] Setting up IPFS Node

Quote

Prepare a MiQi Board with Debian Linux OS

 

Download prebuilt IPFS package

We can get the prebuilt image from https://ipfs.io

 

Installing IPFS

linaro@linaro-alip:~/go-ipfs$ sudo ./install.sh 
Moved ./ipfs to /usr/local/bin
linaro@linaro-alip:~/go-ipfs$ ipfs init
initializing IPFS node at /home/linaro/.ipfs
generating 2048-bit RSA keypair...done
peer identity: QmdrGZBA34HtJqrMsKNbEQWVNXRMHr9i1yJLyrZsyrBhCM
to get started, enter:

  ipfs cat /ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv/readme

It will be installed to the ~/.ipfs directory by default

ls ~/.ipfs/
blocks  config  datastore  datastore_spec  keystore  version

 

Starting IPFS Node

linaro@linaro-alip:~/go-ipfs$ ipfs daemon
Initializing daemon...
Successfully raised file descriptor limit to 2048.
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/192.168.199.163/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /p2p-circuit/ipfs/QmdrGZBA34HtJqrMsKNbEQWVNXRMHr9i1yJLyrZsyrBhCM
Swarm announcing /ip4/10.0.0.7/tcp/58232
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/192.168.199.163/tcp/4001
Swarm announcing /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready

 

Quote

Using it watching video

http://localhost:8080/ipfs/QmWBbKvLhVnkryKG6F5YdkcnoVahwD7Qi3CeJeZgM6Tq68

And some resources

大佛普拉斯:QmdpR9iP9EhUg1rmduHqwA4ddyHNMcsR8t9saXA9BmMU4t

看不见的客人:QmYWwXkgjdhMps9mB6DyEp4zSFmDQ9U6SuqGRGovEycr49

勇往直前:QmZRJevYhADpXmCGGF6eCcP1afNEYFahDW5jxje3iyyCJS

至暗时刻:QmUPvs7iyM5ZWPQwDovRqvNzxMJHSUWNRWAWRkAsseVcvs

银翼杀手2049:QmcUHdzKgRrcJrD5Ah46HgBHF7urWDhmAnLKYwcHaLgeGP

盗梦空间:QmQATmpxXvSiQgt9c9idz9k3S3gQnh7wYj4DbdMQ9VGyLh

狮子王:QmfHGQZNQNymHDC6b7TZjgGbh962VWQQN5oV92w9jHE4qt

祖宗十九代:QmbrwEH4AEQhUN929yPy4j5B2PfQYk3JJyG8iq7HVoXbia

疯狂动物城:QmUKaQwN2ppapUEFhbHsKoVXn2yBRM7mLpu5HQv9am7dB7

彩绘心天地:QmXg1c6qPtoQAyfrXrWnuDrUgFehnt4kLvv1hxheMUeFBC

肖申克的救赎:QmRUYeMkvirV4frGX8wcntCq6x5GqDixAjZnFj5Jg1E3qj

太空旅客:QmdxpUVnvFnert9nmEkzwwz2tWdavU3fUQzrgBsTZP5yyG