centos – Noobient
Menu

Tag: centos

Local Ubuntu APT repo mirror on CentOS 7 v2

I’ve done this using apt-mirror already, but it turns out, apt-mirror has a few caveats: it’s unmaintained it requires debootstrap + chroot On top of that, I’ve been having issues enabling multi-arch for my repo. So I tried out apt-cacher-ng too, but it turned out to not play too well with reverse proxies. Then I […]

Local Ubuntu APT repo mirror on CentOS 7

Note: make sure to check out the revised APT repo mirror guide! So you might want to have a local mirror for your Ubuntu workstations, but you don’t want to run Ubuntu on the mirror server itself, because Ubuntu Server sucks ass. In this case, it’s really not that hard to find a way. Set […]

killinuxfloor 1.1 released

killinuxfloor 1.1 has been released! I’ve already explained both the issues that we’ve been having recently with Killing Floor 2 Server on Linux, and the manual solution to them. Now I’m happy to say the fix has been incorporated into killinuxfloor, so you don’t have to worry about it anymore. For the curious, here’s the […]

Fixing Killing Floor 2 Linux Server Workshop downloads

Update: killinuxfloor 1.1 released with the fix included. I’ve been doing killinuxfloor, an installer for Killing Floor 2 Server on Linux for some time, and Workshop downloads have been troublesome for quite a while. I even raised a ticket with Tripwire about a week ago, but other than the automatic confirmation e-mail, I received zero […]

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