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
- vim /etc/tor
- Uncomment and make changes to lines
- HiddenServiceDir /var/lib/tor/monero-service/
- HiddenServicePort 18081 127.0.0.1::18081
- sudo systemctl restart tor@default
- sudo systemctl status tor@default
Install and Configure Monero
- Get the architecture of your cpu
- uname -m
- My raspi5 is on ARMv8
- Download Monero CLI
- Get the correct download link from the monero downloads page
- `wget https://downloads.getmonero.org/cli/https://downloads.getmonero.org/cli/linuxarm8
- Extract the archive
- tar -xvf monero-linuxarm8
- Make configuration change
- rename the file to something nicer using
mv - vim
- Uncomment lines
no-igd=1andrestricted-rpc=1
- rename the file to something nicer using
- Get your onion address
- sudo cat /var/lib/tor/monero-service/hostname
- Move into the extracted file and run the daemon