Raspberry-Pi-DigiNode

Raspberry Pi Setup Guide - Step 6

IMPORTANT: If you have not yet connected to your Raspberry Pi in the terminal using SSH, please go  here for Windows or here for Mac to complete STEP 5 first.

Step 6 - Run the DigiNode Setup script on your Raspberry Pi

To run the DigiNode Setup script, in the terminal enter the following command and press return: 
curl -sSL setup.diginode.tools | bash 

DigiNode Setup will start and perform some system checks, before taking you step-by-step with through the setup process.

Tip: Sometimes in DigiNode Tools it displays website URL's - to open these in your browser, you can hold the Command '⌘' key (Mac) or the Ctrl key (Windows) and then clicking on them.

When prompted to customize your install, choose 'Continue' to stick with the defaults.

Once you reach the main menu, choose to install a 'Full DigiNode' and press return. DigiNode Setup will then start to download and configure the required software.

DigiNode Install Menu

When asked whether to use UPnP for port forwarding, choose 'Setup Manually'. Take note of the port numbers. In Step 7, you will learn how to forward these ports on your router.

DigiNode Port Forwarding

When prompted to install the custom MOTD, choose Yes.

DigiNode MOTD

When prompted to install the IPFS server profile, choose No.

IPFS Server Profile

Installation will continue. It will likely take a few minutes to complete. Go grab a coffee.

Note: At several points during the installation, it may look like it has frozen. Just be patient. You should eventually see the message telling you it has been installed.

Next restart the Raspberry Pi, by typing sudo reboot followed by return.

Wait a minute or two for the device to restart, and then reconnect over SSH again, using the same method from Step 5. e.g. ssh digbyte@diginode.local

It will prompt you for your password again. When it reconnects, you should then see the DigiNode MOTD, reminding you of the commands to manage your DigiNode.

To check on the status of your DigiNode, launch the DigiNode Dashboard by typing diginode followed by return.

Press Q or Ctrl-C to quit the DigiNode Dashboard.

The final step is to set up port forwarding for the DigiNode.

Some Useful DigiNode Commands

The following commands can be used to manage your DigiNode. Type each one into the terminal and press return.

  • diginode --help - Display DigiNode Dashboard Help screen
  • diginode-setup --help - Display DigiNode Setup Help screen
  • sudo systemctl restart ipfs - Restart IPFS.
  • pm2 restart digiasset - Restart DigiAsset Node.

Some Useful Linux Commands

If you are new to Linux, you may find these commands useful. You can type each one into the terminal and press return.

  • exit - disconnect from the Raspberry Pi
  • ls - view the contents of the current directory
  • ls -all - view the contents of the current directory, including any hidden files or directories (Note: Hidden files or folders start with a period.)
  • cd <directory path> - Navigate into a directory. e.g. cd ~/.digibyte
  • cd .. - Navigate out of the current directory.
  • cd ~ - Return to the home folder.
  • nano <file name> - Edit a file using nano. e.g. nano ~/.digibyte/diginode.settings
  • sudo - Prefix to other commands. It gives you elevated superuser permissions to execute that command. You will be prompted for your password.
  • sudo reboot - Reboot the system.
  • sudo shutdown - Shut down the system.
  • sudo apt-get update - Check for system updates.
  • sudo apt-get upgrade - Install system updates.
  • sudo raspi-config - Launch the 'Raspberry Pi Software Configuration Tool' (use it to configure wifi, overclock the Pi etc.)

To learn more Linux commands, go here.

NEXT: STEP 7 - Give the Raspberry Pi a Static IP address and setup Port Forwarding

To proceed to Step 7, click here.

To return to the One Page Setup, click here.

DigiFact # 2 - Did you know...
DigiByte has upgraded the network a number of times to include "Improvement milestones". These hard forks were not contentious splits that generated additional coins, but rather a "reorientation of the ship" that the DigiByte community was onboard with. Learn more here.

Copyright 2021-2024 Olly Stedall © All Rights Reserved

Please Donate: dgb1qv8psxjeqkau5s35qwh75zy6kp95yhxxw0d3kup