Skip to content

Latest commit

 

History

History

ipfs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Setting up IPFS on DigitalOcean

A peer-to-peer hypermedia protocol to make the web faster, safer, and more open.

What is needed

SSH Terminal

Getting Started

Login

If you already have DigitalOcean account, you can login into your account.

Sign up

If you don't have DigitalOcean account, please sign up.

1. Create Project

Create Project

2. Create Droplets

Create Droplet

Droplets configuration

  • Choose an image

    • Ubuntu: 18.04 x 64
  • Choose a size

    • CPU: 1 GB
    • SSD: 25 GB
    • Transfer: 1000 GB
    • Price: $5 / month

Choose Image

  • CPU Optimized Droplets (Skip)
  • Add backups (Skip)
  • Add block storage (Skip)
  • Choose a datacenter region
    • Bangalore

Choose Region

  • Select additional options (Skip)
  • Add your SSH keys (Skip)
  • Finalize and create
    • Choose a hostname: Type a name you'd like or using default

Choose Hostname

  • Click Create

3. Connect to node

After create the Droplets, you will receive the email include:

  • Droplet Name
  • IP Address
  • Username
  • Password

Using terminal/putty to connect the droplet node

$ ssh root@<IP_ADDRESS>

NOTE: You must change your password at the first time you connect to the droplet node.

4. Download and build

Download newest version from IPFS

wget https://dist.ipfs.io/go-ipfs/v0.4.18/go-ipfs_v0.4.18_linux-386.tar.gz

Unzip the file

tar xvfz go-ipfs_v0.4.18_linux-386.tar.gz

Run the script to install IPFS

cd go-ipfs
sudo ./install.sh

5. Start service

Initilize IPFS

ipfs init

Start IPFS daemon

ipfs daemon

Done! The IPFS daemon is started.

6. Upload file to IPFS

echo "hello world" | ipfs add
added QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o

Try it out: https://gateway.ipfs.io/ipfs/QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o