All Stories

JSON to plain text using JQ

JSON stands for JavaScript Object Notation and represents easy-to-read lightweight data format. And jq is basically described as sed for JSON data, hence used for JSON data parcing. H...

In JSON, Mar 09, 2022

How to resolve Nginx 'an upstream response is buffered to a temporary file'

After connecting Nginx with ELK stack to handle requests I spot a lot of an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/9/66/00000034785 while read...

In Nginx, Mar 08, 2022

How To Uninstall Packages with Brew including all its dependencies

Homebrew, or shortly brew is the most popular package manager for MacOS. And, if you don’t know already, package managers are software tools used for managing apps on our local machin...

In Homebrew, Mar 07, 2022

How to restart processes with Kill in Linux

You may ask yourself why using kill command to restart processes when here is systemctl. But some of you will get stuck in a position where you will not be able to restart some stuck ...

In Linux, Mar 06, 2022

How to Attach AWS Managed Policy to an IAM Role in Terraform

AWS Managed Policies are IAM policies created and managed by AWS. Today I’m going to show you how to attach a managed policy in Terraform.

In Terraform, Mar 05, 2022

Where to find Stored Syslog Messages

When it comes to Syslog messages in Linux it’s important to know that they are handled by two services: systemd-journald daemon - gathers all the messages from the kernel including b...

In Linux, Mar 04, 2022

Multiple Docker Compose files in the same directory

Having multiple docker-compose files in the same directory cleary is not a good idea, although I could see the use case if you are working on multiple different projects with custom d...

In Docker, Mar 03, 2022

Fix 'fallocate failed: Operation not supported'

While creating a swap on your linux machine, executing sudo fallocate -l 1G /swap-file-name may throw fallocate failed: Operation not supported. Here I’m gonna show you a quick fix fo...

In Linux, Mar 02, 2022

vars_files vs include_vars in Ansible

In the last Ansible post I’ve noted that there’s a difference when choosing between vars_files and include_vars. So, let’s explore the differences on a surface level.

In Ansible, Mar 01, 2022

How to install Podman on Ubuntu 21.10

In this tutorial, I’m going to show how to install Podman on Ubuntu 21.10 using the default Ubuntu 21.10 packages. Previously we clarified that installing Podman with the default Ubun...

In Podman, Feb 28, 2022