Personal log of yet another digital native.
Installation Pacman Keyring Upgrade SSH
Head to the Raspberry Pi website and download the latest NOOBS torrent.
While that’s downloading, download a formatting tool for your SD card, such as the official one. Plug in your SD card and wipe it using the tool.
Unzip the contents of the NOOBS Zip file into the root directory of the SD card. Now it’s good to go.
You’ll need to plug your Raspberry Pi into a display of some sort. I used my television and a spare keyboard. Don’t forget to plug in a network cable. NOOBS doesn’t have the full Arch installation files by default, and it has to download some to complete the installation. Start up your Raspberry Pi and when you get to the NOOBS installation screen, choose Arch Linux. NOOBS will automatically download and install Arch for you.
Why choose Arch Linux? Because it’s notoriously difficult, won’t hold your hand and you’ll have to learn how everything works. It’s also light, always up to date and won’t weigh down your Pi. Once NOOBS is finished installing, you are faced with the default tty
text terminal. Log in using the username root
and the password root
.
Force upgrade of all package lists, even if they appear up to date:
pacman -Syy
###Keyring
Initialise the Pacman keyring database:
pacman-key --init
Manually update the keyring package:
pacman -S archlinux-keyring
Verify the five master keys:
pacman-key --populate archlinux
Update the all known keys now that the database has been initialised and the master keys are known:
pacman-key --refresh-keys
Upgrade all packages:
pacman -Syu
Upgrade Pacman database because Pacman itself has been updated and its internal database is out of date:
pacman-db-upgrade
Disable deprecated “Diffie-Hellman group exchange” key exchange on PuTTY to allow SSH connection now that OpenSSH package has been updated to disallow this type of key exchange. Otherwise SSH attempts just have no result.
To see error, check the SSH daemon logs for error:
journalctl -u sshd -n 100
On your Windows (or other) computer, open PuTTY (or other terminal emulator) and check that the above key exchange method is not used.
PuTTY
-->Connection
-->SSH
-->Kex
-->"Diffie-Hellman group exchange" to bottom of list