Tutorials

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: 14/11/2018 | Updated: 14/11/2018

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

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

Setup an SFTP Server on CentOS

Set up an SFTP server on CentOS is our next tutorial where we will guide you as always, step by step, how to build from scratch such a server. We all agree that an SFTP server can be quite handy or sometimes a must if for example one or more applications within our stack requires file transfer between different processing steps or maybe for backups. In this tutorial we will learn how to build an SFTP server on CentOS 7 and OpenSSH 7.4 and also providing you two authentication solutions, first one being based on using basic password authentication and […]

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

Empty file content on Linux

Empty file content on Linux can be quite handy when for example you want to empty a small or a very big log file or any other similar files that could take long time to open, select all lines and finally remove these lines. We know is not so complex to go down this path but for sure is time consuming, too many operations we would say for such a simple task. This quick tutorial will show you ten easy ways how to empty a file on Linux without opening or editing files, nothing fancy or advanced stuff but as […]

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

Kubernetes Cluster setup on CentOS

Kubernetes Cluster setup on CentOS isn’t that difficult anymore as it used to be in the past where we had to perform some major OS changes in order to build a proper environment. In this short tutorial we will guide you step by step how to actually set up a simple Kubernetes Cluster based on CentOS 7.5 and Kubernetes 1.12.1. Exactly like any other cluster a Kubernetes Cluster must always have an odd number of nodes like 3, 5, 7 and so on but in this particular tutorial we will resume to use only 3 nodes, one master node and […]

Category: Docker | Published: 23/10/2018 | Updated: 02/10/2019