Cosplaying as a Sysadmin

An ode to the homelabber:

Gold Cosplaying as a Sysadmin T-Shirt by Jeff Geerling

As a software developer, I never was a true sysadmin. I never pulled a server to replace a failed drive at 3 a.m. I never got to roll my little maintenance cart through a cold aisle, with hearing protection to keep my fragile eardrums from rupturing amidst a sea of 100+ dB screaming server fans...

apt_key deprecated in Debian/Ubuntu - how to fix in Ansible

For many packages, like Elasticsearch, Docker, or Jenkins, you need to install a trusted GPG key on your system before you can install from the official package repository.

Traditionally, you'd run a command like:

wget -qO - | sudo apt-key add -

But if you do that in modern versions of Debian or Ubuntu, you get the following warning:

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).

This way of adding apt keys still works for now (in mid-2022), but will stop working in the next major releases of Ubuntu and Debian (and derivatives). So it's better to stop the usage now. In Ansible, you would typically use the ansible.builtin.apt_key module, but even that module has the following deprecation warning:

Much-needed upgrades to my PC

Earlier this year, when I built my all-AMD gaming PC, I decided to stick with AMD's stock CPU cooler. After all, if they include a particular cooler with the Ryzen 5 5600x, I should assume that cooler is adequate, right?

AMD Wraith cooler on Ryzen 5 5600x CPU

Wrong! I noticed when comparing benchmarks from Phoronix that my CPU was running a little slower than the average 5600x, and it turns out the 'wraith' cooler just can't keep up under load.

Install Raspberry Pi OS's desktop environment over a Lite install

Almost every time I set up a Raspberry Pi these days, I use the 'Lite' version of Raspberry Pi OS. That version doesn't come with a GUI, it just boots to the console. It's much smaller in size and contains most things you'd need for a 'headless' Pi setup.

And if you know your way around the command line, it's not daunting to plug in a monitor, keyboard, and mouse, and explore via the shell if you need to.

But every so often, I've had a Lite install that I wanted to switch to GUI, but I'm too lazy to pull the Pi out of wherever it's installed, pull the microSD card, and re-flash it with the full OS, and then re-run my automation on it to set up whatever I had running before.

And that's why it's nice to be able to just install the GUI on top of an existing Lite install!

To do that (assuming you're running the latest Pi OS version, Bullseye as of this writing), just install Xorg and the Raspberry Pi 'PIXEL' environment: