MIKE LEVIN AI SEO

Future-proof your skills with Linux, Python, vim & git as I share with you the most timeless and love-worthy tools in tech through my two great projects that work great together.

Seamless Ubuntu 20.04 to 22.04 Upgrade with MyKoz AReal/OS

I successfully upgraded from Ubuntu 20.04 to 22.04 and my daily journaling script worked seamlessly! I'm now exploring how to make this same functionality available to everyone, while keeping it as close to the mainstream systems as possible. I'm also looking into how to best take advantage of Windows for durability of paths and file-locations between Linux-side upgrades.

Seamlessly Upgraded from Ubuntu 20.04 to 22.04 with MyKoz AReal/OS!

By Michael Levin

Saturday, August 5, 2023

Wow, I have both Ubuntu 20.04 (my old day-to-day) and Ubuntu 22.04, the new one that Microsoft sort of forced me onto by changing the default for WSL and me fixing the MyKoz script (previously drinkme) to stay in sync with it. And the amazing thing is the “all” script that I use to initiate my daily journaling flowed seamlessly from one to the other. This is a first and shows the power of the MyKoz AReal/OS approach. Friggin awesome!

Okay, so I’m going to have to think through how to allow everybody to have this same functionality. I have it working for everyone as far as a Linux-backed version of JupyterLab, and that’s pretty well tested. But the vim journaling part of it is a bit more off the beaten path. I’m going to have to think through where, if any I have unique customizations. Naturally the particular text files loaded into vim are unique to me, but I can just have a default.

I will set everyone up with one public blog and one private journal. I will also load one file for pseudo-automation, so they can edit a file that’s invoked by a running systemd service. I may even make it nbdev-powered, but that may be too much complexity for folks out of the starting gate. I want to avoid non-standard systems built on non-standard systems. I want to stick as close to the out-of-the-box defaults of the massively popular mainstream systems I’m piggybacking off of and gluing together.

I will have to review the vim macro keyboard shortcuts. Make it as generic as possible for daily blogging. @j to start a new journal entry. @p to publish the public blog, etc. Wire it for Github and the Github Pages (github.io) publishing system. Name the repos very clearly for what stays private and what becomes public. Don’t make the private one too easy to even get onto Github. But make the public one (the blog) almost tripping over itself to get published. I’ll need a very stripped-down and simplified CSS. None of that sass or fullstack webdev nonsense. As few moving parts as possible.

An important concept here is how Windows is really taken advantage of for durability of paths and file-locations for repos, configurations and such between Linux-side upgrades. I went from Ubuntu 20.04 to 22.04 and everything just kept working. That’s because of the install script making symbolic links to the Windows-side. That’s right down to the .ssh directory, so when it gets time to release this blog post, it should just work. Let’s try!

Categories