Skip to content

Instantly share code, notes, and snippets.

@StephanieSunshine
Created November 1, 2018 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StephanieSunshine/92a3af3fc8577103906ff8142a4349f5 to your computer and use it in GitHub Desktop.
Save StephanieSunshine/92a3af3fc8577103906ff8142a4349f5 to your computer and use it in GitHub Desktop.
ipfs local swarm

Telos/IPFS Howto

This document will serve as the basic howto for joining the Telos IPFS testnet.

Prerequisites

  • Ubuntu 18.04
  • A user account dedicated to ipfs

Create user account & Add public key to authorized_keys file

groupadd ipfs 
useradd -d /home/ipfs -g ipfs -G sudo -m -s /bin/bash ipfs
su -l ipfs
mkdir ~/.ssh && cat - > ~/.ssh/authorized_keys

Install IPFS (All Nodes)

mkdir ~/.src
cd ~/.src
wget 'https://dist.ipfs.io/go-ipfs/v0.4.17/go-ipfs_v0.4.17_linux-amd64.tar.gz'
tar zxvf *.gz
cd go-ipfs
sudo ./install.sh

# IPFS
ipfs init
ipfs bootstrap rm --all
ipfs daemon &> ~/ipfs-daemon.log &

Notes

@Daniel-Uzcategui
Copy link

Very nice! was looking for something like this to start tackling on the ipfs side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment