How to run Cyberfly testnet node on Raspberry PI 4/5

Cyberfly
3 min readMay 8, 2024

--

Requirements:

  1. Raspberry pi 4/5 — atleast 2GB RAM
  2. SD CARD
  3. WIFI
  4. Any other system for configuration.

To install Ubuntu Server on a Raspberry Pi using Raspberry Pi Imager, follow these steps:

  1. Download Raspberry Pi Imager:

2. Launch Raspberry Pi Imager:

  • Once installed, launch the Raspberry Pi Imager application on your computer.

2. Choose Device:

  • Click on “Choose device” and select your Raspberry Pi model from the list displayed in the application.

3. Choose OS:

  • Click on “Choose OS” and select Ubuntu Server from the list of operating systems available. You can choose from the latest LTS Ubuntu server images or the latest Ubuntu Core images

4. Select Storage Device:

  • Connect your microSD card (16GB recommended) to your computer. In the Raspberry Pi Imager, click on “Choose storage” and select your microSD card as the storage device
Click Next

5. Apply OS Customization:

  • Raspberry Pi Imager may prompt you to apply OS customization. It is recommended to configure your Raspberry Pi via the OS customization settings for a smoother setup experience.
  • Setting up username and password for login via SSH
  • Setting your home wifi SSID and password for automatic wifi connection after booting process

6. Write Image to SD Card:

  • Proceed by clicking “Next” to start writing the Ubuntu Server image to your microSD card. Ensure you have selected the correct storage device to avoid overwriting data on the wrong device.

7. Complete Installation:

  • Once the image is successfully written to the microSD card, safely eject the card from your computer and insert it into your Raspberry Pi.

8. Boot Raspberry Pi:

  • Power on your Raspberry Pi, and it should boot into Ubuntu Server.

9. Find IP address of raspberry pi.

In this case 192.168.188.39 is raspberry pi ip address.

10. Login into Raspberry pi by SSH

ssh cyberfly@192.168.188.39

Note: Please enter correct username and password you configured in previous steps.

11. Run Cyberfly Node.

git clone https://github.com/cyberfly-io/cyberfly-node-docker.git

cd cyberfly-node-docker

sudo chmod +x start_node.sh
sudo ./start_node.sh k:your_kadena_address

It take few minutes to complete. Once complete. Visit in browser

http://192.168.188.39:31000

Done.

You have successfully running a private node.

how to make node public?

You need to do port forwarding for the following ports in your wifi router to your raspberry pi ip address.

31000, 31001, 31002, 31003, 31004, 31005

All ports are TCP.

Reference for port forwarding — https://www.noip.com/support/knowledgebase/general-port-forwarding-guide

Thanks.

--

--