Skip to content

Instantly share code, notes, and snippets.

@craigmayhew
Last active August 27, 2018 20:30
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 craigmayhew/4ce4983d554468eb5d72a7bc1d9692e2 to your computer and use it in GitHub Desktop.
Save craigmayhew/4ce4983d554468eb5d72a7bc1d9692e2 to your computer and use it in GitHub Desktop.
Install IPFS on Ubuntu 16.04
# download
wget https://dist.ipfs.io/go-ipfs/v0.4.17/go-ipfs_v0.4.17_linux-amd64.tar.gz
# install
tar xvfz go-ipfs_v0.4.17_linux-amd64.tar.gz
sudo mv go-ipfs/ipfs /usr/local/bin/ipfs
# start
ipfs daemon &
ipfs swarm peers
# download a cat manually!
ipfs cat /ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ/cat.jpg > cat.jpg
open cat.jpg
# use the web user interface!
# http://localhost:5001/webui
# wikipedia http://localhost:8080/ipfs/QmehSxmTPRCr85Xjgzjut6uWQihoTfqg9VVihJ892bmZCp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment