the itjerk

my adventures with technology

Monthly Archives: June 2018

clean install mania

New hardware assembled in no time, and yes it’s a perfect match (well, except I need to rob a mounting bracket and four-pin fan (mATX) from the old machine). For the money, I’ve done well, and I hope it lasts as long as the previous.

Clean install of Ubuntu 18.04LTS was fine, except first time I must have miss-typed my password because I couldn’t login. Second time I got it right, but also decided to do a “minimal install” with full disk encryption. The former, because, the latter also because, but I will say there are potential pitfalls when rebooting because you must type the password to mount the drive.

I installed a whole lot of apps (Audex too), LAMP server with two websites (one requiring php5.x from here), two music streaming servers, an openvpn server, and a whole lot more. Most things were easy, most things didn’t require magic or luck, and it’s liberating in a way to leave things behind, and also to see how things work on a very clean system.

The big takeaways are this: document, document, document what you’ve done. Whether in a blog (like this), using screenshots, sending yourself email, referring to bash_history files, or whatever, if you did something once, you may have to do it again, so tuck it away where you can find it. As we all know, IT professionals are just very good at google searches; but they’re not always that efficient, and after a while the mania sets in:

In my drive for perfection, I did f&ck things up by deleting a directory (or more) in /var/. Punch drunk on the keyboard? Three hours of sleep? I certainly wasn’t thinking straight! Anyway, very luck to recover, as I was almost to the point where I needed to redo the entire clean install again!

So it’s all good, all systems go. Yet I still haven’t migrated any user data (other than my music library, and websites), not even any bookmarks. Yet.

byopc 2018

Come to find that it’s been four years since I last rebuilt my linux box. Should I, or should I not? The old wizard box has lost its door, I’ve been having some issues with freezing lately, but most of all, it feels like it’s time. Or does it? I’m such a Libra!

Keeping my motto of “cheap and low power,” I’m looking at the Intel G4400 processor for a whopping $49 bucks. It’s marginally better than my current G4320, but similarly, the single thread mark is just marginally worse than the more expense i3-8100 (which I used here). It’s a great value, especially considering I can get a less expensive motherboard (Asus H110M A/M.2) that still has VGA, otherwise I’d also have to upgrade my KVM. In any circumstance, I’ll need to upgrade to DDR4 memory, which for 16GB is not cheap either, so I’ll probably stick to 8GB: at $80 it’s the most expensive component in this build. And if I get a new case, I should get a new power supply, and might as well get a new SSD… So that’s a new computer for $315.25 from my local Microcenter.

A big plus is that I also get to do a clean install, which after two LTS upgrades, is exciting, but work:

  • Minimal Base 18.04 LTS
  • Apps (that’s another post)
  • Security: UFW, DNSCrypt, DuckDNS, fixed IP, etc.
  • Music servers: Logitech Media Server, MiniDLNA with Bubblesoft
  • Install LAMP, configure servers:
  • Setup Apache, migrate /var/www & databases
  • What am I forgetting?

Plus, I’ll need to install that new 3TB raid from my old box, and the spdif card, but what the heck to do with all those old data files…

Well of course I got a new computer, what itjerk wouldn’t?