Like all DIY tutorials they make bitcoin unix about things and are subject to external libraries and software being updated or changed. I periodically test and update these steps for changes or additions, but I can’t guarantee that some troubleshooting won’t be needed to get your node up and running. PRELIMINARIES This tutorial is to install Bitcoin Core v0.
Options are given to install the GUI and wallet or not. If you wish to run a testnet node, the testnet blockchain is only around 8GB so keeping that on a 16GB microSD card with the OS will work well. ASSEMBLY How to assemble your Raspberry Pi will depend on the case purchased. Once assembled, plug in your USB stick, HDMI cable to your monitor, USB keyboard, and either your USB Wifi adapter or an Ethernet cable going to your router. The device will automatically power on once you plug in the micro USB power cable. INSTALLING THE RASPBIAN OS If your Raspberry Pi came with a microSD card preloaded with NOOBS you can insert the microSD card into your Raspberry Pi, plug in your power cable and it will walk you through your setup.
Make sure you select Raspbian as your OS choice, which should be the first on the list. It will take a few minutes to install. Once that is finished, reboot and jump to Raspbian config options. If you have a brand new microSD card, you will need to download a Raspbian image to your PC and image your microSD card. This tutorial will assume you are using a PC running Microsoft Windows.
The unzipped folder will have a large . Insert your microSD card into your PC. Make sure what is selected is your microSD card and nothing else, especially your hard drive. This will take a few minutes. Once finished, eject your microSD card. Insert your microSD card into your Raspberry Pi and plug in the power cable and wait while it boots up.
CONFIG OPTIONS When you first boot the latest Raspbian it will resize the image and reboot. The default hostname is set to “raspberry”. We’ll change ours to “raspnode” and the rest of the tutorial will assume this. If you leave yours as “raspberry” or change it to something else, anytime you see the hostname mentioned, use that instead of “raspnode”. We’ll leave these as is for the tutorial. If you change your username, make sure to use that instead of “pi” when it shows up in this tutorial.
You can overclock your Raspberry Pi in order to give it a little more processing power. Once done, select “Finished” and your Raspberry Pi will reboot. When you get the “login” prompt, enter your username “pi” and it will prompt you for your password. EDITING FILES We’ll be using the command line to edit files. If you are not familiar with a command line this may be a little tricky. Raspbian comes with a few editors. Nano is a relatively friendly editor and this tutorial will use that, but Raspbian also has vi for users who prefer it and can be used instead.
If you have not used vi before, you should stick with nano. For those not familiar with Linux, some actions we take will require root privileges. Sudo can be set to require a password, but the default Raspbian user should be set to not need one. You may want to change the default keyboard layout. Reboot to have it take effect. CONFIGURE USB AND SET AUTOMOUNT If you are using a 128GB or larger microSD and wish to put everything on that including the blockchain, you can skip this section and go to networking. You can do this by plugging your USB stick into your Windows PC and checking it’s properties.