πŸ’ Pipe Network

Pipe Network | The decentralized CDN redefining data delivery

DevNet CDN PoP Node Setup Guide

1. Register for Notifications

  • Fill out the registration form to be notified when the binary is released.

2. After the Binary is Released

a) Prepare the Server

Update your system and install necessary packages:

sudo apt update && sudo apt upgrade -y
sudo apt install curl ufw -y

b) Create Directories and Download Binary

  • Create the directory:

    sudo mkdir -p /opt/dcdn
  • Download the node binary:

    sudo curl -L "<URL_BINARY>" -o /opt/dcdn/dcdnd
  • Download the management tool:

    sudo curl -L "<URL_PIPE_TOOL>" -o /opt/dcdn/pipe-tool
  • Grant execute permissions to the files:

    sudo chmod +x /opt/dcdn/dcdnd
    sudo chmod +x /opt/dcdn/pipe-tool

3. Log In and Create Tokens

a) Log In to Create Access Token

Run the following command to log in:

  • After a successful login, the credentials.json file will be created at ~/.permissionless.

b) Create the Registration Token

Run the command to create the Registration Token:

  • The registration_token.json file will be saved at ~/.permissionless.

4. Configure the System Service (systemd)

a) Create the Service File

Create the service file at /etc/systemd/system/dcdnd.service:

b) Open Necessary Ports

Open the required ports:

c) Start the Service

  • Reload and enable the service:

5. Manage Wallet

a) Create a New Wallet

Run the following command to create a new wallet:

  • Backup the secret key and recovery phrase (12 words).

b) Link an Existing Wallet

Link the wallet using the public key:

6. Manage the Service

View Logs

To view the logs of the service:

Restart the Service

To restart the service:

Check the Service Status

To check the service status:

Last updated