Menu

Migrating from Tumblr to WordPress on VPS

Preface I’ve had enough with Tumblr. It’s been randomly messing up with <, >, & characters in the Markdown editor. And by that I mean it removed a random subset of content between, before, or after those characters. Or replaced the characters with something else. Or whatever. Then it randomly removed the closing / character […]

Installing Nginx on CentOS 7 with Let’s Encrypt HTTPS certificates

First off, you need a CentOS instance. If you want to go the VPS route, I recommend Vultr. If you don’t have an account yet, I’d really appreciate if you could use my affiliate link when signing up 🙂 Once done, you also need an SSL certificate. Then you can use my script to do […]

Free Wildcard Certificates using Cloudflare, Let’s Encrypt and acme.sh

Preface I already covered Azure DNS, it’s time to cover Cloudflare, too. If you haven’t done so yet, sign up to Cloudflare (it’s free), and move your domain name to Cloudflare. Note: Cloudflare can (and in fact does, by default) proxy your website and generate SSL certificates for you automatically (which you can disable by […]

MariaDB fails to start after snapshot restore on Vultr

I had to restore from snapshot, because JetPack messed up my WordPress installation. Unfortunately, after the restore my website looked like this: Error establishing a database connection Gee, that’s nice. What’s up with the DB engine? [[email protected] ~]# systemctl status mariadb.service ● mariadb.service – MariaDB 10.3.9 database server Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled) […]

Dedicated Killing Floor 2 Server on Linux v2

Prelude This article will guide you through setting up a proper KF2 server on Linux (CentOS) step-by-step. What we’re going to do here is: fire up a CentOS server with firewall, Security-Enhanced Linux and hardened management access install steamcmd on the CentOS server install the KF2 server using steamcmd configure KF2 options via very small […]

CentOS 7 done right on Vultr

Preamble After doing this for Linode, it’s time to also do Vultr. If you follow me, you already know that Vultr is one of my 3 favorite VPS providers. The great thing about Vultr is that it also allows for custom ISOs, so you can have fancy things like a Btrfs root filesystem, which in […]

CentOS 7 Post-Installation Best Practices

If you haven’t done so yet, complete the tasks explained in Using SSH Key Pairs on Windows. If you fail to do so, you’ll be locked out of your CentOS instance! Fire up Pageant, load your private key, and log into your SSH host. Almost all of the commands will require root privileges, so first […]

Outlook 2019 supports Outlook.com 2FA

Finally, the day has come, folks. I still can’t believe it. After so many friggin’ years this damn application finally supports two-factor authentication for their own service. Without stupid “app passwords”. Can you actually believe that? If the account’s already set up in Windows, it’s like 3 clicks, you don’t even have to enter your […]

Using SSH Key Pairs on Windows

Basics For the fundamentals of how SSH key pairs works, please read understanding public key private key concepts. TLDR you put your public key on the remote machine (server) you want to manage, and you authenticate with the private key you have on your local client machine. Generation We use PuTTY to generate and use […]

Edimax EN-9320TX-E 10GbE Ethernet Card on Ubuntu and Fedora Linux

Unlike the Asus XG-C100C, the Edimax EN-9320TX-E 10G Ethernet card won’t work OOTB, because you need some firmware magic to make it work. So first off, some prerequisites: yum install dkms vim-common git curl || apt install dkms git curl git clone -b vendor-drop/v0.3.6.16.1 https://github.com/acooks/tn40xx-driver.git /usr/src/tn40xx-001 cd /usr/src/tn40xx-001 curl -LO https://github.com/acooks/tn40xx-driver/files/2214805/x3310fw_0_3_3_0_9374.tar.gz tar xf x3310fw_0_3_3_0_9374.tar.gz make […]