Given the fast rate of change many users will be changing and experimenting with different versions of the nodes.
This is a small script to help an unfamiliar new user find and see the variables that affect the versioning.
Single board computers is a more specific term for raspberry pis (at least from my perspective) this can help the user find these devices on a search engine more easily. These devices are usually ARM based and significantly cheaper (slower too).
I think Mini PC usually refers to x86 (AKA something that can run windows without too much fuss) based computers.
These lines are really blurry and not very important but I think using these terms will help newcomers search for these devices online more quickly.
I also removed specific prices and sizes of things, since these always change. If they really want to run bitcoin they will quickly find out how large it is and every time it gets mentioned it needs to be qualified with a date.
Removed the caveat that you need an external storage device, since that's subject to the configuration of the node.
Added a note to be careful with SD cards, since if not configured properly can be easily bricked.
The manual way for stripping quotes from a json reply is messy and gets in the way, jq has a built in tool `-r` to do this.
Aligned the echo commands so its a bit more tidy
By using SSH on a fresh OS install you have to establish the public key of GitHub and if you don't have it you have to a song and dance about it. With HTTPS it works every time. Unless of course this is a security measure, in which case ignore this post.
Someone could copy paste it and with the y flag it would automatically install. It’s Java on Ubuntu so it’s probably fine, but it’s a bad precedent to have commands that change so much in a users system without them explicitly approving.
This is an opinion.
The reader was not asked to create a directory 'bitcoin' on his external drive. `sudo useradd -d /external_drive/bitcoin -s /dev/null bitcoin` will not make `/external_drive/bitcoin` the user's home directory as it can only assign existing directories. `sudo useradd -d /external_drive/bitcoin -s /dev/null bitcoin` cannot make new directories, for this '-m' is needed.