Monero Node on A Raspi5

- 1 min read

DietPi

  • The locales and keyboard setting are not set to en_US.UTF-8
    • Make this change and select the correct keyboard layout
  • Once connected to the internet DietPi will update

Install the packages you want for general use

  • sudo apt install vim ufw fail2ban unattended-upgrades tor

Configure External SSD for the blockchain

sudo fdisk -l # identify your drive sudo mkfs.ext4 /dev/sdX # replace X with your drive letter sudo mkdir /mnt/blockchain sudo mount /dev/sdX /mnt/blockchain

Configure tor

  1. vim /etc/tor
  2. Uncomment and make changes to lines
    • HiddenServiceDir /var/lib/tor/monero-service/
    • HiddenServicePort 18081 127.0.0.1::18081
  3. sudo systemctl restart tor@default
  4. sudo systemctl status tor@default

Install and Configure Monero

  1. Get the architecture of your cpu
    • uname -m
    • My raspi5 is on ARMv8
  2. Download Monero CLI
  3. Extract the archive
    • tar -xvf monero-linuxarm8
  4. Make configuration change
    • rename the file to something nicer using mv
    • vim
    • Uncomment lines no-igd=1 and restricted-rpc=1
  5. Get your onion address
    • sudo cat /var/lib/tor/monero-service/hostname
  6. Move into the extracted file and run the daemon