This is a text companion guide to Ketan’s instructions for installing Ubuntu server. Ubuntu server is the OS we will be using to build our bitcoin node stack that I mentioned in my previous post upgrading your bitcoin node.
You may not need text based help. If that’s the case, here is Ketan’s video:
Ubuntu server prep
- Download ubuntu server https://ubuntu.com/download/server
- Download Balena Etcher https://balenaetcher.net/#Downloads_for_balenaEtecher_v178
- Insert a USB drive into your computer
- Flash Ubuntu server to the USB drive
- Connect keyboard, monitor, power supply to your node hardware. If you have not acquired any hardware for that, checkout the recommendations here.
- We are going to work with this node “headless,” meaning we will not need a monitor or keyboard, but first we need a keyboard and monitor attached to the machine in order to install Ubuntu.
- Figure out how your machine goes to BIOS (sometimes F2, sometimes F12, etc.) The startup screen will tell you what to do in order to login to the BIOS.
- Boot list options in BIOS – should be “Legacy” (may need to disable “secure boot”)
- Change the boot order. Should be USB first, then SSD.
- If needed for your computer, choose Advanced boot options in BIOS
- Power management – change AC Recovery to “Power on” so that the node restarts when it has power loss. Throughout the install guide will we setup all apps to start up from boot so that if you have an interruption of power to the node it should reboot and start up all apps automatically.
- Insert the USB stick with Ubuntu server and fire up the machine
- Select language, keyboard layout, Choose “Ubuntu Server”
- Write down the IP address that the install process shows you, usually something like 192.168.**.*** You will need this to SSH into the machine.
- No proxy address needed
- Use default mirror address
- Choose your preference for where to install Ubuntu server. Be careful you aren’t erasing information you need with “Use entire disk”
- No need to set up as LVM group, space bar will de-select
- Confirm your selections
- Enter your info here. Might be good to use a unique username and password.
- Username must be lower case
- Be sure you select “Install OpenSSH” with your spacebar
- No need to select any of the featured snaps, move the cursor down to “done”
- Will take a few minutes to setup
- Confirm the reboot selection
- Remove the installation USB stick when prompted and press “enter”
- Login using the username and your password
- You shouldn’t need the monitor or keyboard on your nodebox from here on out
- Open up a command line on the computer you usually work with
- In windows open a command prompt. Search CMD and hit enter.
- On Linux/Mac open a terminal
- From the command line type [SSH username@IPaddress] ex. [ssh firstname.lastname@example.org.**.***]
- At your first login your terminal may ask you to confirm the new connection, type “yes”
- Enter the password you selected when prompted
You should be logged in
This video does an excellent job of explaining how to navigate your new Ubuntu server installation.