Having ownership of your own data and your own transactions is the future. You can do this by running your own Nostr relay and running your own Bitcoin node. Both of these are fairly simple to do and a multitude of different solutions exist. Umbrel and Start9 are both solutions I've used and can recommend. You just need an old laptop, old computer, or a Raspberry Pi.
Discussion
π€
I canβt wait to run my own relay. Just need some hardware to install it on.
Donβt wanna mix it with my Bitcoin node.
i know many people do both - same hardware or different hardware. me personally, i split it up. i don't want them on the same device.
I want to share my experience getting my Bitcoin node up and running so others can do it too. Note I'm not an expert in computers but I was able to learn many things along the way and get the job done.
At first, I was looking to buy a Raspberry Pi but I could not find one at a reasonable price so I decided to buy a used mini pc instead: any Dell Optiplex, HP EliteDesk or Lenovo ThinkCentre to be exact.
At the end this is what I bought:
1. Lenovo ThinkCentre M715q with 8GB RAM with a tiny hard drive.
2. Timetec 2.5" SATA SSD of 2TB of capacity.
3. Fueran DP display emulator plug.
I also needed temporary the following which I already had:
A. Another computer
B. Monitor
C. Keyboard
D. Mouse
E. Empty USB stick
In addition to this I used the following free software:
a. Latest LTS version of Ubuntu Desktop
b. balenaEtcher
c. Umbrel
And this was the whole process:
i. Replace the tiny hard drive in [1] with [2].
β Instructions from the Lenovo page: https://download.lenovo.com/pccbbs/pubs/m715q_2gen/en/index.html
ii. Install [a] on [1].
β Instructions from the Ubuntu page: https://ubuntu.com/tutorials/install-ubuntu-desktop#3-create-a-bootable-usb-stick
β For the first steps you will need [A], [a], [b] and [E].
β For the follow on steps you will need [1] and [B] through [E].
β Do not skip the update step.
iii. Familiarize yourself with Ubuntu.
β Navigation: How to Use Ubuntu (Beginners Guide)
β Terminal: How to open terminal in Linux Ubuntu
β Ubuntu help: https://help.ubuntu.com/stable/ubuntu-help/
iv. Install [c] on [a].
β Open the Terminal in Ubuntu and run:
Β§ curl -L https://umbrel.sh | bash
β If you get an error you need to install curl first with these commands in the Terminal:
Β§ sudo apt update
Β§ sudo apt install curl
β Instructions taken from the Umbrel page: https://umbrel.com/#start
v. Take note of the urls (http addresses) Umbrel gives you at the end of [iv]
β Addresses are right after the message "Umbrel is now accessible at" in the Terminal.
β You can access Umbrel from [1] or any other computer connected to your local network... just use a browser to go to either url in [v].
Up to this point the only thing left to do was to install the Bitcoin Node app from within Umbrel. However, I would like to share few more steps I took to tidy up the setup.
Remote desktop into [1] so [B] through [D] are not needed anymore:
i. In Ubuntu go to Settings > Sharing and turn on Remote Desktop.
β Turn on as well Remote Control.
β Set a User Name and Password.
ii. Remote desktop into [1] from a Windows computer connected to your local network.
β From the Windows computer open the Remote Desktop Connection app.
β Change the User Name to [i] and click Connect.
β Enter the Password per [i] and click Ok.
iii. If successful, reboot [1] and try [ii] again.
iv. If this time fails because Ubuntu is changing the Password in [i], do this:
β In Ubuntu, create a new keyring called myKEYRING in the "Passwords and Keys" app with no password.
β Set myKEYRING as the default keyring.
β Delete the Remote Desktop password from the "Login" keyring.
β Reboot [1] to ensure that the myKEYRING is the default one.
β Re-enter the Remote Desktop password per [i] to save it to myKEYRING.
β Go back to the "Passwords and Keys" app and set the "Login" keyring to default again.
β Reboot [1].
v. Allow Remote Desktop to work with the locked screen
β In Ubuntu, install the gnome-shell-extension-manager with this command:
Β§ sudo apt install gnome-shell-extension-manager
β Open the newly installed app called "Extension Manager".
β Within this app, search for and install the "Allow Locked Remote Desktop" GNOME Shell extension.
vi. Turn off [1].
vii. Disconnect [B] through [D] from [1].
viii. Connect [3].
ix. Place [1] in its final place, you can now control it from your Windows machine.
Setup the Bitcoin node
i. Familiarize yourself with Umbrel and the Bitcoin node.
β These videos are the best... just ignore the Raspberry Pi sections and perhaps the Lighting sections.
β Umbrel: How To Run A Bitcoin Node - Parts, Assembly and Software Installation
β UMBREL - How To Use Your Bitcoin and Lightning Node (NEW)
ii. Access Umbrel with either of the urls captured in [v] above and set your user and password.
iii. Install the Bitcoin Node app and let it download the entire blockchain.
iv. Be patient as this can take few days.
v. Once the blockchain in 100% synced share the blockchain with others:
β Within the Bitcoin Node app go to Advanced Settings.
β Turn on "Incoming Connections".
β Click on "Save and Restart Bitcoin Node"
I also installed the below two additional apps within Umbrel:
β’ Electrs: required to connect my Trezor hardware wallet to the Bitcoin node.
β’ mempool: to explore the blockchain anonymously using the Bitcoin node.
And I assigned a static IP address to [1] from my home router. This is not a must but it is highly recommended so the url to connect to Umbrel never changes.
β’ Instructions how to do it in an ASUS router: Guide for manually assigning IP addresses for an Asus Router
This got me up and running with my node. However, this is not the end as the node also requires some maintenance.
To maintain the node I follow these steps once per quarter:
i. Remote desktop into [1], open the Terminal and use the following commands:
β To stop Umbrel:
Β§ cd umbrel
Β§ sudo ./scripts/stop
β To update Ubuntu OS:
Β§ sudo apt update
Β§ sudo apt upgrade
β To restart [1]:
Β§ sudo reboot
ii. Remote desktop into [1], open the Terminal and use the following commands:
β To start Umbrel
Β§ cd umbrel
Β§ sudo ./scripts/start
iii. Access Umbrel, go to Settings and install the new Umbrel version if available.
That's it. I hope this is useful to help some of you in setting up your own Bitcoin node. If you want to send me some love you can zap me here in Nostr.
Next pay check going to see if I can get a new raspberry pi and set it up / my only issue is where I put it tbh but will work that out when I get it sorted out
Pi's are hard to find and expensive now. For the price you pay for them you're better off getting a used laptop or small form factor desktop. You just need a 1 or 2 TB hard drive.
Donβt get a raspberry pi, please! Itβs a meme gone wrong; much better and cheaper devices out there! Station pc is miles better and way cheaper
Dmax b3 plus is infinitely better; my current favorite for my nodes
nostr:npub123luchr7v4070jpa5k5p9e3n9u9yw7wg0065pk88tf8dh0ekle9qmthkcn might be a good topic for an upcoming podcast of LA Cosa Nostr...
Any thoughts on how to best contribute to the network (eg mining versus running a node)? I listened to Bob Burnett on the bitcoin matrix. He really makes a good case for finding ways to protect mining by either doing it on your own or investing in small companies. Iβm not technical but can learn if I get enough instructions. For example, I could probably make the S9 miner work as a space heater by using the BTC sessionβs instructions but Iβve got to have that help. My basic goal is how can I (as a non-engineer or computer programmer) help protect Bitcoin? I donβt care about making money (I can do that with my day job).
Mining isn't too difficult. I mine at home with 3 really old machines, the S9s like you mentioned. And I use them to heat my house in the winter. I didn't build a space heater out of them like the video you mentioned. Mine just sit in the corner of different rooms on the floor naked for everyone to see. I've done this for 3 winters now.
I recently setup a bitcoin node. Got the whole blockchain caught up. But as I live on a farm and can't get fibre, my Internet is slow and the full node is really slow and bogs the network. You can disable some things to avoid that, I just haven't figured out what to disable, and/or whether I should be running it within whonix or just bare. Oh... and I haven't opened my firewall port for bitcoin yet (long story about router access and mice, ask me and I'll explain)... but if I use whonix not only do I get Tor but I also don't have to open a bitcoin firewall port.
I was looking for a better-than-rpi box and didn't settle on one, so I'll be watching this thread for advice.
Hell, maybe I'll just use this new MacOS mini with a usb-to-sata to connect the 2TB drive... and whonix.
Are there any tutorials you can direct us to, I run. Start9 node but haven't gotten into learning about the relay
