Menu

Tag: centos

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

Installing GitBucket with PostgreSQL and Tomcat on CentOS 7

Preamble When it comes to on-premises Git hosting, GitBucket is definitely my current favorite. It has monthly updates, LDAP authentication, email notifications, forks, wikis, issues, pull requests, inline commenting, public and private repos, plugins, skins, protected branches, HTTP and SSH transports… you name it, man. I’ve already sent a few patches to its current maintainer, […]

Migrating your /home to Btrfs

There may be several reasons to switch to Btrfs, for me personally it’s because my KF2 server is eating up too much space, and Btrfs supports both compression and deduplication. Neither ext4 nor XFS have these so on CentOS I have no other option than Btrfs. Beware, RH deprecated it, so the 8.x series won’t […]

Silent SELinux denies on CentOS

You do something, and it won’t work. In this example it’s Tomcat trying to delete a file. You already wrote an SELinux module to allow reads, but now you need to delete as well. So then you resort to the audit logs again. But there’s nothing in there. Then you put the tomcat_t domain under […]

Dedicated Killing Floor 2 Server on Linux

BIG FAT WARNING This tutorial is deprecated. Please use the revised guide. This one is only here for historical reference. 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 […]

CentOS 7 done right on Linode

Linode Account Sign up to Linode. You’ll have to top up your account with at least $5 and your account will be manually reviewed, too. To me it took around 40 minutes, so it’s a good opportunity to set up our SSH keys till then. SSH Keypair In layman’s terms, key-based authentication is a bunch […]