Found 25 results

AWS Elastic Beanstalk Environment Scheduling

In this short tutorial we will learn about AWS Elastic Beanstalk Environment Scheduling using a simple Shell Script that can be used as part of a possible large automation project where for example you want to save some money on your bill by turning off and on let’s say specific environments that are not used between specific hours during weekdays or weekends for environments like Development, Staging or QA. This solution can be easily used for example being as a Cronjob on one of your management / admin servers or maybe simply as a Jenkins scheduled job, also can be […]

Category: AWS | Published: 18/04/2019 | Updated: 14/05/2019

Install Python from Source

Python is one of the most used programming language and in this tutorial we will show you how to install Python from source on a CentOS 7 operating system. We can safely say that Python, conceived in the late 1980s by Guido van Rossum, comes these days preinstalled on most Linux distributions. If it is not there by default then we can always install it, for example on CentOS we can get Python using yum utility but as we know that will not be the latest Python version available. We may have a new project that requires to be built […]

Category: General | Published: 09/04/2019 | Updated: 28/05/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

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

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: 10/08/2018 | Updated: 05/11/2018