NGINX : failed (2: No such file or directory) in /etc/nginx/nginx.conf

My first configuration of an NGINX server left me high and dry for a while. Coming from an Apache back-ground (where everything is done for you), NGINX felt a little archaic at first.There was not much help out there for this issue so I will fill in the gap. The error (in this case) was… Continue reading NGINX : failed (2: No such file or directory) in /etc/nginx/nginx.conf

Compile and install Python’s MOD_WSGI for Apache2 in Ubuntu 18.04

Having installed mod_wsgi a couple of times on different machines, I decided to note down the steps I took and put together a guide. There are also some solutions to some issues that you may encounter, which left me clueless for a while. If you are looking for a guide to deploying a Flask/Django project,… Continue reading Compile and install Python’s MOD_WSGI for Apache2 in Ubuntu 18.04

Session issue with Flask deployment – apache2/wgsi/Flask

The flask app in question was working fine within Flask’s own development server. Whilst deploying the app, I ran into a 2 problems. The first was a mismatch with apache2_mod_wsgi and the python3 version. It was throwing apache2 error messages of terminating threads. In order to fix this, I had to compile mod_wsgi from source,… Continue reading Session issue with Flask deployment – apache2/wgsi/Flask

Coloured SSH terminal – Ubuntu host

If you SSH into a remote Ubuntu terminal and do not see coloured text, here might be a solution. The problem is on the remote host, where bash is missing the profile and configuration for coloured commands. I will help fix this. Connect via SSH to the remote host. You need to look for 2… Continue reading Coloured SSH terminal – Ubuntu host

WordPress XMLRPC.php is now working!

I really like the additional features provided by the Jetpack plugin, and after the recent migration, it stopped working. I checked over permissions, .htaccess, WP configurations and even cross referenced some major server configs to try and figure it out. I remembered that I had this issue before and needed to install another module somewhere,… Continue reading WordPress XMLRPC.php is now working!