Menu

Tag: centos

Migrating Redmine from system Ruby to RVM on CentOS

Redmine 4 is knocking on the door, and it’s going to drop support for anything below 2.2.2. Unfortunately, EL 7 only has 2.0.0, so you either wait until EL 8 releases and hope it comes with 2.2.2+, or you migrate from the packaged Ruby to something else. I’m picking RVM, because reasons. If you use […]

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 […]

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 […]

Killing Floor 2 Auto-Kick Bot on Linux Dedicated Server

Update: this functionality has been incorporated into my Killing Floor 2 Linux Server Installer. I recommend you use that instead. Preamble With the Killing Floor 2 Treacherous Skies patch things got considerably harder, especially on HoE difficulty. So, more than ever, it’s critical to have good players and good perks, otherwise your wipe is guaranteed. […]

Upgrading GitLab with external PostgreSQL

If you’ve migrated from the internal PostgreSQL instance to an external one, you’ll see something like this, when trying to update: [[email protected] ~]# yum update Loaded plugins: fastestmirror, post-transaction-actions Loading mirror speeds from cached hostfile * base: ftp.foobar.org * extras: ftp.foobar.org * updates: ftp.foobar.org gitlab_gitlab-ce/x86_64/signature | 836 B 00:00:00 gitlab_gitlab-ce/x86_64/signature | 1.0 kB 00:00:00 !!! […]

Migrating GitLab from internal to external PostgreSQL

PostgreSQL Installation This will cover CentOS 7 and PostgreSQL 10, and GitLab 10/11 installed using Omnibus. On other systems YMMV. Find the URL for the current CentOS 7 PostgreSQL RPM, then install it. E.g.: yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm Then open /etc/yum.repos.d/CentOS-Base.repo and add to the base and updates sections: exclude=postgresql* Install the server and the contrib […]