centos – Noobient
Menu

Tag: centos

Fixing WordPress image cropping on CentOS

You know the drill. You upload the image, you want a nice crop, but then There has been an error cropping your image. Ouch. Fortunately it’s a simple issue with a very easy fix: yum install php-gd systemctl restart php-fpm systemctl restart nginx Aaand that’s it.

Updating WordPress on CentOS with enabled SELinux

In my earlier post I explained how to install WordPress on CentOS. It’s all good until you get the first update notification for WordPress itself: But if you click on that Update Now button, guess what happens: Of course, you want FTP credentials, what else? To perform the requested action, WordPress needs to access your […]

Installing RVM and Ruby on CentOS 7

The @base Ruby version is ancient and actually EOL’d, so you should really use RVM for your Ruby needs. The good news is that it’s really simple. Cleanup Chances are, you already have Ruby installed from the EL repo. And possibly some gems, too. In this case: # remove old versions gem cleanup # remove […]

PostgreSQL 11 with Active Directory over SSL on CentOS 7

Preamble First of all, I’d like to thank the crew of #postgresql and #centos on freenode for all the help, much appreciated! The scenario is the Foobar company with Active Directory as the directory service. They use CentOS 7 application servers, among them PostgreSQL. The company’s domain name is foobar.com, and the corresponding AD domain […]

Integrating CentOS 7 with Active Directory

This guide builds largery on the Ubuntu Active Directory tutorial, so if something’s not clear, please make sure to check that one, too. Here’s the script which you can run on your CentOS hosts. Make sure to replace ad.foobar.com and AD.FOOBAR.COM occurences with your actual domain. Also, this script uses AD\Administrator, if that doesn’t suit […]

SELinux woes with Tomcat on CentOS 7.6

Following up on my previous hurdles, here’s what happened after upgrading to CentOS 7.6. We use PostgreSQL primarily, but also some MSSQL and MySQL. With 7.6, Red Hat quietly decided it’s no longer a sane default to let Tomcat connect to databases. Because, webapps normally don’t use databases, right? Anyway, let’s write a proper policy […]

killinuxfloor – Killing Floor 2 Server on Linux

About Why, it’s the easiest way to install and manage Killing Floor 2 on Linux. All you need is a fresh, up-to-date install of CentOS 7. Features: One-command installation of the Killing Floor 2 Linux Server One-command uninstallation as well Automatic backup of previous config during install and uninstall Full support for firewalld and Security-Enhanced […]

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