Found 21 results

Remove .php extension with NGiNX

Removing .php or .html extension from your website URL when using NGiNX can be quite frustrating, luckily there is a quick and simple solution that we can use in order to fix this and no, it is not called .htaccess as you used to do it when using Apache as web server. It is a nice and elegant solution where you can manage this straight from your .conf file. In this short tutorial we will guide you step by step how to remove .php and .html extension from your URL when using NGiNX, this is a pretty good solution to […]

Category: General | Published: 09/04/2019 | Updated: 23/04/2019

NGiNX SSL Setup and 301 Redirects

NGiNX SSL setup and 301 redirects, this is how is called our next tutorial where we will explain in just a few easy steps how to setup a SSL certificate on NGiNX and also how to force client browser to use HTTPS by managing all necessary 301 redirects served from HTTP protocol on port 80 to HTTPS protocol on port 443. The journey from a non-secured domain to a secured one is quite easy to implement with NGiNX and also very easy to maintain and renew in the future. This solution was tested using a CentOS 7 server but it […]

Category: General | Published: 06/04/2019 | Updated: 02/06/2019

Install vips, vips-tools and vips-devel (libvips) on CentOS 7

In this tutorial we will talk about how to install vips, vips-tools and vips-devel (libvips) on CentOS 7. These packages can be required for various reasons like for example during installation of some NodeJS packages like GraphQL. Vips tools and development packages can be easily obtained and installed from Remi repo, unfortunately by default these packages are not present on CentOS repos. So let’s start our short step by step tutorial tutorial about installing Vips on CentOS 7. Table of contents Install Epel repo Install yum-utils Install and enable Remi repo Install vips (libvips) Install Epel repo On our very […]

Category: General | Published: | Updated: 23/04/2019

Send email with Python and smtplib

Send email with Python and smtplib package is just another quick tutorial from Tufora where we will show you in just a few steps how easy is to use Python for sending emails from your applications. This solution uses no more than five lines of code and can be easily implemented within your Python application anytime being defined as a Python module using import statement or simply directly to your main application code. The code below has been tested using Python 3.7 but it can be easily adapted and used on older or newer versions as long the smtplib module […]

Category: Python | Published: 14/11/2018 | Updated: 22/07/2019

Yum fix duplicate error

Yum duplicate package error can occur anytime and most of the times when servers are under provisioned in terms of hardware capacity like RAM memory or even CPU. This can happen when a small server needs to perform multiple updates that requires more resources than usual making the update process almost impossible. Of course, failure is not an option and we will do our best to explain in this short tutorial how to fix yum duplicate errors by using yum-utils utility. So before we start our little journey fixing those yum errors we must say that this solution has been […]

Category: General | Published: | Updated: 14/11/2018

Python Try Except Statement

Python Try Except statement can help us to handle possible errors within our code, below we will explain its component and also how to use this Try Except Python statement in your code. Let’s try to understand how to use this Python statement and why is this so important in our day to day Python coding. Statement components The first block called try lets you test a block of code for any errors that may appear in your code. Second block called except will handle basically the error that may exist. The third block named finally it is optional and […]

Category: Python | Published: 12/11/2018 | Updated: 12/11/2018