Download the file from https://dist.ipfs.io. The IPFS is implemented by Go language.
Unzip the file of downloaded just a moment ago
tar -xzvf ***.tar.gz
The internet for private of IPFS that must need key of Shared.Create key
- Get the tool of key
go get -u github.com/Kubuxu/go-ipfs-swarm-key-gen/ipfs-swarm-key-gen
- Create key
ipfs-swarm-key-gen > ~/.ipfs/swarm.key
- Transfer file that of key
scp ~/.ipfs/swarm.key <username>@<ip address>:<filepath>
- set the path of environment variable
export IPFS_PATH=~/.ipfs/
- init ipfs
ipfs init
ipfs cat /ipfs/<hash of ipfs>/readme
ipfs bootstrap rm —all
Add one of the peer that you have.
ipfs bootstrap add/ip4/<ip address>/tcp/<port>/ipfs/<peer identity>
ipfs daemon