IPFS
The InterPlanetary File System is a protocol and peer-to-peer network for storing and sharing data in a distributed file system. IPFS uses content-addressing to uniquely identify each file in a global namespace connecting all computing devices. The DSPs utilize this as the storage layer to request and serve information to and from vRAM <> RAM as a caching solution.

Standalone

​go-ipfs​

Hardware Requirements

Prerequisites

  • golang
  • systemd
Ubuntu/Debian
1
sudo apt-get update
2
sudo apt-get install golang-go -y
Copied!
Centos/Fedora/AWS Linux v2
1
sudo yum install golang -y
Copied!

Install

1
sudo su -
2
VERS=0.4.22
3
DIST="go-ipfs_v${VERS}_linux-amd64.tar.gz"
4
wget https://dist.ipfs.io/go-ipfs/v$VERS/$DIST
5
tar xvfz $DIST
6
rm *.gz
7
mv go-ipfs/ipfs /usr/local/bin/ipfs
8
exit
Copied!

Configure systemd

1
sudo su -
2
ipfs init
3
ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001
4
ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080
5
cat <<EOF > /lib/systemd/system/ipfs.service
6
[Unit]
7
Description=IPFS daemon
8
After=network.target
9
[Service]
10
ExecStart=/usr/local/bin/ipfs daemon
11
Restart=always
12
[Install]
13
WantedBy=multi-user.target
14
EOF
15
​
16
systemctl start ipfs
17
systemctl enable ipfs
18
​
19
exit
Copied!

More information

For information on adding additional peers, bootstrapping from an existing IPFS node, or running a private network, see the following links:
​

​