naftuli.wtf An urban mystic, pining for conifers in a jungle of concrete and steel.

A New Era

After many years of internet content management dysfunction, I have finally begun to consolidate everything and solidify my approach to writing articles and publishing content. This site uses Jekyll as a content management system for hosting a static site, a modified version of Lanyon as a theme, and a fleet of other technologies to create a pretty comprehensive system. Since it’s all the rage to talk about how we each choose to do things, I’ll spend a moment to describe how all of this is setup.

Continue Reading...

Kickstarting RHEL7 Net-Installs

Nobody ever said it’d be easy, but then again nobody ever said it’d be this hard.

The theory is simple enough, right? Put an ISO in your server, edit the Linux command-line, hit enter, and fifteen to thirty minutes later, you have a server running, configured just so.™ In reality, getting Kickstarts to actually work and to do what you need is pretty hard.

Continue Reading...

Managing sudoers in Ansible

Ansible is awesome. You can automate all the things, which is a motto to live by.

Automate ALL THE THINGS

Let’s automate sudoers permissions. This operation is one of the more dangerous operations you can run in automation, right after dd or parted, with a little less risk. If sudoers gets screwed up, you won’t be able to gain root, and that’s a perfect way to ruin an otherwise good day.

Continue Reading...

rsync as root

It often happens, at least to me, that I need to synchronize a directory to another server while maintaining permissions and original ownership. While ssh root@box is a terrible idea™, you can use some epic hacks to do what you need to, securely.

Continue Reading...

Linux RAM and Disk Hacking with ZRAM and BTRFS

At a recent job, I faced a pretty bleak situation: my MacBook Pro had only 8 gigabytes of RAM and only 256 gigabytes of disk space. Because of “Apple Reasons™,” you can no longer upgrade your disk or add more RAM to new MacBook Pros. On top of all that, I wasn’t supposed to uninstall OSX, even though I only ever booted Linux. That meant that my root partition for my Linux install was only around 170 GB.

Continue Reading...