Siacoin
$0.00363 15.46%
SC · 6w

[Blog] Setup and run a Sia host on a Raspberry Pi 3/4

Operating System Install Ubuntu 64-bit 20.04 LTS release

If you own a Raspberry Pi you probably know how to do this. If not, the easiest way is probably to download the Raspberry Pi Imager and use it to prepare a sdcard. Your storage device should have at least 64 GB. This guide will not work with a 32 GB sdcard.

Make sure to select the 20.04 64bit long term support version.

Install Ubuntu 20.04 LTS 64bit using the Raspberry Pi Imager Login and set a password

Login into Ubuntu with your favorite SSH client. The default username and password is ubuntu. You are promted to change your password on first login. Once you’ve changed your password you have to login again with the new password.

We now switch to the root user for the following commands using

sudo su - Create a Swapfile

If you use a Raspberry Pi 3 you are limited to 1 GB of RAM. The memory consumption for some tasks might be higher. We therefore add a 1.5 GB swapfile and add a line to fstab so the swapfile is automatically mounted on next boot. If you use a Raspberry Pi 4 with 2 GB or 4 GB or RAM you can probably skip this step.

fallocate -l 1.5G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfileecho "/swapfile swap swap defaults 0 0" >> /etc/fstab
Go to blog.sia.tech
Recent news
No posts found