All Stories

Ansible user module and password hashing

As far as I know, there are two secure ways (discussable) you could include a password as part of the Ansible user module. Let’s go throught it.

In Ansible, Apr 28, 2022

Install Nslookup on Amazon Linux 2

The need of checking DNS records quickly, through the cli can be achieved with nslookup. Let’s see how to install Nslookup on Amazon Linux 2.

In DNS, Apr 27, 2022

Generate SHA512 password hash with a salt from the CLI

Personally, the only time I’ve been generating a SHA512 password hashes was when I was working with the Ansible builtin user module, sipmly because I needed to commit a password hash ...

In Linux, Apr 26, 2022

Install Docker Compose on Amazon Linux 2

Installing the latest version of Docker Compose on Amazon Linux 2 is a pretty simple and straightforward process if Docker is installed previously. Let’s see the steps needed.

In Docker, Apr 25, 2022

Nginx and 'using inherited sockets' notice

If you have been debugging and digging into the nginx logs, you might have stubled upon the following notice log message:2022/03/10 06:04:32 [notice] 31447#31447: using inherited sock...

In Nginx, Apr 24, 2022

Install Screen on Amazon Linux 2

Screen is a Linux utility that allows you to run and use multiple shell sessions from a single ssh session. It’s commonly used for migrating a bunch of data through an ssh connection....

In Screen, Apr 23, 2022

Resolve pip install connection error: ceritificate validate failed

In one of my previous pip posts I wrote about how to Resolve pip install package_name error: Couldn’t find a version that satisfies the requirement, and today we are going to fix anot...

In Python, Apr 22, 2022

Install Redis CLI on Amazon Linux 2

Redis-CLI is a useful Terminal program that allows you to execute Redis commands, either on your local Redis or some remote Redis endpoint. Here I’m gonna show you how to install redi...

In Redis, Apr 21, 2022

Resolve Docker's 'Version in docker-compose.yml is unsupported' error

Let’s take a look at the not so common Docker Compose error:"Configuration error - Version in "./docker-compose.yml" is unsupported.You might be seeing this error because you're using...

In Docker, Apr 20, 2022

Install SCP on Amazon Linux 2

SCP is one of the most common tool for transferring files between remote and local machines. It can be also used for moving files or directories within the same machine. It uses a min...

In SCP, Apr 19, 2022