Found 14 results

NGiNX Traffic Split

NGiNX traffic split or traffic distribution can be very handy in various user cases, for example this can be used to improve security for our websites or web applications. In this particular tutorial we will show you how to make use of this great feature that comes with NGiNX by implementing a simple solution for traffic distribution in order to protect our backend web applications or maybe a websites by simply using two individual backend upstreams. Same traffic management principle using NGiNX, explained below, can be used for various other backend services and solutions within various stacks. Table of contents […]

Category: Security | Published: 03/07/2019 | Updated: 12/08/2019

Install MySQL 8 on CentOS 7

How to install MySQL 8 on CentOS 7 is our next quick tutorial where we will learn in just a few easy steps how to install and test latest MySQL 8 available – as of today – from Oracle on a CentOS 7 server by using only our terminal window. These days most of modern companies are using Cloud managed services for their databases, some of these with fancy names, different functions, speeds and sizes but sometimes we may have no other choice than to use the classic MySQL. Depending on the project requirements we may have to perform these […]

Category: General | Published: 14/05/2019 | Updated: 19/07/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

List users from multiple AWS accounts using Python

List users from multiple AWS accounts using Python is our next tutorial where we will learn how to access AWS APIs using Boto3 package and also how to use pprint package to list all results in a easy to read format, we heard about the term human readable too but we think is not the right way of saying it, at least not in this particular case. Please rest assured that we won’t talk or debate in this tutorial about what Cloud Hosting provider is the best or not and we will simply resume talking about how to get all […]

Category: Python | Published: 13/11/2018 | Updated: 14/11/2018

Rename MySQL Table

Rename MySQL table, sometimes we need to rename a table during a database update or for any other solid reason. In this short step by step guide we will show you how easy is to rename one or even more MySQL tables in a database using only MySQL client, the answer to “how do I rename a mysql table” question is right here in this short article. Please bear in mind that in our tutorial we have used MySQL 5.7 to rename tables but this solution could be easily applied even for lower or higher MySQL versions. As always, before […]

Category: MySQL | Published: 10/08/2018 | Updated: 07/11/2018

Access MySQL without password

Access MySQL without password locally may be sometimes needed and quite handy for various reasons like for example if you are a very passionate database developer or just occasionally doing DBA stuff and you desperately need to quickly access a specific database or table, can be quite annoying to type in your username and password each time you are using the console. In this very short tutorial we’ll talk about how to access MySQL without using a password locally via terminal window. We have tested this method using MySQL version 5.6 and 5.7 based on CentOS 7 operating system but […]

Category: MySQL | Published: | Updated: 05/11/2018