GNU/Linux python

Prerequisite Packages and Compiling Python 3 on CentOS

What are the prerequisite packages for a complete python3 compilation install? You will always get issues like Pip not being able to access pypi because the openssl module was not installed. Other things need the gcc compiler and such. Recently I got this warning: Could not import the lzma module. Your installed Python is incomplete. […]

django GNU/Linux

Upgrading SQLite on CentOS to 3.8.3 or Later

Let me guess you are using django and may have just done an upgrade to django 2.2.x or 3.x in order to stay up to date and have the latest security updates. However you now have this exception to deal with… ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17) This means you will need […]

DevOps GNU/Linux

Cheapest VPS Linux Server VM in South Africa

TLDR; As at October 2022 – has the cheapest Linux VPS – it is a smooth experience provisioning What company provides the cheapest Linux KVM based VPS (Virtual private server) in South Africa. What is a VPS? It is a virtual computer – running on a hypervisor (a bigger computer). It has its own […]

DevOps GNU/Linux Kong Security Server

Generate a letencrypt ssl certificate for kong api gateway

So you have installed kong and you are ready for it to go into production. Whoops, nossl certificate yet? It is important that you add it as credentials will be moving between your gateway and credentials could be acquired by any party in between the client and your server. But the standalone nginx plugin for […]

GNU/Linux Security Server ubuntu

Fail2Ban Custom filters and Testing Regex’s against existing Logs

Fail2ban is a tool that can automatically ban malicious bots trying to get into your server. Provided you set up filters and the ip address is logged you can use fail2ban with any application. fail2ban is built with python2.7 Create a filter, using a regular expression: In /etc/fail2ban/filter.d/my-custom-filter.conf: [Definition] failregex = ^ -.* “POST \/user\/register […]