Tag: linux

  • Live resizing a luks encrypted partition inside a VM

    I recently found myself in a situation where a couple of VMs I run in my lab ran low on space. Normally this would not be an issue as one can always add extra capacity live and extend partitions and / or logical volumes and resize the filesystem on top but what does one need…

  • My take on openSUSE

    Many many years ago (20 ish) I was playing with all sorts of Linux distributions (peanut, slackware, mandrake, redhat, gentoo, suse and more) and back then I came up with my top 3 preferred Linux distros. My original top 3 looked like this: 1) Slackware; 2) RedHat; 3) Debian; because at that time in terms…

  • MDADM caching

    At the request of a friend I’m doing a piece on mdadm (software raid) with caching. Long story short, Raid 4 / 5 / 6 allows using a disk for caching purposes (the disk can be a software raid) To create the array one would run the mdadm command like so: mdadm –create /dev/md0 –level=5…

  • LVM caching

    Many of you are familiar with LVM (I’m sure of that because you must have at least installed some linux distro like something RedHat based with default options and got some partitions on LVM because of that) and maybe some of you are also aware of its “power” (if I can call it like that)…

  • Annoying Let’s Encrypt

    Let’s Encrypt (aka https://letsencrypt.org/) is a nice way to NOT spend money on SSL certificates for your websites (especially when you’re operating personal sites) BUT at same time it is fairly annoying when you have a setup that’s a bit different than standard ones. In my particular case, I’m running my site on multiple servers…

  • My take on CentOS8

    CentOS8 was released not too long ago by the RedHat ppl and after giving it some time to mature a bit I decided to take a closer look at it. Reading online about it I noticed they changed some stuff and improved other stuff but overall there’s not much I can call “special” about it…

  • CentOS7 build environment (src.rpm -> rpm)

    One of the things I hate the most about CentOS is the fact that once they release a new version they seem to also lock major versions of various packages with it like for example php or mysql which seem frozen in time, not to mention the kernel. My solution usually is to simply use…

  • Linux security – Cristian style

    This time we’re going to talk about security in context of Linux … that pesky topic everyone seems to be good at but then not quite good enough. Problem with security is that you can never have enough of it but at the same time you need to NOT get it in your way. Also…

  • Redis cluster – Cristian style

    I’ve been looking into getting some form of in memory caching for my sites BUT at same time do it in a way in which data would still be there in case of a crash and also do it HA style to be able to do maintenance on it without having some form of service…

  • KVM – Nested virtualization

    Ever wondered about the possibility of running VMs inside VMs ? If so then you’ll want to read further. In my particular case I have because (might have mentioned this before on my blog) I’m constantly “playing” with stuff for testing and proof of concept reasons. The HOW TO part: 1. Enable the settings for…