Tags

azure

Get Azure AD Microsoft Graph API Delegated / Application permission IDs in Terraform

Getting Microsoft Graph API Delegated and Application permission IDs are definitely hard to find, if you are doing things right – the programmatic way.

In Terraform, Azure, Jul 31, 2022

User-assigned vs System-assigned Managed Identities in Azure

In one of the last Azure posts, I wrote about the differences between Service Principal and Managed Identities. Since there are two types of MIs – User-assigned and System-assigned, I...

In Azure, Jul 29, 2022

Service Principal vs Managed Identities in Azure

Two more arguably confusing identity objects in Azure AD – Service Principal and Managed Identities. Let’s tackle them down by defining what they are and how they distinguish from eac...

In Azure, Jul 27, 2022

App Registrations vs Enterprise Applications in Azure AD

There are two important things to differentiate when registering and working with apps in Azure AD: App Registrations and Enterprise Applications.

In Azure, Jul 23, 2022

Grant Azure AD Admin Consent programmatically (with Terraform)

Admin Consent by definition enables granting access to Azure-registered applications that requires admin approval securely.

In Azure, Terraform, Jun 25, 2022

'could not configure AzureCli Authorizer: could not parse Azure CLI version' error in Terraform

As I continue on my Terraform issues resolving journey, I want to share yet another not quite common TF issue.

In Terraform, May 22, 2022

Enable HTTP/2 for Azure App Service

HTTP/2 was released in 2015 (7 years ago) which is faster and more reliable than HTTP1. In this post I’m going to show you how easy it can get to upgrade from HTTP1 to HTTP2 for Azure...

In Azure, HTTP, Mar 25, 2022

Enable HTTPS redirection in Azure Functions

HTTPS redirection are quite common these days from security and SEO viewpoint. Today’s topic going to be about how to enable the redirection in Azure Functions.

In Azure, HTTP, Mar 21, 2022

Save data transfer costs with Cloudflare and Azure

Cloudflare Bandwidth Alliance represents a group of cloud and network providers that are willing to help us as their customers to reduce our data transfer charges. It’s interesting to...

In Azure, Cloudflare, Mar 15, 2022

How to get regional Azure public IP address ranges

Public Azure cloud IP ranges and service tags could be important thing when working with services and NSGs (Network Security Groups). The list could be downloaded as a JSON file in a ...

In Azure, Jan 12, 2022

Configure auto logout from the Azure Portal

In case you didn’t know by now, Azure Portal offers a decent amount of customization, including option to auto logout after a period of time.

In Azure, Jan 08, 2022

How to find the latest Azure deployment template schema API version

Using the latest ARM templates schema API version is important only when provisioning new resources. In general, there is no need to keep up-to-date API version of the already deploye...

In Azure, Nov 17, 2021

Get a list of all Azure regions available

Speaking of Azure regions and locations, very often we think of the commercial Azure cloud, since there is Azure Government, which basically represents a completely isolated Azure clo...

In Azure, Nov 15, 2021

Ways to provision infrastructure on Azure

Last week I wrote about the different Ways to Provision Infrastructure on AWS, and as you might expect I’m doing another one, but this time it’s all Azure.

In Azure, Nov 01, 2021

5 ways to protect root account in the Cloud

Security as one of the Five Pillars of the Well-Architected Framework has been underlooked, not just in the age of the cloud computing but before that as well. With cloud migration be...

In Cloud, Oct 12, 2021

Service Endpoints vs Private Links in Azure

Microsoft Azure provides many options to approach networking, starting from Azure VPN, ExpressRoute, Azure Route Server, NVAs, and others. These are more likely to be implemented in t...

In Azure, Oct 10, 2021

7 ways to save money in the Cloud

Cost optimization is just one of the five pillars of Well-Architected Framework, which is identical across the top 3 public cloud provider players. Although, deploying a billing alarm...

In Cloud, Oct 02, 2021

Azure VMs Auto-shutdown

Talking about VMs shutdown operation, we got few ways we could do it in Azure: Stop VMs manually from the Portal. Running the az CLI command, described in How to easily Start, Stop,...

In Azure, Sep 08, 2021

Scale AKS user node pool to 0

In case you missed Configure AKS automatic upgrades.In today’s post, we are going to see how can we be cost-effective, by scaling the User node pool to 0.

In Azure, Kubernetes, Sep 06, 2021

Schedule automated Start and Stop for Azure VMs

Scheduling automated start and stop for Azure VMs is almost as good as provisioning and deprovisioning infrastructure on-demand, by using Infrastructure as Code (IaC) tools, like Terr...

In Azure, Sep 04, 2021

Configure AKS automatic upgrades

Regarding managed Kubernetes services, IMHO Azure provides the best cloud experience, for a couple of reasons. From authentication and authorization standpoint, AKS integrates well wi...

In Azure, Kubernetes, Sep 01, 2021

Configure Azure CLI automatic upgrades

As part of the Azure CLI series, today we are going to see how we can configure automatic upgrades.

In Azure, Aug 31, 2021

How to upload files to Azure Cloud Shell

As the name says, Azure Cloud Shell is a browser-accessible shell, which is used for managing Azure resources. It comes with two types of command shells Bash and PowerShell. It also g...

In Azure, Nov 27, 2019

How to easily Start, Stop, Restart or Delete Azure VMs

Managing Azure Virtual Machines through the Portal could be pretty straightforward. But, it requires multiple steps using the GUI. For example, you’ll have to login to the Portal firs...

In Azure, Oct 28, 2019

How to backup and restore an Azure SQL database using Azure CLI

You cannot think of a SQL Server Administration or any kind of relational and non-relational database administration without the two magic words: backup and restore. Backing up a data...

In Azure, Oct 17, 2019

How to rename an Azure SQL database using Azure CLI

As a part of an Azure SQL Database administration series, this post will be a followup from the last one, where I will write about renaming Azure SQL databases, which is kind of a com...

In Azure, Oct 14, 2019

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that I’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In Azure, Oct 13, 2019

How to Direct-Upload to Azure Managed Disks

A few days ago, Microsoft announced the preview of direct-upload to Azure Managed Disks. So, there are two ways you could move a VHD to the Azure cloud as a managed disk: Upload the ...

In Azure, Oct 08, 2019

How to restore deleted Azure Storage Blobs

Accidental deletion of files can happen to anyone working either on-premise or in the cloud. As a DevOps engineer who is responsible for managing access permissions to resources, the ...

In Azure, Oct 04, 2019

How to copy from AWS S3 bucket to Azure Blob Storage

When we mention public cloud and DevOps, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...

In Azure, AWS, Oct 03, 2019

Generate SAS token for blobs in Azure storage using Azure CLI

A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...

In Azure, Oct 01, 2019

Install Azure CLI 2.0 on macOS with Homebrew

Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and auto...

In Azure, macOS, Sep 24, 2019

azure cli

'could not configure AzureCli Authorizer: could not parse Azure CLI version' error in Terraform

As I continue on my Terraform issues resolving journey, I want to share yet another not quite common TF issue.

In Terraform, May 22, 2022

Get a list of all Azure regions available

Speaking of Azure regions and locations, very often we think of the commercial Azure cloud, since there is Azure Government, which basically represents a completely isolated Azure clo...

In Azure, Nov 15, 2021

Ways to provision infrastructure on Azure

Last week I wrote about the different Ways to Provision Infrastructure on AWS, and as you might expect I’m doing another one, but this time it’s all Azure.

In Azure, Nov 01, 2021

Scale AKS user node pool to 0

In case you missed Configure AKS automatic upgrades.In today’s post, we are going to see how can we be cost-effective, by scaling the User node pool to 0.

In Azure, Kubernetes, Sep 06, 2021

Configure AKS automatic upgrades

Regarding managed Kubernetes services, IMHO Azure provides the best cloud experience, for a couple of reasons. From authentication and authorization standpoint, AKS integrates well wi...

In Azure, Kubernetes, Sep 01, 2021

Configure Azure CLI automatic upgrades

As part of the Azure CLI series, today we are going to see how we can configure automatic upgrades.

In Azure, Aug 31, 2021

How to upload files to Azure Cloud Shell

As the name says, Azure Cloud Shell is a browser-accessible shell, which is used for managing Azure resources. It comes with two types of command shells Bash and PowerShell. It also g...

In Azure, Nov 27, 2019

How to easily Start, Stop, Restart or Delete Azure VMs

Managing Azure Virtual Machines through the Portal could be pretty straightforward. But, it requires multiple steps using the GUI. For example, you’ll have to login to the Portal firs...

In Azure, Oct 28, 2019

How to backup and restore an Azure SQL database using Azure CLI

You cannot think of a SQL Server Administration or any kind of relational and non-relational database administration without the two magic words: backup and restore. Backing up a data...

In Azure, Oct 17, 2019

How to rename an Azure SQL database using Azure CLI

As a part of an Azure SQL Database administration series, this post will be a followup from the last one, where I will write about renaming Azure SQL databases, which is kind of a com...

In Azure, Oct 14, 2019

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that I’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In Azure, Oct 13, 2019

How to Direct-Upload to Azure Managed Disks

A few days ago, Microsoft announced the preview of direct-upload to Azure Managed Disks. So, there are two ways you could move a VHD to the Azure cloud as a managed disk: Upload the ...

In Azure, Oct 08, 2019

Generate SAS token for blobs in Azure storage using Azure CLI

A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...

In Azure, Oct 01, 2019

Install Azure CLI 2.0 on macOS with Homebrew

Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and auto...

In Azure, macOS, Sep 24, 2019

macos

Find non-ASCII characters in macOS

In these modern days, ASCII as a character encoding standard is a subset of UTF-8. As for the other OS-related posts refer to: Find non-ASCII characters in Linux Find non-ASCII char...

In macOS, May 28, 2022

Install macOS software updates from the Terminal

Working on macOS usually requires a manual intervention when applying the latest software updates. This could easily be done from the Terminal, as shown below.

In macOS, Apr 02, 2022

Install Go on macOS

Go, also known as Golang is a popular open source programming language developed by Google and used for general purpose. Although the official macOS installation supports downloading ...

In Golang, macOS, Mar 31, 2022

Check system uptime in Linux macOS and Windows from the command line

The following commands will help you find the system uptime for Linux, macOS and Windows in the easiest way possible, from the command line.

In Linux, macOS, Windows, Mar 23, 2022

How to install bc on Linux macOS and Windows

bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...

In Utilities, Linux, macOS, Windows, Mar 19, 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 macOS, Linux, Mar 07, 2022

How to flush the DNS cache from the CLI

Clearing the DNS cache usually fixes issues related to not resolving new or updated existing domain records. Let’s see how it’s done from the command line though.

In DNS, Feb 25, 2022

Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8

Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.

In Docker, Feb 18, 2022

base64 encode and decode from the CLI

Base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability, ...

In Utilities, Jan 30, 2022

How to download files with curl

curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...

In Linux, macOS, Dec 01, 2021

How to shutdown and restart macOS from the Terminal

As a DevOps engineers, we must get used to running commands from the Terminal. Let’s see how easy and fast we can shutdown and restart a macOS machine after long day of work.

In macOS, Nov 29, 2021

Which shell am I using - how to check

Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, or suchlike. This time I’ll be focusing on how to find out which shell you are using, which is t...

In Shell, Nov 21, 2021

How to reload shell session

In order to update and see changes made in the shell environment, most of the time reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comman...

In Shell, Nov 19, 2021

How to install Apple Command Line Tools

Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for macOS. The installation is a one-liner, so let’s just jump right into it.

In macOS, Nov 13, 2021

Install Visual Studio Code on macOS

VSCode is considered as one of the most used code editors nowadays. In this brief tutorial, I will show you how to install it on macOS using Homebrew.

In VSCode, macOS, Nov 04, 2021

Install Skype on macOS

Skype as a world-known VoIP based software can be installed in multiple ways on macOS. Today I’m going to pick up one of the preferable ways of doing it, which is the easiest and the ...

In macOS, Oct 31, 2021

Install Ruby on macOS

There are four ways to install Ruby on all computing platforms, including package management systems, installers, managers, and of course building from source. RVM as a Ruby version m...

In Ruby, macOS, Oct 30, 2021

How to install kubectl on macOS

Kubectl stands as a powerful command-line tool which allows you to control your Kubernetes clusters. The main role of kubectl is to deploy applications, manage your cluster recourses,...

In macOS, Kubernetes, Jul 22, 2021

How to install PowerShell on macOS

As a DevOps engineer, most likely we would prefer to work with our cool and comfy MacBook Pros. And if you are working with Azure, you will most probably need to install PowerShell at...

In PowerShell, macOS, Jul 16, 2021

How to fix 'kernel driver not installed (rc=-1908)' error on macOS

The first time you try to spin up a VM on macOS, you will probably go with VirtualBox as a Hypervisor, and honestly VBox is pretty good for beginners who just want to get the things d...

In macOS, Virtualization, Jul 07, 2021

Install Azure CLI 2.0 on macOS with Homebrew

Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and auto...

In Azure, macOS, Sep 24, 2019

brew

Install Go on macOS

Go, also known as Golang is a popular open source programming language developed by Google and used for general purpose. Although the official macOS installation supports downloading ...

In Golang, macOS, Mar 31, 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 macOS, Linux, Mar 07, 2022

How to download files with curl

curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...

In Linux, macOS, Dec 01, 2021

Install Visual Studio Code on macOS

VSCode is considered as one of the most used code editors nowadays. In this brief tutorial, I will show you how to install it on macOS using Homebrew.

In VSCode, macOS, Nov 04, 2021

Install Skype on macOS

Skype as a world-known VoIP based software can be installed in multiple ways on macOS. Today I’m going to pick up one of the preferable ways of doing it, which is the easiest and the ...

In macOS, Oct 31, 2021

Install Ruby on macOS

There are four ways to install Ruby on all computing platforms, including package management systems, installers, managers, and of course building from source. RVM as a Ruby version m...

In Ruby, macOS, Oct 30, 2021

How to install kubectl on macOS

Kubectl stands as a powerful command-line tool which allows you to control your Kubernetes clusters. The main role of kubectl is to deploy applications, manage your cluster recourses,...

In macOS, Kubernetes, Jul 22, 2021

How to install PowerShell on macOS

As a DevOps engineer, most likely we would prefer to work with our cool and comfy MacBook Pros. And if you are working with Azure, you will most probably need to install PowerShell at...

In PowerShell, macOS, Jul 16, 2021

Install Azure CLI 2.0 on macOS with Homebrew

Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and auto...

In Azure, macOS, Sep 24, 2019

zsh

Find non-ASCII characters in macOS

In these modern days, ASCII as a character encoding standard is a subset of UTF-8. As for the other OS-related posts refer to: Find non-ASCII characters in Linux Find non-ASCII char...

In macOS, May 28, 2022

Install macOS software updates from the Terminal

Working on macOS usually requires a manual intervention when applying the latest software updates. This could easily be done from the Terminal, as shown below.

In macOS, Apr 02, 2022

Install Go on macOS

Go, also known as Golang is a popular open source programming language developed by Google and used for general purpose. Although the official macOS installation supports downloading ...

In Golang, macOS, Mar 31, 2022

Check system uptime in Linux macOS and Windows from the command line

The following commands will help you find the system uptime for Linux, macOS and Windows in the easiest way possible, from the command line.

In Linux, macOS, Windows, Mar 23, 2022

How to install bc on Linux macOS and Windows

bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...

In Utilities, Linux, macOS, Windows, Mar 19, 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 macOS, Linux, Mar 07, 2022

Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8

Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.

In Docker, Feb 18, 2022

How to download files with curl

curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...

In Linux, macOS, Dec 01, 2021

How to shutdown and restart macOS from the Terminal

As a DevOps engineers, we must get used to running commands from the Terminal. Let’s see how easy and fast we can shutdown and restart a macOS machine after long day of work.

In macOS, Nov 29, 2021

Which shell am I using - how to check

Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, or suchlike. This time I’ll be focusing on how to find out which shell you are using, which is t...

In Shell, Nov 21, 2021

How to reload shell session

In order to update and see changes made in the shell environment, most of the time reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comman...

In Shell, Nov 19, 2021

How to install Apple Command Line Tools

Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for macOS. The installation is a one-liner, so let’s just jump right into it.

In macOS, Nov 13, 2021

Install Visual Studio Code on macOS

VSCode is considered as one of the most used code editors nowadays. In this brief tutorial, I will show you how to install it on macOS using Homebrew.

In VSCode, macOS, Nov 04, 2021

Install Skype on macOS

Skype as a world-known VoIP based software can be installed in multiple ways on macOS. Today I’m going to pick up one of the preferable ways of doing it, which is the easiest and the ...

In macOS, Oct 31, 2021

Install Ruby on macOS

There are four ways to install Ruby on all computing platforms, including package management systems, installers, managers, and of course building from source. RVM as a Ruby version m...

In Ruby, macOS, Oct 30, 2021

How to install kubectl on macOS

Kubectl stands as a powerful command-line tool which allows you to control your Kubernetes clusters. The main role of kubectl is to deploy applications, manage your cluster recourses,...

In macOS, Kubernetes, Jul 22, 2021

How to install PowerShell on macOS

As a DevOps engineer, most likely we would prefer to work with our cool and comfy MacBook Pros. And if you are working with Azure, you will most probably need to install PowerShell at...

In PowerShell, macOS, Jul 16, 2021

Install Azure CLI 2.0 on macOS with Homebrew

Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and auto...

In Azure, macOS, Sep 24, 2019

shell

Install Telnet on Alpine Linux

Having Telnet within the Alpine Docker image can be useful in terms of quickly checking the connection between your services, like Redis, etc. So, here you can find how to install Tel...

In Telnet, Alpine Linux, Aug 09, 2022

Get current folder name in Linux without full path

As you may already know getting the relative path in Linux can be easily achieved by typing the command pwd in your terminal. You may be wondering how to get only the current working ...

In Linux, Aug 07, 2022

Install Vim on Alpine Linux

As an improved version of vi, Vim is the most used text editor for the server based environment. Today the aim is to install vim on Alpine Linux.

In Text editors, Alpine Linux, Aug 05, 2022

Install Traceroute on Alpine Linux

Discovering the network packet paths or troubleshooting the connectivity issues can be easily achieved with traceroute. Today’s aim is to install traceroute on Alpine Linux.

In Utilities, Alpine Linux, Aug 03, 2022

Install Certbot on Alpine Linux

Generating an SSL certificate using Alpine Linux can be easily done through Certbot. So let’s see how to install Certbot on Alpine Linux.

In Certbot, Alpine Linux, Aug 01, 2022

Install HAProxy on Alpine Linux

Creating an isolated proxy microservice can be easily achieved with the Alpine Linux Docker image and HAProxy. It can act as both proxy container or load balancer depending on the nee...

In Proxy, Alpine Linux, Jul 30, 2022

Install Ruby on Alpine Linux

Installing Ruby on Alpine Linux comes fairly quick and easy as it exists within the apk package manager. Let’s jump on the crux.

In Ruby, Alpine Linux, Jul 28, 2022

Install Redis on Alpine Linux

Redis CLI is a part of the official Alpine apk packages, so it’s quick and easy to set it up. Here I’m going to show you how to install Redis CLI on Alpine Linux.

In Redis, Alpine Linux, Jul 22, 2022

Top command not found on Debian-based Docker container

Some of your Docker Debian-based containers can be killed due to heavy processes running inside the container. If your preferred choice is the top command, most likely you will get th...

In Utilities, Docker, Debian, Jul 20, 2022

Install UFW on Alpine Linux

Protecting your Alpine Docker images is always a good practice, especially the vulnerable services. Today, I will install UFW on Alpine Linux.

In Firewalls, Alpine Linux, Jul 16, 2022

Show full history in PowerShell

PowerShell’s Get-History only lists the current session history. Now, I’m going to share with you a quick nugget on how to show the full history from all sessions.

In PowerShell, Jul 15, 2022

Install Traceroute on Amazon Linux 2

Traceroute is a suitable option in a situation where you need to troubleshoot some network connection issues. The tool displays all the possible routes and packet loss over the Intern...

In Utilities, AWS, Amazon Linux 2, Jul 12, 2022

Install Node.js on Alpine Linux

Setting up a Node.js environment for development on Alpine Linux is quite easy and simple. So let’s see how to install Node.js with NPM on Alpine Linux.

In Node.js, Alpine Linux, Jul 08, 2022

Install Ansible on Alpine Linux

The Ansible installation on Alpine Linux can be achieved easily and quickly through the official Alpine packages.

In Ansible, Alpine Linux, Jul 06, 2022

Install Apache on Alpine Linux

Using Apache with Alpine Linux can be a suitable combination, because Apache comes with a lot of modules that can be useful for your application. Let’s see how to install Apache on Al...

In Apache, Alpine Linux, Jul 02, 2022

Install Nginx on Alpine Linux

Installing Nginx on Alpine Linux can be achieved easily, as it’s part of the official Alpine packages. Let’s take a look.

In Nginx, Alpine Linux, Jun 30, 2022

Resolve KernelCare `Error unpatching [255] ('default', '', '', False)` issue

Updating the latest security and stability patches using KernelCare it’s a safe and recommended way, but sometimes it can throw Error unpatching [255] ('default', '', '', False) error...

In Linux, Jun 28, 2022

Install Fluent Bit on Amazon Linux 2

Same as Fluentd, Fluent Bit doesn’t belong in the official Amazon Linux yum repositories as well. The installation will be pretty much the same through fluent bit shell script. So let...

In Logging, AWS, Amazon Linux 2, Jun 26, 2022

Install Fluentd on Amazon Linux 2

Fluentd is one of the most popular open-source projects, used for gathering logs from a set of sources and forwarding them to other monitoring software. Here I’m going to show you how...

In Logging, AWS, Amazon Linux 2, Jun 24, 2022

Escape PowerShell's double quotes in Terraform

To my Windows-PowerShell-Terraform-Azure users out there, I just want to share a quick nugget on how to escape the annoying double quotes.

In Terraform, PowerShell, Jun 23, 2022

Install Exim on Alpine Linux

If there is a need for a simple and minimalistic mail transfer agent on Alpine then Exim is a decent choice. Let’s install Exim on Alpine Linux.

In SMTP, Alpine Linux, Jun 22, 2022

Install Git on Alpine Linux

Previously git was not included in the official alpine packages. As the new Alpine versions are released, there are improvements of course. So now git is a part of the Alpine packages...

In Git, Alpine Linux, Jun 20, 2022

Install PHP 8 on Alpine Linux

The PHP 8 installation on Alpine Linux can be achieved in a few steps. Let’s do it.

In PHP, Jun 18, 2022

Install SCP on Alpine Linux

SCP as a useful transfer tool can be easily installed on Alpine Linux. Let’s see the steps needed.

In Utilities, Alpine Linux, Jun 16, 2022

Install Podman Compose on Alpine Linux

If you plan to deal with Podman Compose on Alpine Linux I will show you the installation part. The aim of this tutorial is to show you how to install Podman Compose on Alpine Linux.

In Podman, Alpine Linux, Jun 14, 2022

Install Podman on Alpine Linux

Podman, as a decent Docker replacement has support from the Alpine community repository and can be installed as a podman package. Let’s see how to install Podman on Alpine Linux.

In Podman, Alpine Linux, Jun 12, 2022

Install Rsync on Alpine Linux

How can you remotely sync or transfer files? Of course, rsync is here to help even if you want to include it within the Alpine docker container. Let’s see how to install Rsync on Alpi...

In Utilities, Alpine Linux, Jun 10, 2022

Terraform ./init.sh script for AWS backend state

terraform init initialize the current Terraform working directory. I guess it does a lot under the hood which unfortunately won’t be the topic for today. Instead, I’ll share with you ...

In Terraform, AWS, Jun 09, 2022

Install jq on Alpine Linux

Yet another quick and easy jq installation on Alpine Linux. You can use it as a part of your Dockerfile as well.

In Utilities, Alpine Linux, Jun 08, 2022

Install Zip And Unzip on Alpine Linux

Here I’m going to show you how to install zip and unzip on Alpine Linux which is quite quick and easy :)

In Archive, Jun 06, 2022

Install Terraform on Alpine Linux

As a small distro Alpine Linux doesn’t have huge support regarding the APK Alpine system manager package. So today I’ve decided to show you how to install Terraform on Alpine Linux.

In Terraform, Alpine Linux, Jun 04, 2022

Install AWS CLI on Amazon Linux 2

Managing some AWS services through AWS CLI can be useful and practical, especially when you need to perform some quick actions like listing active resources or troubleshooting. Here I...

In AWS, Amazon Linux 2, Jun 02, 2022

Install PHP Composer on Amazon Linux 2

Using PHP on Amazon Linux 2 can potentially require a composer installation for some libraries. Installing Composer on Amazon Linux 2 is a quick and easy procedure. Let’s see it.

In PHP, AWS, Amazon Linux 2, May 31, 2022

Install Telnet on Amazon Linux 2

As a useful tool Telnet can help you to troubleshoot some connectivity problems, access specific port and also offers a lot of other useful stuff as well. The installation is simple a...

In Telnet, AWS, Amazon Linux 2, May 29, 2022

Find non-ASCII characters in macOS

In these modern days, ASCII as a character encoding standard is a subset of UTF-8. As for the other OS-related posts refer to: Find non-ASCII characters in Linux Find non-ASCII char...

In macOS, May 28, 2022

Install PHP 8.1 on Amazon Linux 2

If you want to hang out with the latest major update of PHP, then you should definitely try to install PHP 8.1 on Amazon Linux 2. Let’s do it.

In PHP, AWS, Amazon Linux 2, May 27, 2022

Find non-ASCII characters in Linux

ASCII as a character encoding standard that use numbers to represent characters. The original ASCII code range is 0 - 127 (7 bits) which represents the english character set including...

In Linux, May 26, 2022

Install tar on Amazon Linux 2

Yet another free cool tool for archiving files, is tar. I’m going to stick to the title itself and show you how to install tar on Amazon Linux 2.

In Archive, AWS, Amazon Linux 2, May 25, 2022

Install Zip and Unzip on Amazon Linux 2

Although the usage of zip and unzip is very simple there is at least one moment in our life when we are forced to use them. It may happen when you are migrating a website or some data...

In Archive, AWS, Amazon Linux 2, May 23, 2022

Fix VPN `Connection failed` after upgrade to Ubuntu 22.04

Since the Ubuntu 22.04 version has been released, there were a lot of rumors that there is a big improvement in terms of the Ubuntu style and features, so I decided to upgrade it. Aft...

In VPN, Ubuntu, May 21, 2022

Install Podman Compose on Ubuntu 22.04

As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m going to show you three ways on how to install Podman Compose on U...

In Podman, Ubuntu, May 19, 2022

Install jq on Amazon Linux 2

jq one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...

In Parsing, AWS, Amazon Linux 2, May 17, 2022

Install Telnet on CentOS 9 Stream

Telnet as a useful tool, allows you to establish a connection or check whether some connection is allowed or not. Here I’m going to show you how to install Telnet on CentOS 9 Stream, ...

In Telnet, CentOS, May 15, 2022

Install Java on CentOS 9 Stream

As a Java developer on the new CentOS 9 Stream OS, you may wonder how to set up your java environment. The installation of Java on CentOS 9 Stream can be achieved in a few steps. Let’...

In Java, CentOS, May 13, 2022

Get Windows 10 version number from the CLI

Today’s topic going to be all about the multiple way to get the version number for Windows 10. Even though there’s a dozen ways to do it, I’m going to stick to the most basic ones wit...

In Windows 10, May 12, 2022

Get memory page size in Linux

Memory page, virtual memory page, or just page is the smallest block of memory unit in terms of memory management. The page size is determined by the hardware to be exact the processo...

In Linux, May 10, 2022

Install Podman Compose on Debian 11

The growth and use of Podman is really raging higher and higher. I hope one day it will be on the same level as Docker is today. Now, assuming that you have Podman installed on Debian...

In Podman, Debian, May 09, 2022

Install Redis on CentOS 9 Stream

Redis is the most popular and most used cache, message broker, and in-memory key value database store service nowadays. So today I’m going to show you how to install Redis on CentOS 9...

In Redis, May 07, 2022

Install Nginx on CentOS 9 Stream

Nginx is one of the most used web servers nowadays and can be easily installed on the new CentOS 9 Stream OS. Let’s see how to install Nginx on CentOS 9 Stream and enable the HTTP and...

In Nginx, CentOS, May 05, 2022

Install Postfix on Amazon Linux 2

Besides Exim, Postfix is another useful and free mail transfer agent that is under IBM public license. The installation is easy and simple so let’s see how to install Postfix on Amazo...

In SMTP, AWS, Amazon Linux 2, May 03, 2022

PowerShell equivalent of the touch command in Linux

There might be a point in your IT career where you need to switch to a Windows OS dev machine whatever you like it not because the CTO decided to put all eggs in the Microsoft Azure b...

In PowerShell, May 02, 2022

Install Exim on Amazon Linux 2

Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.

In SMTP, AWS, Amazon Linux 2, May 01, 2022

Install dig on Amazon Linux 2

Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.

In DNS, AWS, Amazon Linux 2, Apr 29, 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, AWS, Amazon Linux 2, 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 ansible.builtin.user module, simply because I needed to commit a password hash for ...

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, AWS, Amazon Linux 2, Apr 25, 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 Utilities, AWS, Amazon Linux 2, Apr 23, 2022

Install Redis 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 going to show you how to install R...

In Redis, AWS, Amazon Linux 2, Apr 21, 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 Utilities, AWS, Amazon Linux 2, Apr 19, 2022

Install Rsync on Amazon Linux 2

Sending files, and directories remotely can be achieved with a lot of utility tools. One of them is Rsync, which is a cool tool for remote transfer. Let’s see how to install it on Ama...

In Utilities, AWS, Amazon Linux 2, Apr 17, 2022

Install Terragrunt on Amazon Linux 2

One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...

In Terragrunt, AWS, Amazon Linux 2, Apr 15, 2022

Install openfortivpn on Amazon Linux 2

openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.

In VPN, AWS, Amazon Linux 2, Apr 14, 2022

Install HAProxy on Amazon Linux 2

HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s se...

In Proxy, AWS, Amazon Linux 2, Apr 13, 2022

How to set up SSH keys on Amazon Linux 2

While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...

In SSH, AWS, Amazon Linux 2, Apr 11, 2022

spawn, expect and send commands in Linux

spawn, expect and send commands are usually part of SSH bash scripts. So, I’m going to briefly explain them, starting with expect since the rest of them are part of it.

In Linux, Apr 10, 2022

Install Node.js on Amazon Linux 2

Node.js doesn’t exist in the default Amazon Linux 2 yum packages. So we should add the Node.js official repo and use it for the installation. Let’s see how to install Node.js on Amazo...

In Node.js, AWS, Amazon Linux 2, Apr 09, 2022

Enable EPEL on Amazon Linux 2

Using EPEL package repository can be very beneficial. EPEL contains all the common packages that you may want to install. Unfortunately, EPEL is disabled in Amazon Linux 2. Let’s see ...

In AWS, Amazon Linux 2, Apr 07, 2022

Install VestaCP on Amazon Linux 2

Managing your AWS ec2 instance with VestaCP comes easier if you are not familiar with Linux. Here I’m going to tell you how to install VestaCP on Amazon Linux 2.

In Control Panels, AWS, Amazon Linux 2, Apr 05, 2022

Install VestaCP on Debian 11

VestaCP is a free and open-source control panel based on PHP and Bash. It’s a lightweight and easy to use control panel which can save you a lot of time and money especially if you ar...

In Control Panels, Apr 03, 2022

Install macOS software updates from the Terminal

Working on macOS usually requires a manual intervention when applying the latest software updates. This could easily be done from the Terminal, as shown below.

In macOS, Apr 02, 2022

How to install Go on Amazon Linux 2

Installing Golang on Amazon Linux 2 can be done within a few minutes since Go exists in the default Amazon Linux 2 yum packages. Let’s dive into it.

In Golang, AWS, Amazon Linux 2, Apr 01, 2022

Install Go on macOS

Go, also known as Golang is a popular open source programming language developed by Google and used for general purpose. Although the official macOS installation supports downloading ...

In Golang, macOS, Mar 31, 2022

How to install SQLite on Amazon Linux 2

SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...

In SQLite, AWS, Amazon Linux 2, Mar 30, 2022

Check for read-only filesystem in Linux

In today’s post we are going to find out how to check for read-only filesystem in Linux from the CLI.

In Linux, Mar 29, 2022

Check last reboot time in Linux

In today’s post we are going to find out the last reboot time in Linux from the CLI.

In Linux, Mar 27, 2022

Check system uptime in Linux macOS and Windows from the command line

The following commands will help you find the system uptime for Linux, macOS and Windows in the easiest way possible, from the command line.

In Linux, macOS, Windows, Mar 23, 2022

How to install bc on Linux macOS and Windows

bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...

In Utilities, Linux, macOS, Windows, Mar 19, 2022

How to install Ruby on Amazon Linux 2

If you want to develop ruby application using some ruby frameworks like Ruby on Rails, Padrino, etc., on Amazon Linux 2 you will have to install ruby as a dependency. This topic will ...

In Ruby, AWS, Amazon Linux 2, Mar 16, 2022

How to install Kubectl on Amazon Linux 2

Installing the kubectl from the official Red Hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...

In Kubernetes, AWS, Amazon Linux 2, Mar 14, 2022

How to install OpenVPN on Amazon Linux 2

If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...

In VPN, AWS, Amazon Linux 2, Mar 12, 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 macOS, Linux, 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

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 going to show you a quick fix...

In Linux, Mar 02, 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, Ubuntu, Feb 28, 2022

How to install Redis on Ubuntu 21.10

Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.

In Redis, Ubuntu, Feb 26, 2022

How to flush the DNS cache from the CLI

Clearing the DNS cache usually fixes issues related to not resolving new or updated existing domain records. Let’s see how it’s done from the command line though.

In DNS, Feb 25, 2022

MySQL fix: 'Waiting for table metadata lock'

Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m going to list some useful solutions that might help you.

In MySQL, Feb 24, 2022

How to install Docker Compose on Ubuntu 21.10

This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.

In Docker, Ubuntu, Feb 22, 2022

How to install Nginx on Ubuntu 21.10

Since Ubuntu 21.10 has been released there was an immediate interest in using it as an OS Server. In this tutorial, we are going to see how to install Nginx on Ubuntu 21.10.

In Nginx, Ubuntu, Feb 20, 2022

Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8

Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.

In Docker, Feb 18, 2022

How to install DBeaver on Debian 11

Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package

In DBeaver, Debian, Feb 14, 2022

How to install DBeaver on Ubuntu 21.10

One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only MySQL servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...

In DBeaver, Ubuntu, Feb 12, 2022

How to install Apache on Amazon Linux 2

Once you have provisioned an AWS EC2 instance installing Apache on Amazon Linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...

In Apache, AWS, Amazon Linux 2, Feb 06, 2022

base64 encode and decode from the CLI

Base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability, ...

In Utilities, Jan 30, 2022

How to rotate screen position in Ubuntu through CLI

Nowadays as technology develops more and more, laptops are becoming more sophisticated. Most of today’s laptops offer a finger-sensitive screens, so you can manage to flip over the mo...

In Ubuntu, Jan 29, 2022

How to fix black screen on screen share in Ubuntu

During an online session, I spotted that the screen share on Ubuntu stopped working. The first thought that came to my mind was the application itself. But later I realized that no ma...

In Ubuntu, Jan 25, 2022

How to upgrade Ubuntu 20.04 to Ubuntu 21.10

The upgrading process from Ubuntu 20.04 to Ubuntu 21.10 takes some time, but it’s a straightforward process if you stick close to the steps below. Before taking any actions please mak...

In Ubuntu, Jan 23, 2022

Run Docker containers in the background

While running a docker container in detached mode d maybe you have experienced exiting the container immediately. Here I’m going to show you some ways how to keep it running in the ba...

In Docker, Jan 21, 2022

How to enable HTTP/2 in Nginx

HTTP/2 was published almost 7 years ago, HTTP/3 being an internet draft standard since October 2020, and yet here we are, most of us still using HTTP/1.1. Considering how things quick...

In Nginx, HTTP, Jan 18, 2022

How to increase the open files limit in Linux

The default open files (nofile) limit is 1024. Let’s see how we could confirm and increase it on user and system-wide level.

In Linux, Jan 16, 2022

How to install Podman Compose on CentOS 7

When it comes to installing podman-compose on CentOS 7 it follows the same procedure as on the other RHEL-based distros and there are three ways to achieve it. You only need to make s...

In Podman, CentOS, Jan 15, 2022

SFTP transfer files non-interactive through the command line

This tutorial is aimed to show you how to download files from a remote sftp server and of course how to upload files to a remote sftp server. It’s useful if you are writing a bash or ...

In SFTP, Jan 13, 2022

How to connect with SFTP through the command line

Most of the shared hosting platforms are providing SFTP access to the end-users as a secure file transfer protocol. There are a lot of free and open source GUI platforms for ftp, SFTP...

In SFTP, Jan 11, 2022

Install Podman Compose on Ubuntu 20.04

Installation of podman-compose on Ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and ...

In Podman, Ubuntu, Jan 09, 2022

Install Podman Compose on Amazon Linux 2

As Podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it, and I’m g...

In Podman, AWS, Amazon Linux 2, Jan 07, 2022

Send Slack notifications from a Bash script

Slack is one of the most popular and used messaging apps by companies of any kind of business size, from small companies and startups to large enterprises. From DevOps point of view, ...

In Slack, Webhooks, Jan 06, 2022

Add jq and curl to an Alpine Docker image

The official Alpine Docker image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that’s ...

In Docker, Alpine Linux, Jan 05, 2022

Install dig and nslookup on Alpine Linux

Deploying docker containers based on alpine images or using alpine on your server is always a good idea as it’s a small, simple Linux OS. But if you want to perform some DNS checks yo...

In DNS, Utilities, Alpine Linux, Jan 03, 2022

How to install PHP 7.4 on Amazon Linux 2

Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process, and it can be achieved in a few steps. This tutorial is aimed to show you the st...

In PHP, AWS, Amazon Linux 2, Dec 24, 2021

How to install Postman on Ubuntu 20.04

There are some ways to install Postman on Ubuntu 20.04. As always, we want to keep the work simple and straight to the point. So I’m going to show you the easiest way to install Postm...

In Postman, Ubuntu, Dec 22, 2021

How to install UFW on Amazon Linux 2

Maybe you will raise a question is it worth installing UFW on Amazon Linux 2. Some say that it’s enough to use the instance security groups but if you need some extra security on a se...

In Firewalls, AWS, Amazon Linux 2, Dec 10, 2021

How to install UFW on CentOS 7

Most of the RHEL Linux distros are coming with pre-installed firewalld as a default firewall. But if you are UFW fan and you don’t want to waste your time or resources on getting fami...

In Firewalls, CentOS, Dec 08, 2021

How to list, renew and delete Certbot certificates

Managing Certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...

In Certbot, Dec 03, 2021

How to install firewalld on Amazon Linux 2

Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...

In Firewalls, AWS, Amazon Linux 2, Dec 02, 2021

How to download files with curl

curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...

In Linux, macOS, Dec 01, 2021

How to install Firewalld on Rocky Linux 8

Keeping your services and host itself secure is crucial. Nowadays, there are a lot of attacks that can harm your host server, like brute force attacks, dictionary SSH attacks, SQL inj...

In Firewalls, Rocky Linux, Nov 30, 2021

How to shutdown and restart macOS from the Terminal

As a DevOps engineers, we must get used to running commands from the Terminal. Let’s see how easy and fast we can shutdown and restart a macOS machine after long day of work.

In macOS, Nov 29, 2021

How to secure domain with Let's Encrypt SSL/TLS certificate on Amazon Linux 2

As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL/TLS certifi...

In Let's Encrypt, AWS, Amazon Linux 2, Nov 28, 2021

How to generate random password from the CLI

There are a lot of ways to generate random passwords, starting from simple password generator sites found online to the most advanced password management solutions. Today’s topic will...

In Linux, Nov 27, 2021

How to install Certbot on Amazon Linux 2

Using AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL/TLS certific...

In Certbot, AWS, Amazon Linux 2, Nov 26, 2021

File locking with flock 101

As a concept, file locking in Linux purpose is to control access to a shared resource between multiple processes, in a way to indicate which process is next in line, so it could use t...

In Linux, Nov 25, 2021

How to install Terragrunt on Ubuntu

Working with Terragrunt as a Terraform wrapper will ease things and simplify the Terraform templates. Here I will show you how to set up quickly on your Ubuntu machine.

In Terragrunt, Ubuntu, Nov 24, 2021

mtime timestamp and the 24h period cheatsheet

For those who might be questioning, mtime or short for modified timestamp, is a Linux file timestamp which usually goes hand in hand with the find command in the most common scenarios...

In Linux, Nov 23, 2021

How to update Visual Studio Code on Debian-based distro

Some old VS Code versions are getting git issues, for instance, you are not able to pull or push to your repo due to authentication issues. If you try to authenticate through your Lin...

In VSCode, Debian, Nov 22, 2021

Which shell am I using - how to check

Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, or suchlike. This time I’ll be focusing on how to find out which shell you are using, which is t...

In Shell, Nov 21, 2021

How to reload shell session

In order to update and see changes made in the shell environment, most of the time reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comman...

In Shell, Nov 19, 2021

How to install Logstash on Debian 11

Every data processing service needs a data processing pipeline that will help you to gather data from different sources. Nowadays, Logstash is one of the most efficient and required d...

In Logging, Debian, Nov 14, 2021

How to install Apple Command Line Tools

Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for macOS. The installation is a one-liner, so let’s just jump right into it.

In macOS, Nov 13, 2021

How to install Grafana on Debian 11

Seemingly some enterprise monitoring solutions look that they can be suitable for your infrastructure but afterwards it shows up that your expectations are not satisfied. There are a ...

In Monitoring, Debian, Nov 10, 2021

How to install Terraform on Debian 11

Today I’ll be writing about terraform installation on Debian 11. The steps are pretty easy, so you just have to follow them and accomplish the installation process. Let’s hop in.

In Terraform, Nov 06, 2021

Install Visual Studio Code on macOS

VSCode is considered as one of the most used code editors nowadays. In this brief tutorial, I will show you how to install it on macOS using Homebrew.

In VSCode, macOS, Nov 04, 2021

Install Skype on macOS

Skype as a world-known VoIP based software can be installed in multiple ways on macOS. Today I’m going to pick up one of the preferable ways of doing it, which is the easiest and the ...

In macOS, Oct 31, 2021

Install Ruby on macOS

There are four ways to install Ruby on all computing platforms, including package management systems, installers, managers, and of course building from source. RVM as a Ruby version m...

In Ruby, macOS, Oct 30, 2021

How to install Nomad on Fedora-based distro

Previously I covered the Nomad installation on the most frequently used Linux distros: Amazon Linux 2 Debian RHEL

In Nomad, Fedora, Oct 27, 2021

How to change permissions for directories and files recursively

Getting to know how to fix the directories and files permissions recursively, with a quick and easy method is always a good point. The crux of this tutorial is to understand how you c...

In Linux, Oct 25, 2021

How to Setup GraphQL with Node.js on Debian-based distro

To gather information from the REST API designed app you need to send requests to multiple REST endpoints. So this kind of approach is scattered across multiple endpoints. GraphQL sol...

In GraphQL, Node.js, Debian, Oct 23, 2021

Setup Nginx proxy for a Node.js app

Behind every major player in the cloud provider’s field, there is a hidden “magic” that makes our applications work. Most of the time, this magic is some kind of proxy, mostly Nginx. ...

In Nginx, Node.js, Oct 22, 2021

How to install Node.js on Debian 11

There are few methods to install Node.js on Debian 11. Using PPA Using NVM From the Debian official packages

In Node.js, Debian, Oct 21, 2021

Resolve (code=exited, status=2) in Nginx

Sometimes after Nginx service restart and you’re trying to get the service status, you might get the following status code line:Process: 10316 ExecStop=/sbin/start-stop-daemon --quiet...

In Nginx, Oct 20, 2021

How to install Terragrunt on Debian 11

If you need to simplify the Terraform structure you can achieve it through Terragrunt. The crux is that you only need to define the Terraform modules and Terragrunt will take care of ...

In Terragrunt, Debian, Oct 19, 2021

Check Internet speed from the CLI on Linux

In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...

In Linux, Oct 18, 2021

How to install Nomad on RHEL-based distro

As I mentioned in the previous topics I’m going to cover the Nomad installation on all popular Linux distros. So this tutorial will be aimed to show you how to install Nomad on RHEL-b...

In Nomad, RHEL, Oct 17, 2021

Get public IP from the CLI on Linux

Let’s speedrun the tutorial on how to get your public IP address from the command line interface for any whitelisting reason, on any Linux distro.

In Linux, Oct 16, 2021

How to install Nomad on Debian-based distro

As a sequel of the Nomad installation series today I’m going to shed some light on how to install Nomad on every Debian-based distro. The installation process is quick and easy and th...

In Nomad, Debian, Oct 15, 2021

How to install Nomad on Amazon Linux 2

Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, deployments, and managing the resources ...

In Nomad, AWS, Amazon Linux 2, Oct 13, 2021

How to install Terraform on Amazon Linux 2

There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the Terraform official release site, so you need to get the late...

In Terraform, AWS, Amazon Linux 2, Oct 11, 2021

How to detect and free Inode usage on Linux

While I was maintaining a monitoring service for an AWS-based infrastructure the service daemon stopped working. After some digging on the host where the service was hosted, I find ou...

In Linux, Oct 09, 2021

How to install Ansible on Amazon Linux 2

When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...

In Ansible, AWS, Amazon Linux 2, Oct 07, 2021

How to install Nginx on Amazon Linux 2

Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...

In Nginx, AWS, Amazon Linux 2, Oct 05, 2021

Prevent accidental rm -rf /*

We’ve all heard the infamous rm -rf /* command. Now, let’s see how can we prevent from happening many times again.

In Linux, Sep 30, 2021

How to install Redis on Debian 11

Improving your site performance and caching your content can be achieved with Redis which stands as one of the most popular caching tools nowadays. How the complexity of the applicati...

In Redis, Debian, Sep 29, 2021

Count files within directory in Linux

Sometimes, for some reason we need to pull up the number of files in a certain directory. As always, this could be done in a couple of ways. Let’s go through each of them.

In Linux, Sep 28, 2021

How to install Ruby on Debian 11

Ruby as a programming language belongs to the group with a high demand along with the other popular programming languages. Nowadays, his framework Ruby on Rails is highly used by deve...

In Ruby, Debian, Sep 27, 2021

Run Linux Bash commands in background

If one thing can be annoying while working on remote Terminals on daily basis, that would be waiting for a command to finish. Wasting time on waiting commands to finish is resolvable ...

In Linux, Sep 26, 2021

How to setup Envoy proxy

Envoy is a minimalistic L7 proxy designed to be used along with the cloud native microservice applications. It’s an open-source container based project which can run on a minimum syst...

In Proxy, Sep 25, 2021

Remove last N characters of a string in Bash

As with most things in IT, there is always more than one way to skin a cat. In today’s blog post, we are going to test out few ways on how we could remove last n characters of a strin...

In Linux, Sep 24, 2021

How to create Apache reverse proxy for your application

Creating Apache reverse proxy follows a similar procedure as Nginx. In some of the previous posts, we saw How to set up Nginx reverse proxy, so today I’m going to show you exactly the...

In Apache, Sep 23, 2021

Protect files from being deleted in Linux

I’m going to start by saying we have all heard of these sudo rm -rf / horror stories on the Internet. There are a bunch of ways we could protect our servers from such accidents, which...

In Linux, Sep 22, 2021

How to search for a string in multiple files on Linux

These days there are a lot of code editors which can ease your life in terms of finding some particular string in multiple files or repo. The life will get complicated if you need to ...

In Linux, Sep 19, 2021

Convert Linux commands output from CSV to JSON

CSV to JSON conversion is commonly used in the Monitoring part of the DevOps cycle, usually when we need to gather some data, parse it, and ship it via some monitoring agent, like Flu...

In Parsing, Linux, Sep 18, 2021

How to install Docker Compose on Debian 11

We previously saw how to install Docker on Debian 11. As a sequel, I’m going to round it off with the docker compose installation on Debian 11.

In Docker, Debian, Sep 15, 2021

How to check if your web application is under DDoS attack

Nowadays, most of the web applications are vulnerable and exposed on many kinds of attacks. One of them is a DDoS attack. There are a lot of services on the internet that are offering...

In DDOS, Sep 11, 2021

How to enable CORS in Nginx

If you are trying to make API calls, and you are getting the following error from Nginx: No Access-Control-Allow-Origin header is present on the requested resource you should definite...

In Nginx, Sep 07, 2021

List processes with high memory usage in Linux

There are situations where your web application or particular software installed on your machine takes a lot of time to load. The troubleshooting process may last long but however, yo...

In Linux, Sep 05, 2021

How to check if command succeeded in Linux

As a DevOps engineer, or any other Operation roles, we sometimes need to check if a Linux command succeeded. There are many reasons, for example: our internet connection failed, a VPN...

In Linux, Aug 29, 2021

How to install Nginx on Debian 11

Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your Debian server.

In Nginx, Debian, Aug 22, 2021

How to install MongoDB on Rocky Linux 8

MongoDB has an attitude to store the data in BSON, which can be searched and indexed, with a way better performance. Installing MongoDB on Rocky Linux can additionally improve the sea...

In MongoDB, Rocky Linux, Aug 20, 2021

How to install Docker on Debian 11

Finally, Debian 11 is released on August 14th, 2021, and this version is marked as a stable version. This tutorial will show you the steps on how to install Docker on a new fresh Debi...

In Docker, Debian, Aug 18, 2021

Missing sites-available directory in Nginx

As part of the Nginx series, in today’s tutorial, we are going to see on how to add that missing sites-available subdirectory. The reason behind this, is because most of us have been ...

In Nginx, Aug 17, 2021

How to disable SELinux

You may face Nginx or Apache web server blocking issues even when your firewall is disabled. SELinux is a security engine that may block some calls or permissions on your server. So, ...

In Linux, Aug 16, 2021

How to set up Nginx reverse proxy for your application

Using Nginx reverse proxy could be very useful, especially if you are developing an application with a framework that can run its own server like Node.js, Python, Ruby on Rails, etc. ...

In Nginx, Aug 14, 2021

How to block visitors by country in Nginx

In some of mine previous posts, I wrote about how you can whitelist IPs in Nginx. In today’s tutorial, we are going to see how can we block specific countries in a few steps.

In Nginx, Aug 13, 2021

How to install Podman on Ubuntu 20.04

If you try to install Podman on Ubuntu 20.04 with the default Ubuntu packages, the installation will fail with the following error: E: Unable to locate package podman. In this tutoria...

In Podman, Ubuntu, Aug 12, 2021

How to install Podman on Amazon Linux 2

If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m going to show you how to install...

In Podman, AWS, Amazon Linux 2, Aug 10, 2021

How to whitelist IP addresses in Nginx

We all know what firewalls are for, but sometimes they can become a pain in the arse, and we all end up opening HTTP and HTTPS port by default. Let’s say we host multiple domains via ...

In Nginx, Aug 09, 2021

How to secure Apache with Let's Encrypt on Rocky Linux 8

As a part of the Certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL/TLS certificate. Let’s start.

In Apache, Let's Encrypt, Rocky Linux, Aug 08, 2021

How to secure Nginx with Let's Encrypt on Rocky Linux 8

Previously we saw How to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...

In Nginx, Let's Encrypt, Rocky Linux, Aug 06, 2021

How to install Certbot on Rocky Linux 8

Installing Certbot on your Rocky Linux server/machine is usually meant to be used to switch an existing HTTP site to work in HTTPS. It’s a helpful tool written in python which helps y...

In Certbot, Rocky Linux, Aug 05, 2021

How to install PostgreSQL on Rocky Linux 8

Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...

In PostgreSQL, Rocky Linux, Aug 01, 2021

How to install MySQL on Rocky Linux 8

Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.

In MySQL, Rocky Linux, Jul 30, 2021

How to determine the correct number of max children processes for PHP-FPM

Most of the PHP developers are using Nginx with PHP-FPM as the most efficient approach. Most likely Nginx will throw PHP errors as the server reached the pm.max_children number. It me...

In PHP, Jul 28, 2021

How to configure DHCP to fix the network connectivity on Rocky Linux

Some RHEL distros can cause common networking configuration issues on the first installation, so you will not be able to update the packages on a server or browse external Websites fr...

In DHCP, Rocky Linux, Jul 26, 2021

How to install Apache on Rocky Linux 8

Apache is one of the most popular, open source web servers that allows you to host your web content on Internet. Apache can be installed easily and can run on any operating system. In...

In Apache, Rocky Linux, Jul 24, 2021

How to install kubectl on macOS

Kubectl stands as a powerful command-line tool which allows you to control your Kubernetes clusters. The main role of kubectl is to deploy applications, manage your cluster recourses,...

In macOS, Kubernetes, Jul 22, 2021

How to install Nginx on Rocky Linux 8

If you need to implement a reverse proxy, load balancer or mail proxy, Nginx is the best-suited web server that can manage all of these actions. This tutorial will explain, how to ins...

In Nginx, Rocky Linux, Jul 20, 2021

How to install Redis on Rocky Linux 8

If you are seeking a caching solution for your application then Redis will appear on the list. Here we will show you how to install Redis on Rocky Linux which is a replacement for Cen...

In Redis, Rocky Linux, Jul 17, 2021

How to install PowerShell on macOS

As a DevOps engineer, most likely we would prefer to work with our cool and comfy MacBook Pros. And if you are working with Azure, you will most probably need to install PowerShell at...

In PowerShell, macOS, Jul 16, 2021

How to install Docker Compose on ARM64

In some of the previous posts I’ve covered how you can install Docker Compose on Linux distributions like Rocky Linux for example. It’s pretty easy to set it up, right?! Usually when ...

In Docker, Jul 12, 2021

How to install Ansible on Rocky Linux 8

If there is a need to simplify the deployments of your applications, manage your infrastructure servers, etc… you can achieve it with Ansible which is one of the most popular tool for...

In Ansible, Rocky Linux, Jul 11, 2021

How to install Docker Compose on Rocky Linux 8

Installing Docker Compose on Rocky Linux follows the same procedure as the other Linux distros. First, you need to make sure that you have installed Docker on your Rocky Linux machine.

In Docker, Rocky Linux, Jul 06, 2021

How to install Docker on Rocky Linux 8

In the early December last year, Red Hat took us all by surprise with the CentOS 8 End Of Life (EOL) announcement, that was scheduled for the end of 2021. In response to this, the ori...

In Docker, Rocky Linux, Jul 05, 2021

How to install Terraform on Rocky Linux 8

Finally, there is a replacement on the CentOS distro. The fresh and new Rocky Linux will replace the CentOS, so the CentOS team announces that they are going to focus on the CentOS St...

In Terraform, Rocky Linux, Jul 02, 2021

How to install Terraform on Ubuntu 20.04

All the cloud service providers have integrated and ease the way of using Terraform. So, using Terraform as infrastructure as code tool will efficiently minimize your code and speed u...

In Terraform, Ubuntu, Jun 25, 2021

How to install Ansible on Ubuntu

Ansible is an IT automation tool that can help you to simplify the deployments of your applications, efficiently manage your infrastructure servers, and provides a lot of features and...

In Ansible, Ubuntu, Jun 06, 2021

How to install Docker Compose on Ubuntu 19.04

Installing Docker Compose on Ubuntu 19.04 will get some benefits in terms of the procedure of starting multiple Docker containers, creating volumes, etc. But, before installing Docker...

In Docker, Ubuntu, Dec 15, 2019

How to install Docker on Ubuntu 19.04

Following the steps below will let you realize that installing Docker on Ubuntu 19.04 is not that hard as it seems, so let’s see how you can do it.

In Docker, Ubuntu, Dec 13, 2019

How to upload files to Azure Cloud Shell

As the name says, Azure Cloud Shell is a browser-accessible shell, which is used for managing Azure resources. It comes with two types of command shells Bash and PowerShell. It also g...

In Azure, Nov 27, 2019

Install Azure CLI 2.0 on macOS with Homebrew

Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and auto...

In Azure, macOS, Sep 24, 2019

cli

SERVICE_NETWORKING_NOT_ENABLED error in Terraform

Another GCP Terraform issue I was facing this week to share. It was related to not having API enabled as with most of them. This time the error I saw in the default console output was...

In GCP, Terraform, Aug 10, 2022

Install Telnet on Alpine Linux

Having Telnet within the Alpine Docker image can be useful in terms of quickly checking the connection between your services, like Redis, etc. So, here you can find how to install Tel...

In Telnet, Alpine Linux, Aug 09, 2022

Update private service access connection in GCP

Not trying to rant about GCP, but to sum up, you need to do a ton of somehow complex steps just to get a simple thing up and running. It’s frustrating though.

In GCP, Aug 08, 2022

Get current folder name in Linux without full path

As you may already know getting the relative path in Linux can be easily achieved by typing the command pwd in your terminal. You may be wondering how to get only the current working ...

In Linux, Aug 07, 2022

Install Vim on Alpine Linux

As an improved version of vi, Vim is the most used text editor for the server based environment. Today the aim is to install vim on Alpine Linux.

In Text editors, Alpine Linux, Aug 05, 2022

Install Traceroute on Alpine Linux

Discovering the network packet paths or troubleshooting the connectivity issues can be easily achieved with traceroute. Today’s aim is to install traceroute on Alpine Linux.

In Utilities, Alpine Linux, Aug 03, 2022

Install Certbot on Alpine Linux

Generating an SSL certificate using Alpine Linux can be easily done through Certbot. So let’s see how to install Certbot on Alpine Linux.

In Certbot, Alpine Linux, Aug 01, 2022

Install HAProxy on Alpine Linux

Creating an isolated proxy microservice can be easily achieved with the Alpine Linux Docker image and HAProxy. It can act as both proxy container or load balancer depending on the nee...

In Proxy, Alpine Linux, Jul 30, 2022

Install Ruby on Alpine Linux

Installing Ruby on Alpine Linux comes fairly quick and easy as it exists within the apk package manager. Let’s jump on the crux.

In Ruby, Alpine Linux, Jul 28, 2022

Install Redis on Alpine Linux

Redis CLI is a part of the official Alpine apk packages, so it’s quick and easy to set it up. Here I’m going to show you how to install Redis CLI on Alpine Linux.

In Redis, Alpine Linux, Jul 22, 2022

Top command not found on Debian-based Docker container

Some of your Docker Debian-based containers can be killed due to heavy processes running inside the container. If your preferred choice is the top command, most likely you will get th...

In Utilities, Docker, Debian, Jul 20, 2022

Redis one-liner: AUTH and execute a command

Given that Redis supports optional authentication, it would be outrageous to deploy it to a public subnet hence exposing to the Internet. So, once you setup and configure Redis in a p...

In Redis, Jul 17, 2022

Install UFW on Alpine Linux

Protecting your Alpine Docker images is always a good practice, especially the vulnerable services. Today, I will install UFW on Alpine Linux.

In Firewalls, Alpine Linux, Jul 16, 2022

Show full history in PowerShell

PowerShell’s Get-History only lists the current session history. Now, I’m going to share with you a quick nugget on how to show the full history from all sessions.

In PowerShell, Jul 15, 2022

Install Traceroute on Amazon Linux 2

Traceroute is a suitable option in a situation where you need to troubleshoot some network connection issues. The tool displays all the possible routes and packet loss over the Intern...

In Utilities, AWS, Amazon Linux 2, Jul 12, 2022

Install Node.js on Alpine Linux

Setting up a Node.js environment for development on Alpine Linux is quite easy and simple. So let’s see how to install Node.js with NPM on Alpine Linux.

In Node.js, Alpine Linux, Jul 08, 2022

Install Ansible on Alpine Linux

The Ansible installation on Alpine Linux can be achieved easily and quickly through the official Alpine packages.

In Ansible, Alpine Linux, Jul 06, 2022

'Failed to get existing workspaces: querying Cloud Storage failed: storage: bucket doesn't exist' error in Terraform

One more issue from the Terraform error list that I want to share with y’all. While I was struggling with GCP on a day-to-day basis, I tried to initialize the remote TF state file sto...

In GCP, Terraform, Jul 05, 2022

Install Apache on Alpine Linux

Using Apache with Alpine Linux can be a suitable combination, because Apache comes with a lot of modules that can be useful for your application. Let’s see how to install Apache on Al...

In Apache, Alpine Linux, Jul 02, 2022

Install Nginx on Alpine Linux

Installing Nginx on Alpine Linux can be achieved easily, as it’s part of the official Alpine packages. Let’s take a look.

In Nginx, Alpine Linux, Jun 30, 2022

Resolve KernelCare `Error unpatching [255] ('default', '', '', False)` issue

Updating the latest security and stability patches using KernelCare it’s a safe and recommended way, but sometimes it can throw Error unpatching [255] ('default', '', '', False) error...

In Linux, Jun 28, 2022

Install Fluent Bit on Amazon Linux 2

Same as Fluentd, Fluent Bit doesn’t belong in the official Amazon Linux yum repositories as well. The installation will be pretty much the same through fluent bit shell script. So let...

In Logging, AWS, Amazon Linux 2, Jun 26, 2022

Install Fluentd on Amazon Linux 2

Fluentd is one of the most popular open-source projects, used for gathering logs from a set of sources and forwarding them to other monitoring software. Here I’m going to show you how...

In Logging, AWS, Amazon Linux 2, Jun 24, 2022

Escape PowerShell's double quotes in Terraform

To my Windows-PowerShell-Terraform-Azure users out there, I just want to share a quick nugget on how to escape the annoying double quotes.

In Terraform, PowerShell, Jun 23, 2022

Install Exim on Alpine Linux

If there is a need for a simple and minimalistic mail transfer agent on Alpine then Exim is a decent choice. Let’s install Exim on Alpine Linux.

In SMTP, Alpine Linux, Jun 22, 2022

Install Git on Alpine Linux

Previously git was not included in the official alpine packages. As the new Alpine versions are released, there are improvements of course. So now git is a part of the Alpine packages...

In Git, Alpine Linux, Jun 20, 2022

Install PHP 8 on Alpine Linux

The PHP 8 installation on Alpine Linux can be achieved in a few steps. Let’s do it.

In PHP, Jun 18, 2022

Install SCP on Alpine Linux

SCP as a useful transfer tool can be easily installed on Alpine Linux. Let’s see the steps needed.

In Utilities, Alpine Linux, Jun 16, 2022

Install Podman Compose on Alpine Linux

If you plan to deal with Podman Compose on Alpine Linux I will show you the installation part. The aim of this tutorial is to show you how to install Podman Compose on Alpine Linux.

In Podman, Alpine Linux, Jun 14, 2022

Install Podman on Alpine Linux

Podman, as a decent Docker replacement has support from the Alpine community repository and can be installed as a podman package. Let’s see how to install Podman on Alpine Linux.

In Podman, Alpine Linux, Jun 12, 2022

Install Rsync on Alpine Linux

How can you remotely sync or transfer files? Of course, rsync is here to help even if you want to include it within the Alpine docker container. Let’s see how to install Rsync on Alpi...

In Utilities, Alpine Linux, Jun 10, 2022

Terraform ./init.sh script for AWS backend state

terraform init initialize the current Terraform working directory. I guess it does a lot under the hood which unfortunately won’t be the topic for today. Instead, I’ll share with you ...

In Terraform, AWS, Jun 09, 2022

Install jq on Alpine Linux

Yet another quick and easy jq installation on Alpine Linux. You can use it as a part of your Dockerfile as well.

In Utilities, Alpine Linux, Jun 08, 2022

Install Zip And Unzip on Alpine Linux

Here I’m going to show you how to install zip and unzip on Alpine Linux which is quite quick and easy :)

In Archive, Jun 06, 2022

Install Terraform on Alpine Linux

As a small distro Alpine Linux doesn’t have huge support regarding the APK Alpine system manager package. So today I’ve decided to show you how to install Terraform on Alpine Linux.

In Terraform, Alpine Linux, Jun 04, 2022

Install AWS CLI on Amazon Linux 2

Managing some AWS services through AWS CLI can be useful and practical, especially when you need to perform some quick actions like listing active resources or troubleshooting. Here I...

In AWS, Amazon Linux 2, Jun 02, 2022

Install PHP Composer on Amazon Linux 2

Using PHP on Amazon Linux 2 can potentially require a composer installation for some libraries. Installing Composer on Amazon Linux 2 is a quick and easy procedure. Let’s see it.

In PHP, AWS, Amazon Linux 2, May 31, 2022

Install Telnet on Amazon Linux 2

As a useful tool Telnet can help you to troubleshoot some connectivity problems, access specific port and also offers a lot of other useful stuff as well. The installation is simple a...

In Telnet, AWS, Amazon Linux 2, May 29, 2022

Find non-ASCII characters in macOS

In these modern days, ASCII as a character encoding standard is a subset of UTF-8. As for the other OS-related posts refer to: Find non-ASCII characters in Linux Find non-ASCII char...

In macOS, May 28, 2022

Install PHP 8.1 on Amazon Linux 2

If you want to hang out with the latest major update of PHP, then you should definitely try to install PHP 8.1 on Amazon Linux 2. Let’s do it.

In PHP, AWS, Amazon Linux 2, May 27, 2022

Find non-ASCII characters in Linux

ASCII as a character encoding standard that use numbers to represent characters. The original ASCII code range is 0 - 127 (7 bits) which represents the english character set including...

In Linux, May 26, 2022

Install tar on Amazon Linux 2

Yet another free cool tool for archiving files, is tar. I’m going to stick to the title itself and show you how to install tar on Amazon Linux 2.

In Archive, AWS, Amazon Linux 2, May 25, 2022

Install Zip and Unzip on Amazon Linux 2

Although the usage of zip and unzip is very simple there is at least one moment in our life when we are forced to use them. It may happen when you are migrating a website or some data...

In Archive, AWS, Amazon Linux 2, May 23, 2022

'could not configure AzureCli Authorizer: could not parse Azure CLI version' error in Terraform

As I continue on my Terraform issues resolving journey, I want to share yet another not quite common TF issue.

In Terraform, May 22, 2022

Fix VPN `Connection failed` after upgrade to Ubuntu 22.04

Since the Ubuntu 22.04 version has been released, there were a lot of rumors that there is a big improvement in terms of the Ubuntu style and features, so I decided to upgrade it. Aft...

In VPN, Ubuntu, May 21, 2022

Install Podman Compose on Ubuntu 22.04

As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m going to show you three ways on how to install Podman Compose on U...

In Podman, Ubuntu, May 19, 2022

Install jq on Amazon Linux 2

jq one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...

In Parsing, AWS, Amazon Linux 2, May 17, 2022

Install Telnet on CentOS 9 Stream

Telnet as a useful tool, allows you to establish a connection or check whether some connection is allowed or not. Here I’m going to show you how to install Telnet on CentOS 9 Stream, ...

In Telnet, CentOS, May 15, 2022

Install Java on CentOS 9 Stream

As a Java developer on the new CentOS 9 Stream OS, you may wonder how to set up your java environment. The installation of Java on CentOS 9 Stream can be achieved in a few steps. Let’...

In Java, CentOS, May 13, 2022

Get Windows 10 version number from the CLI

Today’s topic going to be all about the multiple way to get the version number for Windows 10. Even though there’s a dozen ways to do it, I’m going to stick to the most basic ones wit...

In Windows 10, May 12, 2022

Get memory page size in Linux

Memory page, virtual memory page, or just page is the smallest block of memory unit in terms of memory management. The page size is determined by the hardware to be exact the processo...

In Linux, May 10, 2022

Install Podman Compose on Debian 11

The growth and use of Podman is really raging higher and higher. I hope one day it will be on the same level as Docker is today. Now, assuming that you have Podman installed on Debian...

In Podman, Debian, May 09, 2022

Install Redis on CentOS 9 Stream

Redis is the most popular and most used cache, message broker, and in-memory key value database store service nowadays. So today I’m going to show you how to install Redis on CentOS 9...

In Redis, May 07, 2022

Install Nginx on CentOS 9 Stream

Nginx is one of the most used web servers nowadays and can be easily installed on the new CentOS 9 Stream OS. Let’s see how to install Nginx on CentOS 9 Stream and enable the HTTP and...

In Nginx, CentOS, May 05, 2022

Install Postfix on Amazon Linux 2

Besides Exim, Postfix is another useful and free mail transfer agent that is under IBM public license. The installation is easy and simple so let’s see how to install Postfix on Amazo...

In SMTP, AWS, Amazon Linux 2, May 03, 2022

PowerShell equivalent of the touch command in Linux

There might be a point in your IT career where you need to switch to a Windows OS dev machine whatever you like it not because the CTO decided to put all eggs in the Microsoft Azure b...

In PowerShell, May 02, 2022

Install Exim on Amazon Linux 2

Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.

In SMTP, AWS, Amazon Linux 2, May 01, 2022

Install dig on Amazon Linux 2

Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.

In DNS, AWS, Amazon Linux 2, Apr 29, 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, AWS, Amazon Linux 2, 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 ansible.builtin.user module, simply because I needed to commit a password hash for ...

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, AWS, Amazon Linux 2, Apr 25, 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 Utilities, AWS, Amazon Linux 2, Apr 23, 2022

Install Redis 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 going to show you how to install R...

In Redis, AWS, Amazon Linux 2, Apr 21, 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 Utilities, AWS, Amazon Linux 2, Apr 19, 2022

Install Rsync on Amazon Linux 2

Sending files, and directories remotely can be achieved with a lot of utility tools. One of them is Rsync, which is a cool tool for remote transfer. Let’s see how to install it on Ama...

In Utilities, AWS, Amazon Linux 2, Apr 17, 2022

Install Terragrunt on Amazon Linux 2

One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...

In Terragrunt, AWS, Amazon Linux 2, Apr 15, 2022

Install openfortivpn on Amazon Linux 2

openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.

In VPN, AWS, Amazon Linux 2, Apr 14, 2022

Install HAProxy on Amazon Linux 2

HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s se...

In Proxy, AWS, Amazon Linux 2, Apr 13, 2022

How to set up SSH keys on Amazon Linux 2

While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...

In SSH, AWS, Amazon Linux 2, Apr 11, 2022

spawn, expect and send commands in Linux

spawn, expect and send commands are usually part of SSH bash scripts. So, I’m going to briefly explain them, starting with expect since the rest of them are part of it.

In Linux, Apr 10, 2022

Install Node.js on Amazon Linux 2

Node.js doesn’t exist in the default Amazon Linux 2 yum packages. So we should add the Node.js official repo and use it for the installation. Let’s see how to install Node.js on Amazo...

In Node.js, AWS, Amazon Linux 2, Apr 09, 2022

Enable EPEL on Amazon Linux 2

Using EPEL package repository can be very beneficial. EPEL contains all the common packages that you may want to install. Unfortunately, EPEL is disabled in Amazon Linux 2. Let’s see ...

In AWS, Amazon Linux 2, Apr 07, 2022

Install VestaCP on Amazon Linux 2

Managing your AWS ec2 instance with VestaCP comes easier if you are not familiar with Linux. Here I’m going to tell you how to install VestaCP on Amazon Linux 2.

In Control Panels, AWS, Amazon Linux 2, Apr 05, 2022

Install VestaCP on Debian 11

VestaCP is a free and open-source control panel based on PHP and Bash. It’s a lightweight and easy to use control panel which can save you a lot of time and money especially if you ar...

In Control Panels, Apr 03, 2022

Install macOS software updates from the Terminal

Working on macOS usually requires a manual intervention when applying the latest software updates. This could easily be done from the Terminal, as shown below.

In macOS, Apr 02, 2022

How to install Go on Amazon Linux 2

Installing Golang on Amazon Linux 2 can be done within a few minutes since Go exists in the default Amazon Linux 2 yum packages. Let’s dive into it.

In Golang, AWS, Amazon Linux 2, Apr 01, 2022

Install Go on macOS

Go, also known as Golang is a popular open source programming language developed by Google and used for general purpose. Although the official macOS installation supports downloading ...

In Golang, macOS, Mar 31, 2022

How to install SQLite on Amazon Linux 2

SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...

In SQLite, AWS, Amazon Linux 2, Mar 30, 2022

Check for read-only filesystem in Linux

In today’s post we are going to find out how to check for read-only filesystem in Linux from the CLI.

In Linux, Mar 29, 2022

Check last reboot time in Linux

In today’s post we are going to find out the last reboot time in Linux from the CLI.

In Linux, Mar 27, 2022

Check system uptime in Linux macOS and Windows from the command line

The following commands will help you find the system uptime for Linux, macOS and Windows in the easiest way possible, from the command line.

In Linux, macOS, Windows, Mar 23, 2022

How to install bc on Linux macOS and Windows

bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...

In Utilities, Linux, macOS, Windows, Mar 19, 2022

How to install Ruby on Amazon Linux 2

If you want to develop ruby application using some ruby frameworks like Ruby on Rails, Padrino, etc., on Amazon Linux 2 you will have to install ruby as a dependency. This topic will ...

In Ruby, AWS, Amazon Linux 2, Mar 16, 2022

How to install Kubectl on Amazon Linux 2

Installing the kubectl from the official Red Hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...

In Kubernetes, AWS, Amazon Linux 2, Mar 14, 2022

How to install OpenVPN on Amazon Linux 2

If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...

In VPN, AWS, Amazon Linux 2, Mar 12, 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 macOS, Linux, 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

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 going to show you a quick fix...

In Linux, Mar 02, 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, Ubuntu, Feb 28, 2022

How to install Redis on Ubuntu 21.10

Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.

In Redis, Ubuntu, Feb 26, 2022

How to flush the DNS cache from the CLI

Clearing the DNS cache usually fixes issues related to not resolving new or updated existing domain records. Let’s see how it’s done from the command line though.

In DNS, Feb 25, 2022

MySQL fix: 'Waiting for table metadata lock'

Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m going to list some useful solutions that might help you.

In MySQL, Feb 24, 2022

How to install Docker Compose on Ubuntu 21.10

This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.

In Docker, Ubuntu, Feb 22, 2022

How to install Nginx on Ubuntu 21.10

Since Ubuntu 21.10 has been released there was an immediate interest in using it as an OS Server. In this tutorial, we are going to see how to install Nginx on Ubuntu 21.10.

In Nginx, Ubuntu, Feb 20, 2022

Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8

Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.

In Docker, Feb 18, 2022

How to install DBeaver on Debian 11

Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package

In DBeaver, Debian, Feb 14, 2022

How to install DBeaver on Ubuntu 21.10

One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only MySQL servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...

In DBeaver, Ubuntu, Feb 12, 2022

How to install Apache on Amazon Linux 2

Once you have provisioned an AWS EC2 instance installing Apache on Amazon Linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...

In Apache, AWS, Amazon Linux 2, Feb 06, 2022

base64 encode and decode from the CLI

Base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability, ...

In Utilities, Jan 30, 2022

How to rotate screen position in Ubuntu through CLI

Nowadays as technology develops more and more, laptops are becoming more sophisticated. Most of today’s laptops offer a finger-sensitive screens, so you can manage to flip over the mo...

In Ubuntu, Jan 29, 2022

How to install Terragrunt on CentOS 7

To simplify and structure the Terraform modules you can use Terragrunt as a wrapper. In this tutorial we are going to see how to install Terragrunt on CentOS 7.

In Terragrunt, CentOS, Jan 27, 2022

How to fix black screen on screen share in Ubuntu

During an online session, I spotted that the screen share on Ubuntu stopped working. The first thought that came to my mind was the application itself. But later I realized that no ma...

In Ubuntu, Jan 25, 2022

How to upgrade Ubuntu 20.04 to Ubuntu 21.10

The upgrading process from Ubuntu 20.04 to Ubuntu 21.10 takes some time, but it’s a straightforward process if you stick close to the steps below. Before taking any actions please mak...

In Ubuntu, Jan 23, 2022

Run Docker containers in the background

While running a docker container in detached mode d maybe you have experienced exiting the container immediately. Here I’m going to show you some ways how to keep it running in the ba...

In Docker, Jan 21, 2022

How to enable HTTP/2 in Nginx

HTTP/2 was published almost 7 years ago, HTTP/3 being an internet draft standard since October 2020, and yet here we are, most of us still using HTTP/1.1. Considering how things quick...

In Nginx, HTTP, Jan 18, 2022

How to increase the open files limit in Linux

The default open files (nofile) limit is 1024. Let’s see how we could confirm and increase it on user and system-wide level.

In Linux, Jan 16, 2022

How to install Podman Compose on CentOS 7

When it comes to installing podman-compose on CentOS 7 it follows the same procedure as on the other RHEL-based distros and there are three ways to achieve it. You only need to make s...

In Podman, CentOS, Jan 15, 2022

SFTP transfer files non-interactive through the command line

This tutorial is aimed to show you how to download files from a remote sftp server and of course how to upload files to a remote sftp server. It’s useful if you are writing a bash or ...

In SFTP, Jan 13, 2022

How to connect with SFTP through the command line

Most of the shared hosting platforms are providing SFTP access to the end-users as a secure file transfer protocol. There are a lot of free and open source GUI platforms for ftp, SFTP...

In SFTP, Jan 11, 2022

Install Podman Compose on Ubuntu 20.04

Installation of podman-compose on Ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and ...

In Podman, Ubuntu, Jan 09, 2022

Install Podman Compose on Amazon Linux 2

As Podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it, and I’m g...

In Podman, AWS, Amazon Linux 2, Jan 07, 2022

Send Slack notifications from a Bash script

Slack is one of the most popular and used messaging apps by companies of any kind of business size, from small companies and startups to large enterprises. From DevOps point of view, ...

In Slack, Webhooks, Jan 06, 2022

Add jq and curl to an Alpine Docker image

The official Alpine Docker image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that’s ...

In Docker, Alpine Linux, Jan 05, 2022

Install dig and nslookup on Alpine Linux

Deploying docker containers based on alpine images or using alpine on your server is always a good idea as it’s a small, simple Linux OS. But if you want to perform some DNS checks yo...

In DNS, Utilities, Alpine Linux, Jan 03, 2022

How to install PHP 7.4 on Amazon Linux 2

Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process, and it can be achieved in a few steps. This tutorial is aimed to show you the st...

In PHP, AWS, Amazon Linux 2, Dec 24, 2021

How to install Postman on Ubuntu 20.04

There are some ways to install Postman on Ubuntu 20.04. As always, we want to keep the work simple and straight to the point. So I’m going to show you the easiest way to install Postm...

In Postman, Ubuntu, Dec 22, 2021

How to install UFW on Amazon Linux 2

Maybe you will raise a question is it worth installing UFW on Amazon Linux 2. Some say that it’s enough to use the instance security groups but if you need some extra security on a se...

In Firewalls, AWS, Amazon Linux 2, Dec 10, 2021

How to install UFW on CentOS 7

Most of the RHEL Linux distros are coming with pre-installed firewalld as a default firewall. But if you are UFW fan and you don’t want to waste your time or resources on getting fami...

In Firewalls, CentOS, Dec 08, 2021

How to list, renew and delete Certbot certificates

Managing Certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...

In Certbot, Dec 03, 2021

How to install firewalld on Amazon Linux 2

Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...

In Firewalls, AWS, Amazon Linux 2, Dec 02, 2021

How to download files with curl

curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...

In Linux, macOS, Dec 01, 2021

How to install Firewalld on Rocky Linux 8

Keeping your services and host itself secure is crucial. Nowadays, there are a lot of attacks that can harm your host server, like brute force attacks, dictionary SSH attacks, SQL inj...

In Firewalls, Rocky Linux, Nov 30, 2021

How to shutdown and restart macOS from the Terminal

As a DevOps engineers, we must get used to running commands from the Terminal. Let’s see how easy and fast we can shutdown and restart a macOS machine after long day of work.

In macOS, Nov 29, 2021

How to secure domain with Let's Encrypt SSL/TLS certificate on Amazon Linux 2

As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL/TLS certifi...

In Let's Encrypt, AWS, Amazon Linux 2, Nov 28, 2021

How to generate random password from the CLI

There are a lot of ways to generate random passwords, starting from simple password generator sites found online to the most advanced password management solutions. Today’s topic will...

In Linux, Nov 27, 2021

How to install Certbot on Amazon Linux 2

Using AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL/TLS certific...

In Certbot, AWS, Amazon Linux 2, Nov 26, 2021

File locking with flock 101

As a concept, file locking in Linux purpose is to control access to a shared resource between multiple processes, in a way to indicate which process is next in line, so it could use t...

In Linux, Nov 25, 2021

How to install Terragrunt on Ubuntu

Working with Terragrunt as a Terraform wrapper will ease things and simplify the Terraform templates. Here I will show you how to set up quickly on your Ubuntu machine.

In Terragrunt, Ubuntu, Nov 24, 2021

mtime timestamp and the 24h period cheatsheet

For those who might be questioning, mtime or short for modified timestamp, is a Linux file timestamp which usually goes hand in hand with the find command in the most common scenarios...

In Linux, Nov 23, 2021

How to update Visual Studio Code on Debian-based distro

Some old VS Code versions are getting git issues, for instance, you are not able to pull or push to your repo due to authentication issues. If you try to authenticate through your Lin...

In VSCode, Debian, Nov 22, 2021

Which shell am I using - how to check

Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, or suchlike. This time I’ll be focusing on how to find out which shell you are using, which is t...

In Shell, Nov 21, 2021

How to reload shell session

In order to update and see changes made in the shell environment, most of the time reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comman...

In Shell, Nov 19, 2021

Get a list of all Azure regions available

Speaking of Azure regions and locations, very often we think of the commercial Azure cloud, since there is Azure Government, which basically represents a completely isolated Azure clo...

In Azure, Nov 15, 2021

How to install Logstash on Debian 11

Every data processing service needs a data processing pipeline that will help you to gather data from different sources. Nowadays, Logstash is one of the most efficient and required d...

In Logging, Debian, Nov 14, 2021

How to install Apple Command Line Tools

Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for macOS. The installation is a one-liner, so let’s just jump right into it.

In macOS, Nov 13, 2021

How to install Grafana on Debian 11

Seemingly some enterprise monitoring solutions look that they can be suitable for your infrastructure but afterwards it shows up that your expectations are not satisfied. There are a ...

In Monitoring, Debian, Nov 10, 2021

How to install Terraform on Debian 11

Today I’ll be writing about terraform installation on Debian 11. The steps are pretty easy, so you just have to follow them and accomplish the installation process. Let’s hop in.

In Terraform, Nov 06, 2021

Install Visual Studio Code on macOS

VSCode is considered as one of the most used code editors nowadays. In this brief tutorial, I will show you how to install it on macOS using Homebrew.

In VSCode, macOS, Nov 04, 2021

Install Skype on macOS

Skype as a world-known VoIP based software can be installed in multiple ways on macOS. Today I’m going to pick up one of the preferable ways of doing it, which is the easiest and the ...

In macOS, Oct 31, 2021

Install Ruby on macOS

There are four ways to install Ruby on all computing platforms, including package management systems, installers, managers, and of course building from source. RVM as a Ruby version m...

In Ruby, macOS, Oct 30, 2021

Ways to provision infrastructure on AWS

Popular as it is, Infrastructure as Code also known as IaC, is a practice and process of managing and deploying infrastructure through code. Now, we got the flexibility to choose from...

In AWS, Oct 28, 2021

How to install Nomad on Fedora-based distro

Previously I covered the Nomad installation on the most frequently used Linux distros: Amazon Linux 2 Debian RHEL

In Nomad, Fedora, Oct 27, 2021

How to change permissions for directories and files recursively

Getting to know how to fix the directories and files permissions recursively, with a quick and easy method is always a good point. The crux of this tutorial is to understand how you c...

In Linux, Oct 25, 2021

How to Setup GraphQL with Node.js on Debian-based distro

To gather information from the REST API designed app you need to send requests to multiple REST endpoints. So this kind of approach is scattered across multiple endpoints. GraphQL sol...

In GraphQL, Node.js, Debian, Oct 23, 2021

Setup Nginx proxy for a Node.js app

Behind every major player in the cloud provider’s field, there is a hidden “magic” that makes our applications work. Most of the time, this magic is some kind of proxy, mostly Nginx. ...

In Nginx, Node.js, Oct 22, 2021

How to install Node.js on Debian 11

There are few methods to install Node.js on Debian 11. Using PPA Using NVM From the Debian official packages

In Node.js, Debian, Oct 21, 2021

Resolve (code=exited, status=2) in Nginx

Sometimes after Nginx service restart and you’re trying to get the service status, you might get the following status code line:Process: 10316 ExecStop=/sbin/start-stop-daemon --quiet...

In Nginx, Oct 20, 2021

How to install Terragrunt on Debian 11

If you need to simplify the Terraform structure you can achieve it through Terragrunt. The crux is that you only need to define the Terraform modules and Terragrunt will take care of ...

In Terragrunt, Debian, Oct 19, 2021

Check Internet speed from the CLI on Linux

In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...

In Linux, Oct 18, 2021

How to install Nomad on RHEL-based distro

As I mentioned in the previous topics I’m going to cover the Nomad installation on all popular Linux distros. So this tutorial will be aimed to show you how to install Nomad on RHEL-b...

In Nomad, RHEL, Oct 17, 2021

Get public IP from the CLI on Linux

Let’s speedrun the tutorial on how to get your public IP address from the command line interface for any whitelisting reason, on any Linux distro.

In Linux, Oct 16, 2021

How to install Nomad on Debian-based distro

As a sequel of the Nomad installation series today I’m going to shed some light on how to install Nomad on every Debian-based distro. The installation process is quick and easy and th...

In Nomad, Debian, Oct 15, 2021

How to install Nomad on Amazon Linux 2

Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, deployments, and managing the resources ...

In Nomad, AWS, Amazon Linux 2, Oct 13, 2021

How to install Terraform on Amazon Linux 2

There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the Terraform official release site, so you need to get the late...

In Terraform, AWS, Amazon Linux 2, Oct 11, 2021

How to detect and free Inode usage on Linux

While I was maintaining a monitoring service for an AWS-based infrastructure the service daemon stopped working. After some digging on the host where the service was hosted, I find ou...

In Linux, Oct 09, 2021

How to install Ansible on Amazon Linux 2

When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...

In Ansible, AWS, Amazon Linux 2, Oct 07, 2021

How to install Nginx on Amazon Linux 2

Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...

In Nginx, AWS, Amazon Linux 2, Oct 05, 2021

Prevent accidental rm -rf /*

We’ve all heard the infamous rm -rf /* command. Now, let’s see how can we prevent from happening many times again.

In Linux, Sep 30, 2021

How to install Redis on Debian 11

Improving your site performance and caching your content can be achieved with Redis which stands as one of the most popular caching tools nowadays. How the complexity of the applicati...

In Redis, Debian, Sep 29, 2021

Count files within directory in Linux

Sometimes, for some reason we need to pull up the number of files in a certain directory. As always, this could be done in a couple of ways. Let’s go through each of them.

In Linux, Sep 28, 2021

How to install Ruby on Debian 11

Ruby as a programming language belongs to the group with a high demand along with the other popular programming languages. Nowadays, his framework Ruby on Rails is highly used by deve...

In Ruby, Debian, Sep 27, 2021

Run Linux Bash commands in background

If one thing can be annoying while working on remote Terminals on daily basis, that would be waiting for a command to finish. Wasting time on waiting commands to finish is resolvable ...

In Linux, Sep 26, 2021

How to setup Envoy proxy

Envoy is a minimalistic L7 proxy designed to be used along with the cloud native microservice applications. It’s an open-source container based project which can run on a minimum syst...

In Proxy, Sep 25, 2021

Remove last N characters of a string in Bash

As with most things in IT, there is always more than one way to skin a cat. In today’s blog post, we are going to test out few ways on how we could remove last n characters of a strin...

In Linux, Sep 24, 2021

How to create Apache reverse proxy for your application

Creating Apache reverse proxy follows a similar procedure as Nginx. In some of the previous posts, we saw How to set up Nginx reverse proxy, so today I’m going to show you exactly the...

In Apache, Sep 23, 2021

Protect files from being deleted in Linux

I’m going to start by saying we have all heard of these sudo rm -rf / horror stories on the Internet. There are a bunch of ways we could protect our servers from such accidents, which...

In Linux, Sep 22, 2021

How to search for a string in multiple files on Linux

These days there are a lot of code editors which can ease your life in terms of finding some particular string in multiple files or repo. The life will get complicated if you need to ...

In Linux, Sep 19, 2021

Convert Linux commands output from CSV to JSON

CSV to JSON conversion is commonly used in the Monitoring part of the DevOps cycle, usually when we need to gather some data, parse it, and ship it via some monitoring agent, like Flu...

In Parsing, Linux, Sep 18, 2021

How to install Docker Compose on Debian 11

We previously saw how to install Docker on Debian 11. As a sequel, I’m going to round it off with the docker compose installation on Debian 11.

In Docker, Debian, Sep 15, 2021

How to check if your web application is under DDoS attack

Nowadays, most of the web applications are vulnerable and exposed on many kinds of attacks. One of them is a DDoS attack. There are a lot of services on the internet that are offering...

In DDOS, Sep 11, 2021

How to enable CORS in Nginx

If you are trying to make API calls, and you are getting the following error from Nginx: No Access-Control-Allow-Origin header is present on the requested resource you should definite...

In Nginx, Sep 07, 2021

List processes with high memory usage in Linux

There are situations where your web application or particular software installed on your machine takes a lot of time to load. The troubleshooting process may last long but however, yo...

In Linux, Sep 05, 2021

Configure AKS automatic upgrades

Regarding managed Kubernetes services, IMHO Azure provides the best cloud experience, for a couple of reasons. From authentication and authorization standpoint, AKS integrates well wi...

In Azure, Kubernetes, Sep 01, 2021

Configure Azure CLI automatic upgrades

As part of the Azure CLI series, today we are going to see how we can configure automatic upgrades.

In Azure, Aug 31, 2021

How to check if command succeeded in Linux

As a DevOps engineer, or any other Operation roles, we sometimes need to check if a Linux command succeeded. There are many reasons, for example: our internet connection failed, a VPN...

In Linux, Aug 29, 2021

How to search Docker Hub repositories from the CLI

If you want to search for a specific Docker image on Docker Hub there is a way to do this from the CLI. The docker search command will allow you to search Docker Hub from the CLI. It ...

In Docker, Aug 24, 2021

How to install Nginx on Debian 11

Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your Debian server.

In Nginx, Debian, Aug 22, 2021

How to install MongoDB on Rocky Linux 8

MongoDB has an attitude to store the data in BSON, which can be searched and indexed, with a way better performance. Installing MongoDB on Rocky Linux can additionally improve the sea...

In MongoDB, Rocky Linux, Aug 20, 2021

How to install Docker on Debian 11

Finally, Debian 11 is released on August 14th, 2021, and this version is marked as a stable version. This tutorial will show you the steps on how to install Docker on a new fresh Debi...

In Docker, Debian, Aug 18, 2021

Missing sites-available directory in Nginx

As part of the Nginx series, in today’s tutorial, we are going to see on how to add that missing sites-available subdirectory. The reason behind this, is because most of us have been ...

In Nginx, Aug 17, 2021

How to disable SELinux

You may face Nginx or Apache web server blocking issues even when your firewall is disabled. SELinux is a security engine that may block some calls or permissions on your server. So, ...

In Linux, Aug 16, 2021

How to set up Nginx reverse proxy for your application

Using Nginx reverse proxy could be very useful, especially if you are developing an application with a framework that can run its own server like Node.js, Python, Ruby on Rails, etc. ...

In Nginx, Aug 14, 2021

How to block visitors by country in Nginx

In some of mine previous posts, I wrote about how you can whitelist IPs in Nginx. In today’s tutorial, we are going to see how can we block specific countries in a few steps.

In Nginx, Aug 13, 2021

How to install Podman on Ubuntu 20.04

If you try to install Podman on Ubuntu 20.04 with the default Ubuntu packages, the installation will fail with the following error: E: Unable to locate package podman. In this tutoria...

In Podman, Ubuntu, Aug 12, 2021

How to install Podman on Amazon Linux 2

If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m going to show you how to install...

In Podman, AWS, Amazon Linux 2, Aug 10, 2021

How to whitelist IP addresses in Nginx

We all know what firewalls are for, but sometimes they can become a pain in the arse, and we all end up opening HTTP and HTTPS port by default. Let’s say we host multiple domains via ...

In Nginx, Aug 09, 2021

How to secure Apache with Let's Encrypt on Rocky Linux 8

As a part of the Certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL/TLS certificate. Let’s start.

In Apache, Let's Encrypt, Rocky Linux, Aug 08, 2021

How to secure Nginx with Let's Encrypt on Rocky Linux 8

Previously we saw How to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...

In Nginx, Let's Encrypt, Rocky Linux, Aug 06, 2021

How to install Certbot on Rocky Linux 8

Installing Certbot on your Rocky Linux server/machine is usually meant to be used to switch an existing HTTP site to work in HTTPS. It’s a helpful tool written in python which helps y...

In Certbot, Rocky Linux, Aug 05, 2021

How to install PostgreSQL on Rocky Linux 8

Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...

In PostgreSQL, Rocky Linux, Aug 01, 2021

How to install MySQL on Rocky Linux 8

Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.

In MySQL, Rocky Linux, Jul 30, 2021

How to determine the correct number of max children processes for PHP-FPM

Most of the PHP developers are using Nginx with PHP-FPM as the most efficient approach. Most likely Nginx will throw PHP errors as the server reached the pm.max_children number. It me...

In PHP, Jul 28, 2021

How to configure DHCP to fix the network connectivity on Rocky Linux

Some RHEL distros can cause common networking configuration issues on the first installation, so you will not be able to update the packages on a server or browse external Websites fr...

In DHCP, Rocky Linux, Jul 26, 2021

How to install Apache on Rocky Linux 8

Apache is one of the most popular, open source web servers that allows you to host your web content on Internet. Apache can be installed easily and can run on any operating system. In...

In Apache, Rocky Linux, Jul 24, 2021

How to install kubectl on macOS

Kubectl stands as a powerful command-line tool which allows you to control your Kubernetes clusters. The main role of kubectl is to deploy applications, manage your cluster recourses,...

In macOS, Kubernetes, Jul 22, 2021

How to install Nginx on Rocky Linux 8

If you need to implement a reverse proxy, load balancer or mail proxy, Nginx is the best-suited web server that can manage all of these actions. This tutorial will explain, how to ins...

In Nginx, Rocky Linux, Jul 20, 2021

How to install Redis on Rocky Linux 8

If you are seeking a caching solution for your application then Redis will appear on the list. Here we will show you how to install Redis on Rocky Linux which is a replacement for Cen...

In Redis, Rocky Linux, Jul 17, 2021

How to install PowerShell on macOS

As a DevOps engineer, most likely we would prefer to work with our cool and comfy MacBook Pros. And if you are working with Azure, you will most probably need to install PowerShell at...

In PowerShell, macOS, Jul 16, 2021

How to install Docker Compose on ARM64

In some of the previous posts I’ve covered how you can install Docker Compose on Linux distributions like Rocky Linux for example. It’s pretty easy to set it up, right?! Usually when ...

In Docker, Jul 12, 2021

How to install Ansible on Rocky Linux 8

If there is a need to simplify the deployments of your applications, manage your infrastructure servers, etc… you can achieve it with Ansible which is one of the most popular tool for...

In Ansible, Rocky Linux, Jul 11, 2021

How to install Docker Compose on Rocky Linux 8

Installing Docker Compose on Rocky Linux follows the same procedure as the other Linux distros. First, you need to make sure that you have installed Docker on your Rocky Linux machine.

In Docker, Rocky Linux, Jul 06, 2021

How to install Docker on Rocky Linux 8

In the early December last year, Red Hat took us all by surprise with the CentOS 8 End Of Life (EOL) announcement, that was scheduled for the end of 2021. In response to this, the ori...

In Docker, Rocky Linux, Jul 05, 2021

How to fix Docker's login 'unknown shorthand flag' error

In some of the previous posts I’ve covered the authorization token method when authenticating to an AWS ECR private registry. If you have followed the steps as described in the post y...

In Docker, AWS, Jul 03, 2021

How to install Terraform on Rocky Linux 8

Finally, there is a replacement on the CentOS distro. The fresh and new Rocky Linux will replace the CentOS, so the CentOS team announces that they are going to focus on the CentOS St...

In Terraform, Rocky Linux, Jul 02, 2021

How to refresh AWS ECR authorization token

AWS ECR is a managed container registry which allows us to store, manage and deploy container images, mostly Docker images. Similar to Docker Hub, ECR supports two types of registries...

In AWS, Jul 01, 2021

How to list AWS S3 bucket size from the command line

AWS S3 as a service is pretty cheap and probably the most popular one among the rest of the cloud object storage services. S3 is most often used as a database backup storage, log stor...

In AWS, Jun 29, 2021

How to stop all running EC2 instances from the command line

Stopping preproduction, staging environment EC2 instances could be described sometimes as a good practice. In the next few lines, I’ll show you how you can easily stop all running EC2...

In AWS, Jun 27, 2021

How to install Terraform on Ubuntu 20.04

All the cloud service providers have integrated and ease the way of using Terraform. So, using Terraform as infrastructure as code tool will efficiently minimize your code and speed u...

In Terraform, Ubuntu, Jun 25, 2021

How to install Ansible on Ubuntu

Ansible is an IT automation tool that can help you to simplify the deployments of your applications, efficiently manage your infrastructure servers, and provides a lot of features and...

In Ansible, Ubuntu, Jun 06, 2021

How to install Docker Compose on Ubuntu 19.04

Installing Docker Compose on Ubuntu 19.04 will get some benefits in terms of the procedure of starting multiple Docker containers, creating volumes, etc. But, before installing Docker...

In Docker, Ubuntu, Dec 15, 2019

How to install Docker on Ubuntu 19.04

Following the steps below will let you realize that installing Docker on Ubuntu 19.04 is not that hard as it seems, so let’s see how you can do it.

In Docker, Ubuntu, Dec 13, 2019

How to upload files to Azure Cloud Shell

As the name says, Azure Cloud Shell is a browser-accessible shell, which is used for managing Azure resources. It comes with two types of command shells Bash and PowerShell. It also g...

In Azure, Nov 27, 2019

How to easily Start, Stop, Restart or Delete Azure VMs

Managing Azure Virtual Machines through the Portal could be pretty straightforward. But, it requires multiple steps using the GUI. For example, you’ll have to login to the Portal firs...

In Azure, Oct 28, 2019

How to backup and restore an Azure SQL database using Azure CLI

You cannot think of a SQL Server Administration or any kind of relational and non-relational database administration without the two magic words: backup and restore. Backing up a data...

In Azure, Oct 17, 2019

How to upload your local files to your AWS S3 bucket with AWS CLI

There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your databases, etc. I...

In AWS, Oct 15, 2019

How to rename an Azure SQL database using Azure CLI

As a part of an Azure SQL Database administration series, this post will be a followup from the last one, where I will write about renaming Azure SQL databases, which is kind of a com...

In Azure, Oct 14, 2019

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that I’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In Azure, Oct 13, 2019

How to install AWS CLI and setup multiple named profiles on Ubuntu

AWS CLI is an efficient and powerful tool cause it enables developers and DevOps people to have a full control over their AWS cloud services by executing commands on a specified line....

In AWS, Ubuntu, Oct 09, 2019

How to Direct-Upload to Azure Managed Disks

A few days ago, Microsoft announced the preview of direct-upload to Azure Managed Disks. So, there are two ways you could move a VHD to the Azure cloud as a managed disk: Upload the ...

In Azure, Oct 08, 2019

Generate SAS token for blobs in Azure storage using Azure CLI

A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...

In Azure, Oct 01, 2019

Install Azure CLI 2.0 on macOS with Homebrew

Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and auto...

In Azure, macOS, Sep 24, 2019

cloud

SERVICE_NETWORKING_NOT_ENABLED error in Terraform

Another GCP Terraform issue I was facing this week to share. It was related to not having API enabled as with most of them. This time the error I saw in the default console output was...

In GCP, Terraform, Aug 10, 2022

Update private service access connection in GCP

Not trying to rant about GCP, but to sum up, you need to do a ton of somehow complex steps just to get a simple thing up and running. It’s frustrating though.

In GCP, Aug 08, 2022

Enable/Disable resources conditionally in Terraform

Since there isn’t any resource_enabled = false feature developed by Terraform yet, here’s a quick hack to enable / disable resources.

In Terraform, Aug 02, 2022

Get Azure AD Microsoft Graph API Delegated / Application permission IDs in Terraform

Getting Microsoft Graph API Delegated and Application permission IDs are definitely hard to find, if you are doing things right – the programmatic way.

In Terraform, Azure, Jul 31, 2022

User-assigned vs System-assigned Managed Identities in Azure

In one of the last Azure posts, I wrote about the differences between Service Principal and Managed Identities. Since there are two types of MIs – User-assigned and System-assigned, I...

In Azure, Jul 29, 2022

App Registrations vs Enterprise Applications in Azure AD

There are two important things to differentiate when registering and working with apps in Azure AD: App Registrations and Enterprise Applications.

In Azure, Jul 23, 2022

Restart ECS tasks with --force-new-deployment

If you want to update your currently running ECS tasks and launch new ones, there is a cool option --force-new-deployment which will start a new deployment of the service and recycle ...

In AWS, Jul 14, 2022

'Failed to get existing workspaces: querying Cloud Storage failed: storage: bucket doesn't exist' error in Terraform

One more issue from the Terraform error list that I want to share with y’all. While I was struggling with GCP on a day-to-day basis, I tried to initialize the remote TF state file sto...

In GCP, Terraform, Jul 05, 2022

GCP Service Account impersonation with Terraform

The idea of GCP service account impersonation is to run and deploy Terraform infrastructure without the need of using service account keys as it introduces security risks along the wa...

In GCP, Terraform, Jun 29, 2022

Enable Google APIs with GCP and Terraform

Terraforming GCP projects from scratch could be a lot of hustle and bustle as you need to enable almost every freaking Google service (API) per project. That’s probably first and fore...

In GCP, Terraform, Jun 27, 2022

Install Fluent Bit on Amazon Linux 2

Same as Fluentd, Fluent Bit doesn’t belong in the official Amazon Linux yum repositories as well. The installation will be pretty much the same through fluent bit shell script. So let...

In Logging, AWS, Amazon Linux 2, Jun 26, 2022

Grant Azure AD Admin Consent programmatically (with Terraform)

Admin Consent by definition enables granting access to Azure-registered applications that requires admin approval securely.

In Azure, Terraform, Jun 25, 2022

Terraform ./init.sh script for AWS backend state

terraform init initialize the current Terraform working directory. I guess it does a lot under the hood which unfortunately won’t be the topic for today. Instead, I’ll share with you ...

In Terraform, AWS, Jun 09, 2022

'could not configure AzureCli Authorizer: could not parse Azure CLI version' error in Terraform

As I continue on my Terraform issues resolving journey, I want to share yet another not quite common TF issue.

In Terraform, May 22, 2022

Terraform aws_acm_certificate resource forces constant replacement

Take a look at the following Terraform code block:```bashresource “aws_acm_certificate” “devcoops” { domain_name = “devcoops.com” subject_alternative_names = [“devcoop...

In Terraform, AWS, May 04, 2022

Install Postfix on Amazon Linux 2

Besides Exim, Postfix is another useful and free mail transfer agent that is under IBM public license. The installation is easy and simple so let’s see how to install Postfix on Amazo...

In SMTP, AWS, Amazon Linux 2, May 03, 2022

Install Exim on Amazon Linux 2

Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.

In SMTP, AWS, Amazon Linux 2, May 01, 2022

Install dig on Amazon Linux 2

Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.

In DNS, AWS, Amazon Linux 2, Apr 29, 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, AWS, Amazon Linux 2, Apr 27, 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, AWS, Amazon Linux 2, Apr 25, 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 Utilities, AWS, Amazon Linux 2, Apr 23, 2022

Install Redis 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 going to show you how to install R...

In Redis, AWS, Amazon Linux 2, Apr 21, 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 Utilities, AWS, Amazon Linux 2, Apr 19, 2022

Install Rsync on Amazon Linux 2

Sending files, and directories remotely can be achieved with a lot of utility tools. One of them is Rsync, which is a cool tool for remote transfer. Let’s see how to install it on Ama...

In Utilities, AWS, Amazon Linux 2, Apr 17, 2022

Install Terragrunt on Amazon Linux 2

One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...

In Terragrunt, AWS, Amazon Linux 2, Apr 15, 2022

Install openfortivpn on Amazon Linux 2

openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.

In VPN, AWS, Amazon Linux 2, Apr 14, 2022

Install HAProxy on Amazon Linux 2

HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s se...

In Proxy, AWS, Amazon Linux 2, Apr 13, 2022

How to set up SSH keys on Amazon Linux 2

While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...

In SSH, AWS, Amazon Linux 2, Apr 11, 2022

Install VestaCP on Amazon Linux 2

Managing your AWS ec2 instance with VestaCP comes easier if you are not familiar with Linux. Here I’m going to tell you how to install VestaCP on Amazon Linux 2.

In Control Panels, AWS, Amazon Linux 2, Apr 05, 2022

Enable HTTP/2 for Azure App Service

HTTP/2 was released in 2015 (7 years ago) which is faster and more reliable than HTTP1. In this post I’m going to show you how easy it can get to upgrade from HTTP1 to HTTP2 for Azure...

In Azure, HTTP, Mar 25, 2022

How to kill thread or query in AWS RDS

Stopping some threads or queries that may appear in the deadlock queue or locked from the InnoDB engine on AWS RDS is a different thing than self-hosted MySQL or MariaDB. They can pot...

In AWS, Mar 24, 2022

Enable HTTPS redirection in Azure Functions

HTTPS redirection are quite common these days from security and SEO viewpoint. Today’s topic going to be about how to enable the redirection in Azure Functions.

In Azure, HTTP, Mar 21, 2022

How to upload files to S3 while preserving directory structure

Preserving the directory structure while uploading files to S3 could be a handy thing especially if you want to copy these files later to an EBS volume. The solution is pretty simple ...

In AWS, Mar 17, 2022

How to install Ruby on Amazon Linux 2

If you want to develop ruby application using some ruby frameworks like Ruby on Rails, Padrino, etc., on Amazon Linux 2 you will have to install ruby as a dependency. This topic will ...

In Ruby, AWS, Amazon Linux 2, Mar 16, 2022

Save data transfer costs with Cloudflare and Azure

Cloudflare Bandwidth Alliance represents a group of cloud and network providers that are willing to help us as their customers to reduce our data transfer charges. It’s interesting to...

In Azure, Cloudflare, Mar 15, 2022

How to install Kubectl on Amazon Linux 2

Installing the kubectl from the official Red Hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...

In Kubernetes, AWS, Amazon Linux 2, Mar 14, 2022

How to install OpenVPN on Amazon Linux 2

If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...

In VPN, AWS, Amazon Linux 2, Mar 12, 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

MySQL fix: 'Waiting for table metadata lock'

Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m going to list some useful solutions that might help you.

In MySQL, Feb 24, 2022

AWS Error 1290 (HY000): The MySQL server is running with the --read-only

Using AWS Aurora auto-scaling will increase the resources to handle the workload and connections. So that way you can see a bunch of replicas that are taking care of the workload. Con...

In MySQL, Feb 10, 2022

How to install Apache on Amazon Linux 2

Once you have provisioned an AWS EC2 instance installing Apache on Amazon Linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...

In Apache, AWS, Amazon Linux 2, Feb 06, 2022

How to get regional Azure public IP address ranges

Public Azure cloud IP ranges and service tags could be important thing when working with services and NSGs (Network Security Groups). The list could be downloaded as a JSON file in a ...

In Azure, Jan 12, 2022

Configure auto logout from the Azure Portal

In case you didn’t know by now, Azure Portal offers a decent amount of customization, including option to auto logout after a period of time.

In Azure, Jan 08, 2022

Install Podman Compose on Amazon Linux 2

As Podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it, and I’m g...

In Podman, AWS, Amazon Linux 2, Jan 07, 2022

Create AWS IAM User Login Profile with PGP encrypted password in Terraform

Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a Keybase, as stated in the official documentation. But, there is no info ...

In Terraform, AWS, Jan 04, 2022

Resolve AWS SSM plugin with name Standard_Stream not found

AWS SSM is a nice feature if you don’t want to deal with the majority of the SSH issues along the way. Today’s topic is all about resolving the:SessionId: devcoops-<some_string>...

In AWS, Jan 02, 2022

Associate AWS VPC with a private hosted zone

Working with multiple AWS accounts can lead to timeouts between the different account services. Behind the VPC peering and the routing table connection, a very important thing is to s...

In AWS, Dec 30, 2021

Decrypt iam_user_login_profile password in Terraform

It’s almost always not a good idea to decrypt aws_iam_user_login_profile password to Terraform output since there are better approaches, which will not be covered in this topic today....

In Terraform, Dec 29, 2021

Run Always Free Instances in the Oracle Cloud

I wouldn’t place Oracle Cloud in my top 5 cloud providers list, and as we know the cloud isn’t cheap nor free, but it seems that Oracle are stepping up the competitive game by offerin...

In Oracle, Dec 25, 2021

How to install PHP 7.4 on Amazon Linux 2

Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process, and it can be achieved in a few steps. This tutorial is aimed to show you the st...

In PHP, AWS, Amazon Linux 2, Dec 24, 2021

How to create CNAME for root domain

Working as a cloud engineer you may ask yourself, is it possible to create a CNAME record for your root domain? The answer will be no for most of the hosting providers, but that’s not...

In DNS, Cloudflare, Dec 18, 2021

AWS|How to allow source IP addresses to access specific URL path using an Application Load Balancer

Most likely, if you use ECS as your application orchestration service it will require some basic knowledge to manage Application Load Balancers short ALBs. Essentially managing the ac...

In AWS, Dec 12, 2021

How to install Certbot on Amazon Linux 2

Using AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL/TLS certific...

In Certbot, AWS, Amazon Linux 2, Nov 26, 2021

How to find the latest Azure deployment template schema API version

Using the latest ARM templates schema API version is important only when provisioning new resources. In general, there is no need to keep up-to-date API version of the already deploye...

In Azure, Nov 17, 2021

Get a list of all Azure regions available

Speaking of Azure regions and locations, very often we think of the commercial Azure cloud, since there is Azure Government, which basically represents a completely isolated Azure clo...

In Azure, Nov 15, 2021

How to resolve AWS Aurora ERROR 3024 (HY000)

If you hold some heavy-load AWS Aurora database tables, and you are trying to export some tables or import data, there is a big chance to face the following error ERROR 3024 (HY000): ...

In AWS, Nov 02, 2021

Ways to provision infrastructure on Azure

Last week I wrote about the different Ways to Provision Infrastructure on AWS, and as you might expect I’m doing another one, but this time it’s all Azure.

In Azure, Nov 01, 2021

How to drain an ECS instance

While troubleshooting the ECS cluster you may notice some EC2 instances might be unhealthy due to some processes being in a stuck state. Here I’m going to show how to drain an ECS ins...

In AWS, Oct 29, 2021

Ways to provision infrastructure on AWS

Popular as it is, Infrastructure as Code also known as IaC, is a practice and process of managing and deploying infrastructure through code. Now, we got the flexibility to choose from...

In AWS, Oct 28, 2021

Solution: The AWS Access Key Id does not exist in our records

Working with multiple AWS account profiles could sometimes be not so pleasant experience, especially when handling different AWS named profiles for different purposes. The AWS Access ...

In AWS, Oct 26, 2021

How to install Nomad on Amazon Linux 2

Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, deployments, and managing the resources ...

In Nomad, AWS, Amazon Linux 2, Oct 13, 2021

5 ways to protect root account in the Cloud

Security as one of the Five Pillars of the Well-Architected Framework has been underlooked, not just in the age of the cloud computing but before that as well. With cloud migration be...

In Cloud, Oct 12, 2021

How to install Terraform on Amazon Linux 2

There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the Terraform official release site, so you need to get the late...

In Terraform, AWS, Amazon Linux 2, Oct 11, 2021

Service Endpoints vs Private Links in Azure

Microsoft Azure provides many options to approach networking, starting from Azure VPN, ExpressRoute, Azure Route Server, NVAs, and others. These are more likely to be implemented in t...

In Azure, Oct 10, 2021

How to install Ansible on Amazon Linux 2

When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...

In Ansible, AWS, Amazon Linux 2, Oct 07, 2021

Get AWS region name in Terraform

The following tutorial will be a step-by-step guide on how to get the current AWS region name in Terraform.

In Terraform, AWS, Oct 06, 2021

How to install Nginx on Amazon Linux 2

Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...

In Nginx, AWS, Amazon Linux 2, Oct 05, 2021

How to create an S3 bucket through AWS CloudFormation

Deploying your infrastructure through CloudFormation as an infrastructure as code tool can cause some murky situations as a beginner because AWS is facing a lack of CloudFormation doc...

In AWS, Oct 03, 2021

7 ways to save money in the Cloud

Cost optimization is just one of the five pillars of Well-Architected Framework, which is identical across the top 3 public cloud provider players. Although, deploying a billing alarm...

In Cloud, Oct 02, 2021

Remmina can't remote into AWS EC2 Windows machine due to libfreerdp

If you need to access your Windows-based server through your local Linux machine you should consider using some RDP software. A few days ago I needed to access a Microsoft SQL server ...

In RDP, AWS, Oct 01, 2021

How to dump Elasticsearch index to S3 with Docker

Previously I’ve covered the topic around export and import the Elasticsearch index from one ES cluster to another. So now if you want to back up a particular index, instead of storing...

In Elasticsearch, Docker, AWS, Sep 21, 2021

How to make local archive_file to be available when deploying Terraform aws_lambda_function

In today’s blog post, I really need to share with you all a quick tip regarding Terraform’s aws_lambda_function resource and how to make the latest local data archive_file to be prese...

In Terraform, AWS, Sep 20, 2021

How to get private IP address of Fargate ECS task with metadata

Previously I’ve explained How to SSH into an AWS ECS Fargate-managed container. In this tutorial, I will cover some steps on how can you get the private IP address of a Fargate ECS co...

In AWS, Sep 13, 2021

Define the CPU and memory values for tasks hosted on Fargate

Migrating your ec2 instances on ECS to Fargate will let you focus on building applications instead of managing servers. Maybe you will ask yourself, which size do you need to pick up ...

In AWS, Sep 09, 2021

Azure VMs Auto-shutdown

Talking about VMs shutdown operation, we got few ways we could do it in Azure: Stop VMs manually from the Portal. Running the az CLI command, described in How to easily Start, Stop,...

In Azure, Sep 08, 2021

Scale AKS user node pool to 0

In case you missed Configure AKS automatic upgrades.In today’s post, we are going to see how can we be cost-effective, by scaling the User node pool to 0.

In Azure, Kubernetes, Sep 06, 2021

Schedule automated Start and Stop for Azure VMs

Scheduling automated start and stop for Azure VMs is almost as good as provisioning and deprovisioning infrastructure on-demand, by using Infrastructure as Code (IaC) tools, like Terr...

In Azure, Sep 04, 2021

Configure AKS automatic upgrades

Regarding managed Kubernetes services, IMHO Azure provides the best cloud experience, for a couple of reasons. From authentication and authorization standpoint, AKS integrates well wi...

In Azure, Kubernetes, Sep 01, 2021

Configure Azure CLI automatic upgrades

As part of the Azure CLI series, today we are going to see how we can configure automatic upgrades.

In Azure, Aug 31, 2021

How to remove ECS task definitions

For those who have experience with AWS ECS, we all know how frustrating is sometimes that we just can’t delete task definitions. The only option is to update all task definition revis...

In AWS, Aug 25, 2021

How to install Podman on Amazon Linux 2

If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m going to show you how to install...

In Podman, AWS, Amazon Linux 2, Aug 10, 2021

How to join EC2 instance to ECS cluster

AWS ECS is a container orchestration tool, and it could be a great starting point as a beginner DevOps engineer before jumping on the Kubernetes hype train. Using an Auto Scaling grou...

In AWS, Jul 25, 2021

How to refresh AWS ECR authorization token

AWS ECR is a managed container registry which allows us to store, manage and deploy container images, mostly Docker images. Similar to Docker Hub, ECR supports two types of registries...

In AWS, Jul 01, 2021

How to resolve AWS Elasticsearch cluster in red or yellow state

Understanding the ES cluster status state is crucial, when it comes to ES troubleshooting. If your role is to keep ES cluster healthy then you have to understand all the three states ...

In AWS, Elasticsearch, Jun 30, 2021

How to list AWS S3 bucket size from the command line

AWS S3 as a service is pretty cheap and probably the most popular one among the rest of the cloud object storage services. S3 is most often used as a database backup storage, log stor...

In AWS, Jun 29, 2021

How to stop all running EC2 instances from the command line

Stopping preproduction, staging environment EC2 instances could be described sometimes as a good practice. In the next few lines, I’ll show you how you can easily stop all running EC2...

In AWS, Jun 27, 2021

SSH into an AWS ECS Fargate-managed container

Managing servers from the developers’ side causes difficulties. To avoid such situations AWS offers Fargate, the new compute engine which will manage your ECS cluster depending on you...

In SSH, AWS, Jun 22, 2021

How to fix ECS CloudFormation template if it's stuck in the rollback state

If your microservices are using ECS services and the deployments are going through CloudFormation, that sometimes can cause weird issues. For example, if there is an application error...

In AWS, Mar 24, 2021

How to upload files to Azure Cloud Shell

As the name says, Azure Cloud Shell is a browser-accessible shell, which is used for managing Azure resources. It comes with two types of command shells Bash and PowerShell. It also g...

In Azure, Nov 27, 2019

How to easily Start, Stop, Restart or Delete Azure VMs

Managing Azure Virtual Machines through the Portal could be pretty straightforward. But, it requires multiple steps using the GUI. For example, you’ll have to login to the Portal firs...

In Azure, Oct 28, 2019

How to backup and restore an Azure SQL database using Azure CLI

You cannot think of a SQL Server Administration or any kind of relational and non-relational database administration without the two magic words: backup and restore. Backing up a data...

In Azure, Oct 17, 2019

How to upload your local files to your AWS S3 bucket with AWS CLI

There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your databases, etc. I...

In AWS, Oct 15, 2019

How to rename an Azure SQL database using Azure CLI

As a part of an Azure SQL Database administration series, this post will be a followup from the last one, where I will write about renaming Azure SQL databases, which is kind of a com...

In Azure, Oct 14, 2019

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that I’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In Azure, Oct 13, 2019

How to install AWS CLI and setup multiple named profiles on Ubuntu

AWS CLI is an efficient and powerful tool cause it enables developers and DevOps people to have a full control over their AWS cloud services by executing commands on a specified line....

In AWS, Ubuntu, Oct 09, 2019

How to Direct-Upload to Azure Managed Disks

A few days ago, Microsoft announced the preview of direct-upload to Azure Managed Disks. So, there are two ways you could move a VHD to the Azure cloud as a managed disk: Upload the ...

In Azure, Oct 08, 2019

How to restore deleted Azure Storage Blobs

Accidental deletion of files can happen to anyone working either on-premise or in the cloud. As a DevOps engineer who is responsible for managing access permissions to resources, the ...

In Azure, Oct 04, 2019

How to copy from AWS S3 bucket to Azure Blob Storage

When we mention public cloud and DevOps, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...

In Azure, AWS, Oct 03, 2019

Generate SAS token for blobs in Azure storage using Azure CLI

A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...

In Azure, Oct 01, 2019

Install Azure CLI 2.0 on macOS with Homebrew

Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and auto...

In Azure, macOS, Sep 24, 2019

git

GitHub EMU external groups with Terraform

GitHub EMU (Enterprise Managed Users) in general allows users to manage their enterprise members through IdPs (identity providers). Azure Active Directory and Okta are the only ones s...

In GitHub, Terraform, Jul 01, 2022

Install Git on Alpine Linux

Previously git was not included in the official alpine packages. As the new Alpine versions are released, there are improvements of course. So now git is a part of the Alpine packages...

In Git, Alpine Linux, Jun 20, 2022

How to rename a Git branch

There might be a case where you need to rename a current branch you are already working on, and I’m going to show you the least painful way to do so. Now, the most common reason is of...

In Git, Apr 30, 2022

How to checkout Git pull requests

Checking out Git PRs on your local machine it’s not so uncommon practice, especially if you want to test things out before they are merged into the main branch or any other branch tha...

In Git, Apr 18, 2022

How to remove already committed secrets from Git repositories

One of the most common secure practices in Git is to never commit any secrets in Git repos. But, what happen if you did, or someone else made that rookie mistake?! Let’s see how to re...

In Git, Mar 11, 2022

How to remove empty commits in Git

In the previous tutorial, we’ve learned How to create empty commits in Git. Let’s see how can we remove them as well.

In Git, Aug 27, 2021

How to get Git commit count

As part of the Git series, today we are going to see how can we list and count empty and non-empty commits.

In Git, Aug 21, 2021

GitHub hidden feature

There is a mind-blowing GitHub feature or if I can call it a “secret” that I’ve just discovered, and I need to share with you all.

In GitHub, Aug 19, 2021

How to create and push empty Git commits

As a DevOps engineer, you must have heard at least something about GitOps. GitOps is a set of practices that allows to manage infrastructure and application configurations using Git a...

In Git, Aug 15, 2021

Use Git LFS with existing Bitbucket repository

Git LFS allows users to save space by storing binary files in a different location, so in this tutorial I’m going to show you how can you operate and manage your repo using Git LFS.

In Git, Sep 28, 2019

bitbucket

Use Git LFS with existing Bitbucket repository

Git LFS allows users to save space by storing binary files in a different location, so in this tutorial I’m going to show you how can you operate and manage your repo using Git LFS.

In Git, Sep 28, 2019

azure blob storage

How to restore deleted Azure Storage Blobs

Accidental deletion of files can happen to anyone working either on-premise or in the cloud. As a DevOps engineer who is responsible for managing access permissions to resources, the ...

In Azure, Oct 04, 2019

How to copy from AWS S3 bucket to Azure Blob Storage

When we mention public cloud and DevOps, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...

In Azure, AWS, Oct 03, 2019

Generate SAS token for blobs in Azure storage using Azure CLI

A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...

In Azure, Oct 01, 2019

sas token

Generate SAS token for blobs in Azure storage using Azure CLI

A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...

In Azure, Oct 01, 2019

security

Install Certbot on Alpine Linux

Generating an SSL certificate using Alpine Linux can be easily done through Certbot. So let’s see how to install Certbot on Alpine Linux.

In Certbot, Alpine Linux, Aug 01, 2022

Docker and 'x509: certificate has expired or is not yet valid' error

It’s been a while since I’ve encountered any issues and errors related to Docker. It has to do with one of two things. Docker became more stable, or I’m not spending time on it as I w...

In Docker, Jul 21, 2022

Install UFW on Alpine Linux

Protecting your Alpine Docker images is always a good practice, especially the vulnerable services. Today, I will install UFW on Alpine Linux.

In Firewalls, Alpine Linux, Jul 16, 2022

Fix VPN `Connection failed` after upgrade to Ubuntu 22.04

Since the Ubuntu 22.04 version has been released, there were a lot of rumors that there is a big improvement in terms of the Ubuntu style and features, so I decided to upgrade it. Aft...

In VPN, Ubuntu, May 21, 2022

Terraform aws_acm_certificate resource forces constant replacement

Take a look at the following Terraform code block:```bashresource “aws_acm_certificate” “devcoops” { domain_name = “devcoops.com” subject_alternative_names = [“devcoop...

In Terraform, AWS, May 04, 2022

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 through it.

In Ansible, Apr 28, 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 ansible.builtin.user module, simply because I needed to commit a password hash for ...

In Linux, Apr 26, 2022

Install openfortivpn on Amazon Linux 2

openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.

In VPN, AWS, Amazon Linux 2, Apr 14, 2022

How to set up SSH keys on Amazon Linux 2

While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...

In SSH, AWS, Amazon Linux 2, Apr 11, 2022

Add HSTS in Nginx

Increasing the website performance and decreasing the server load can be achieved by HSTS. Enabling the HSTS security headers in Nginx will tell the browser to use https instead of ht...

In Nginx, Mar 28, 2022

Enable HTTPS redirection in Azure Functions

HTTPS redirection are quite common these days from security and SEO viewpoint. Today’s topic going to be about how to enable the redirection in Azure Functions.

In Azure, HTTP, Mar 21, 2022

Ansible Vault password integration with Bitwarden

Ansible Vault encrypts Ansible data files mostly variables, so you could protect things such as passwords and keys. It uses a single password for encryption and decryption which initi...

In Ansible, Mar 13, 2022

How to install OpenVPN on Amazon Linux 2

If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...

In VPN, AWS, Amazon Linux 2, Mar 12, 2022

How to remove already committed secrets from Git repositories

One of the most common secure practices in Git is to never commit any secrets in Git repos. But, what happen if you did, or someone else made that rookie mistake?! Let’s see how to re...

In Git, Mar 11, 2022

How to fix Telnet SMTP 'must issue STARTTLS command first' error

If you have already been testing the Telnet’s GMAIL SMTP, you must have seen the following error:530 5.7.0 Must issue a STARTTLS command first. - gsmtpThis means that you have didn’t ...

In SMTP, Telnet, Feb 01, 2022

base64 encode and decode from the CLI

Base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability, ...

In Utilities, Jan 30, 2022

How to fix Gmail SMTP's 'Please log in via your web browser and then try again'

SMTP configuration has always been an annoying task, especially for the inexperienced engineers. Needless to say, setting up mail server from scratch is a whole other beast. Today’s f...

In SMTP, Jan 26, 2022

Certbot auto renew SSL/TLS certificate with a cron job

If you are using a free SSL/TLS certificate from Certbot, probably you are tired of the manual renewal. Here I’m going to show you how to automate the process of creating a cron job t...

In Certbot, Jan 19, 2022

SFTP transfer files non-interactive through the command line

This tutorial is aimed to show you how to download files from a remote sftp server and of course how to upload files to a remote sftp server. It’s useful if you are writing a bash or ...

In SFTP, Jan 13, 2022

How to connect with SFTP through the command line

Most of the shared hosting platforms are providing SFTP access to the end-users as a secure file transfer protocol. There are a lot of free and open source GUI platforms for ftp, SFTP...

In SFTP, Jan 11, 2022

Configure auto logout from the Azure Portal

In case you didn’t know by now, Azure Portal offers a decent amount of customization, including option to auto logout after a period of time.

In Azure, Jan 08, 2022

Create AWS IAM User Login Profile with PGP encrypted password in Terraform

Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a Keybase, as stated in the official documentation. But, there is no info ...

In Terraform, AWS, Jan 04, 2022

Associate AWS VPC with a private hosted zone

Working with multiple AWS accounts can lead to timeouts between the different account services. Behind the VPC peering and the routing table connection, a very important thing is to s...

In AWS, Dec 30, 2021

Decrypt iam_user_login_profile password in Terraform

It’s almost always not a good idea to decrypt aws_iam_user_login_profile password to Terraform output since there are better approaches, which will not be covered in this topic today....

In Terraform, Dec 29, 2021

Redirect HTTP to HTTPS in Apache

Securing your website by setting redirect from HTTP to HTTPS in Apache can be achieved easily if your SSL/TLS certificate is generated and ready to use. It can be done using a virtual...

In Apache, HTTP, Dec 28, 2021

Redirect HTTP to HTTPS in Nginx

Nowadays almost every owner of a website wants to secure his site with an SSL/TLS certificate. Once that is achieved the second step is to redirect the whole HTTP traffic to HTTPS dep...

In Nginx, HTTP, Dec 26, 2021

Scan Docker images for Apache Log4j2 vulnerability

Docker Hub already announced public Log4jShell detection which is now live on Docker Official Images. But for those of you who are still using some old or custom images, there is a wa...

In Docker, Apache Log4j2, Dec 20, 2021

Protect Elasticsearch stack from Apache Log4j vulnerability

As the Apache Log4j vulnerability is growing massively and its spread all over the internet a lot of worldwide companies are affected mostly on their Java-based applications. Elastics...

In Elasticsearch, Dec 16, 2021

How to check Apache Log4j vulnerability in Jenkins

There are a lot of open forums and discussions due to the Log4j zero-day flaw these days. Log4j is an open-source Java-based library developed by Apache Software Foundation, as it’s u...

In Jenkins, Apache Log4j2, Dec 14, 2021

AWS|How to allow source IP addresses to access specific URL path using an Application Load Balancer

Most likely, if you use ECS as your application orchestration service it will require some basic knowledge to manage Application Load Balancers short ALBs. Essentially managing the ac...

In AWS, Dec 12, 2021

How to install UFW on Amazon Linux 2

Maybe you will raise a question is it worth installing UFW on Amazon Linux 2. Some say that it’s enough to use the instance security groups but if you need some extra security on a se...

In Firewalls, AWS, Amazon Linux 2, Dec 10, 2021

How to install UFW on CentOS 7

Most of the RHEL Linux distros are coming with pre-installed firewalld as a default firewall. But if you are UFW fan and you don’t want to waste your time or resources on getting fami...

In Firewalls, CentOS, Dec 08, 2021

firewalld allow MySQL remote access

On most of the RHEL-based distributions, firewalld comes as a default firewall, and it’s configured to pass only SSH connections by default. Therefore, in this tutorial I’m going to s...

In Firewalls, MySQL, Dec 06, 2021

How to list, renew and delete Certbot certificates

Managing Certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...

In Certbot, Dec 03, 2021

How to install firewalld on Amazon Linux 2

Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...

In Firewalls, AWS, Amazon Linux 2, Dec 02, 2021

How to install Firewalld on Rocky Linux 8

Keeping your services and host itself secure is crucial. Nowadays, there are a lot of attacks that can harm your host server, like brute force attacks, dictionary SSH attacks, SQL inj...

In Firewalls, Rocky Linux, Nov 30, 2021

How to secure domain with Let's Encrypt SSL/TLS certificate on Amazon Linux 2

As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL/TLS certifi...

In Let's Encrypt, AWS, Amazon Linux 2, Nov 28, 2021

How to generate random password from the CLI

There are a lot of ways to generate random passwords, starting from simple password generator sites found online to the most advanced password management solutions. Today’s topic will...

In Linux, Nov 27, 2021

How to install Certbot on Amazon Linux 2

Using AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL/TLS certific...

In Certbot, AWS, Amazon Linux 2, Nov 26, 2021

Solution: The AWS Access Key Id does not exist in our records

Working with multiple AWS account profiles could sometimes be not so pleasant experience, especially when handling different AWS named profiles for different purposes. The AWS Access ...

In AWS, Oct 26, 2021

5 ways to protect root account in the Cloud

Security as one of the Five Pillars of the Well-Architected Framework has been underlooked, not just in the age of the cloud computing but before that as well. With cloud migration be...

In Cloud, Oct 12, 2021

How to check if your web application is under DDoS attack

Nowadays, most of the web applications are vulnerable and exposed on many kinds of attacks. One of them is a DDoS attack. There are a lot of services on the internet that are offering...

In DDOS, Sep 11, 2021

How to enable CORS in Nginx

If you are trying to make API calls, and you are getting the following error from Nginx: No Access-Control-Allow-Origin header is present on the requested resource you should definite...

In Nginx, Sep 07, 2021

How to disable SELinux

You may face Nginx or Apache web server blocking issues even when your firewall is disabled. SELinux is a security engine that may block some calls or permissions on your server. So, ...

In Linux, Aug 16, 2021

How to block visitors by country in Nginx

In some of mine previous posts, I wrote about how you can whitelist IPs in Nginx. In today’s tutorial, we are going to see how can we block specific countries in a few steps.

In Nginx, Aug 13, 2021

How to whitelist IP addresses in Nginx

We all know what firewalls are for, but sometimes they can become a pain in the arse, and we all end up opening HTTP and HTTPS port by default. Let’s say we host multiple domains via ...

In Nginx, Aug 09, 2021

How to secure Apache with Let's Encrypt on Rocky Linux 8

As a part of the Certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL/TLS certificate. Let’s start.

In Apache, Let's Encrypt, Rocky Linux, Aug 08, 2021

How to secure Nginx with Let's Encrypt on Rocky Linux 8

Previously we saw How to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...

In Nginx, Let's Encrypt, Rocky Linux, Aug 06, 2021

How to install Certbot on Rocky Linux 8

Installing Certbot on your Rocky Linux server/machine is usually meant to be used to switch an existing HTTP site to work in HTTPS. It’s a helpful tool written in python which helps y...

In Certbot, Rocky Linux, Aug 05, 2021

How to refresh AWS ECR authorization token

AWS ECR is a managed container registry which allows us to store, manage and deploy container images, mostly Docker images. Similar to Docker Hub, ECR supports two types of registries...

In AWS, Jul 01, 2021

SSH into an AWS ECS Fargate-managed container

Managing servers from the developers’ side causes difficulties. To avoid such situations AWS offers Fargate, the new compute engine which will manage your ECS cluster depending on you...

In SSH, AWS, Jun 22, 2021

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that I’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In Azure, Oct 13, 2019

Generate SAS token for blobs in Azure storage using Azure CLI

A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...

In Azure, Oct 01, 2019

aws

Restart ECS tasks with --force-new-deployment

If you want to update your currently running ECS tasks and launch new ones, there is a cool option --force-new-deployment which will start a new deployment of the service and recycle ...

In AWS, Jul 14, 2022

Install Traceroute on Amazon Linux 2

Traceroute is a suitable option in a situation where you need to troubleshoot some network connection issues. The tool displays all the possible routes and packet loss over the Intern...

In Utilities, AWS, Amazon Linux 2, Jul 12, 2022

Install Fluent Bit on Amazon Linux 2

Same as Fluentd, Fluent Bit doesn’t belong in the official Amazon Linux yum repositories as well. The installation will be pretty much the same through fluent bit shell script. So let...

In Logging, AWS, Amazon Linux 2, Jun 26, 2022

Install Fluentd on Amazon Linux 2

Fluentd is one of the most popular open-source projects, used for gathering logs from a set of sources and forwarding them to other monitoring software. Here I’m going to show you how...

In Logging, AWS, Amazon Linux 2, Jun 24, 2022

Terraform ./init.sh script for AWS backend state

terraform init initialize the current Terraform working directory. I guess it does a lot under the hood which unfortunately won’t be the topic for today. Instead, I’ll share with you ...

In Terraform, AWS, Jun 09, 2022

Install AWS CLI on Amazon Linux 2

Managing some AWS services through AWS CLI can be useful and practical, especially when you need to perform some quick actions like listing active resources or troubleshooting. Here I...

In AWS, Amazon Linux 2, Jun 02, 2022

Install PHP Composer on Amazon Linux 2

Using PHP on Amazon Linux 2 can potentially require a composer installation for some libraries. Installing Composer on Amazon Linux 2 is a quick and easy procedure. Let’s see it.

In PHP, AWS, Amazon Linux 2, May 31, 2022

Install Telnet on Amazon Linux 2

As a useful tool Telnet can help you to troubleshoot some connectivity problems, access specific port and also offers a lot of other useful stuff as well. The installation is simple a...

In Telnet, AWS, Amazon Linux 2, May 29, 2022

Install PHP 8.1 on Amazon Linux 2

If you want to hang out with the latest major update of PHP, then you should definitely try to install PHP 8.1 on Amazon Linux 2. Let’s do it.

In PHP, AWS, Amazon Linux 2, May 27, 2022

Install tar on Amazon Linux 2

Yet another free cool tool for archiving files, is tar. I’m going to stick to the title itself and show you how to install tar on Amazon Linux 2.

In Archive, AWS, Amazon Linux 2, May 25, 2022

Install Zip and Unzip on Amazon Linux 2

Although the usage of zip and unzip is very simple there is at least one moment in our life when we are forced to use them. It may happen when you are migrating a website or some data...

In Archive, AWS, Amazon Linux 2, May 23, 2022

Install jq on Amazon Linux 2

jq one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...

In Parsing, AWS, Amazon Linux 2, May 17, 2022

Resolve `Resource handler returned message: Model validation failed (#/ContainerDefinitions/0/Environment: array items are not unique)` error in CloudFormation

While updating some of my CloudFormation templates I stumbled upon the following error:Resource handler returned message: "Model validation failed (#/ContainerDefinitions/0/Environmen...

In AWS, May 11, 2022

Terraform aws_acm_certificate resource forces constant replacement

Take a look at the following Terraform code block:```bashresource “aws_acm_certificate” “devcoops” { domain_name = “devcoops.com” subject_alternative_names = [“devcoop...

In Terraform, AWS, May 04, 2022

Install Postfix on Amazon Linux 2

Besides Exim, Postfix is another useful and free mail transfer agent that is under IBM public license. The installation is easy and simple so let’s see how to install Postfix on Amazo...

In SMTP, AWS, Amazon Linux 2, May 03, 2022

Install Exim on Amazon Linux 2

Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.

In SMTP, AWS, Amazon Linux 2, May 01, 2022

Install dig on Amazon Linux 2

Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.

In DNS, AWS, Amazon Linux 2, Apr 29, 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, AWS, Amazon Linux 2, Apr 27, 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, AWS, Amazon Linux 2, Apr 25, 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 Utilities, AWS, Amazon Linux 2, Apr 23, 2022

Install Redis 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 going to show you how to install R...

In Redis, AWS, Amazon Linux 2, Apr 21, 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 Utilities, AWS, Amazon Linux 2, Apr 19, 2022

Install Rsync on Amazon Linux 2

Sending files, and directories remotely can be achieved with a lot of utility tools. One of them is Rsync, which is a cool tool for remote transfer. Let’s see how to install it on Ama...

In Utilities, AWS, Amazon Linux 2, Apr 17, 2022

Install Terragrunt on Amazon Linux 2

One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...

In Terragrunt, AWS, Amazon Linux 2, Apr 15, 2022

Install openfortivpn on Amazon Linux 2

openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.

In VPN, AWS, Amazon Linux 2, Apr 14, 2022

Install HAProxy on Amazon Linux 2

HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s se...

In Proxy, AWS, Amazon Linux 2, Apr 13, 2022

How to set up SSH keys on Amazon Linux 2

While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...

In SSH, AWS, Amazon Linux 2, Apr 11, 2022

Install Node.js on Amazon Linux 2

Node.js doesn’t exist in the default Amazon Linux 2 yum packages. So we should add the Node.js official repo and use it for the installation. Let’s see how to install Node.js on Amazo...

In Node.js, AWS, Amazon Linux 2, Apr 09, 2022

Enable EPEL on Amazon Linux 2

Using EPEL package repository can be very beneficial. EPEL contains all the common packages that you may want to install. Unfortunately, EPEL is disabled in Amazon Linux 2. Let’s see ...

In AWS, Amazon Linux 2, Apr 07, 2022

Install VestaCP on Amazon Linux 2

Managing your AWS ec2 instance with VestaCP comes easier if you are not familiar with Linux. Here I’m going to tell you how to install VestaCP on Amazon Linux 2.

In Control Panels, AWS, Amazon Linux 2, Apr 05, 2022

How to install Go on Amazon Linux 2

Installing Golang on Amazon Linux 2 can be done within a few minutes since Go exists in the default Amazon Linux 2 yum packages. Let’s dive into it.

In Golang, AWS, Amazon Linux 2, Apr 01, 2022

How to install SQLite on Amazon Linux 2

SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...

In SQLite, AWS, Amazon Linux 2, Mar 30, 2022

How to kill thread or query in AWS RDS

Stopping some threads or queries that may appear in the deadlock queue or locked from the InnoDB engine on AWS RDS is a different thing than self-hosted MySQL or MariaDB. They can pot...

In AWS, Mar 24, 2022

How to upload files to S3 while preserving directory structure

Preserving the directory structure while uploading files to S3 could be a handy thing especially if you want to copy these files later to an EBS volume. The solution is pretty simple ...

In AWS, Mar 17, 2022

How to install Ruby on Amazon Linux 2

If you want to develop ruby application using some ruby frameworks like Ruby on Rails, Padrino, etc., on Amazon Linux 2 you will have to install ruby as a dependency. This topic will ...

In Ruby, AWS, Amazon Linux 2, Mar 16, 2022

How to install Kubectl on Amazon Linux 2

Installing the kubectl from the official Red Hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...

In Kubernetes, AWS, Amazon Linux 2, Mar 14, 2022

How to install OpenVPN on Amazon Linux 2

If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...

In VPN, AWS, Amazon Linux 2, Mar 12, 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

MySQL fix: 'Waiting for table metadata lock'

Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m going to list some useful solutions that might help you.

In MySQL, Feb 24, 2022

AWS Error 1290 (HY000): The MySQL server is running with the --read-only

Using AWS Aurora auto-scaling will increase the resources to handle the workload and connections. So that way you can see a bunch of replicas that are taking care of the workload. Con...

In MySQL, Feb 10, 2022

How to install Apache on Amazon Linux 2

Once you have provisioned an AWS EC2 instance installing Apache on Amazon Linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...

In Apache, AWS, Amazon Linux 2, Feb 06, 2022

Install Podman Compose on Amazon Linux 2

As Podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it, and I’m g...

In Podman, AWS, Amazon Linux 2, Jan 07, 2022

Create AWS IAM User Login Profile with PGP encrypted password in Terraform

Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a Keybase, as stated in the official documentation. But, there is no info ...

In Terraform, AWS, Jan 04, 2022

Resolve AWS SSM plugin with name Standard_Stream not found

AWS SSM is a nice feature if you don’t want to deal with the majority of the SSH issues along the way. Today’s topic is all about resolving the:SessionId: devcoops-<some_string>...

In AWS, Jan 02, 2022

Associate AWS VPC with a private hosted zone

Working with multiple AWS accounts can lead to timeouts between the different account services. Behind the VPC peering and the routing table connection, a very important thing is to s...

In AWS, Dec 30, 2021

Decrypt iam_user_login_profile password in Terraform

It’s almost always not a good idea to decrypt aws_iam_user_login_profile password to Terraform output since there are better approaches, which will not be covered in this topic today....

In Terraform, Dec 29, 2021

How to install PHP 7.4 on Amazon Linux 2

Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process, and it can be achieved in a few steps. This tutorial is aimed to show you the st...

In PHP, AWS, Amazon Linux 2, Dec 24, 2021

AWS|How to allow source IP addresses to access specific URL path using an Application Load Balancer

Most likely, if you use ECS as your application orchestration service it will require some basic knowledge to manage Application Load Balancers short ALBs. Essentially managing the ac...

In AWS, Dec 12, 2021

How to install UFW on Amazon Linux 2

Maybe you will raise a question is it worth installing UFW on Amazon Linux 2. Some say that it’s enough to use the instance security groups but if you need some extra security on a se...

In Firewalls, AWS, Amazon Linux 2, Dec 10, 2021

How to install firewalld on Amazon Linux 2

Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...

In Firewalls, AWS, Amazon Linux 2, Dec 02, 2021

How to secure domain with Let's Encrypt SSL/TLS certificate on Amazon Linux 2

As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL/TLS certifi...

In Let's Encrypt, AWS, Amazon Linux 2, Nov 28, 2021

How to install Certbot on Amazon Linux 2

Using AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL/TLS certific...

In Certbot, AWS, Amazon Linux 2, Nov 26, 2021

How to resolve AWS Aurora ERROR 3024 (HY000)

If you hold some heavy-load AWS Aurora database tables, and you are trying to export some tables or import data, there is a big chance to face the following error ERROR 3024 (HY000): ...

In AWS, Nov 02, 2021

How to drain an ECS instance

While troubleshooting the ECS cluster you may notice some EC2 instances might be unhealthy due to some processes being in a stuck state. Here I’m going to show how to drain an ECS ins...

In AWS, Oct 29, 2021

Ways to provision infrastructure on AWS

Popular as it is, Infrastructure as Code also known as IaC, is a practice and process of managing and deploying infrastructure through code. Now, we got the flexibility to choose from...

In AWS, Oct 28, 2021

Solution: The AWS Access Key Id does not exist in our records

Working with multiple AWS account profiles could sometimes be not so pleasant experience, especially when handling different AWS named profiles for different purposes. The AWS Access ...

In AWS, Oct 26, 2021

How to install Nomad on Amazon Linux 2

Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, deployments, and managing the resources ...

In Nomad, AWS, Amazon Linux 2, Oct 13, 2021

5 ways to protect root account in the Cloud

Security as one of the Five Pillars of the Well-Architected Framework has been underlooked, not just in the age of the cloud computing but before that as well. With cloud migration be...

In Cloud, Oct 12, 2021

How to install Terraform on Amazon Linux 2

There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the Terraform official release site, so you need to get the late...

In Terraform, AWS, Amazon Linux 2, Oct 11, 2021

How to install Ansible on Amazon Linux 2

When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...

In Ansible, AWS, Amazon Linux 2, Oct 07, 2021

Get AWS region name in Terraform

The following tutorial will be a step-by-step guide on how to get the current AWS region name in Terraform.

In Terraform, AWS, Oct 06, 2021

How to install Nginx on Amazon Linux 2

Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...

In Nginx, AWS, Amazon Linux 2, Oct 05, 2021

How to create an S3 bucket through AWS CloudFormation

Deploying your infrastructure through CloudFormation as an infrastructure as code tool can cause some murky situations as a beginner because AWS is facing a lack of CloudFormation doc...

In AWS, Oct 03, 2021

7 ways to save money in the Cloud

Cost optimization is just one of the five pillars of Well-Architected Framework, which is identical across the top 3 public cloud provider players. Although, deploying a billing alarm...

In Cloud, Oct 02, 2021

Remmina can't remote into AWS EC2 Windows machine due to libfreerdp

If you need to access your Windows-based server through your local Linux machine you should consider using some RDP software. A few days ago I needed to access a Microsoft SQL server ...

In RDP, AWS, Oct 01, 2021

How to dump Elasticsearch index to S3 with Docker

Previously I’ve covered the topic around export and import the Elasticsearch index from one ES cluster to another. So now if you want to back up a particular index, instead of storing...

In Elasticsearch, Docker, AWS, Sep 21, 2021

How to make local archive_file to be available when deploying Terraform aws_lambda_function

In today’s blog post, I really need to share with you all a quick tip regarding Terraform’s aws_lambda_function resource and how to make the latest local data archive_file to be prese...

In Terraform, AWS, Sep 20, 2021

How to get private IP address of Fargate ECS task with metadata

Previously I’ve explained How to SSH into an AWS ECS Fargate-managed container. In this tutorial, I will cover some steps on how can you get the private IP address of a Fargate ECS co...

In AWS, Sep 13, 2021

Define the CPU and memory values for tasks hosted on Fargate

Migrating your ec2 instances on ECS to Fargate will let you focus on building applications instead of managing servers. Maybe you will ask yourself, which size do you need to pick up ...

In AWS, Sep 09, 2021

How to remove ECS task definitions

For those who have experience with AWS ECS, we all know how frustrating is sometimes that we just can’t delete task definitions. The only option is to update all task definition revis...

In AWS, Aug 25, 2021

How to install Podman on Amazon Linux 2

If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m going to show you how to install...

In Podman, AWS, Amazon Linux 2, Aug 10, 2021

How to pg_dump to AWS S3 directly

Just before we start with this tutorial, I just want to say, don’t try this on production. Streaming pg_dump backup directly to S3 bucket is a bad practice to start with, unless you a...

In PostgreSQL, AWS, Jul 29, 2021

How to join EC2 instance to ECS cluster

AWS ECS is a container orchestration tool, and it could be a great starting point as a beginner DevOps engineer before jumping on the Kubernetes hype train. Using an Auto Scaling grou...

In AWS, Jul 25, 2021

How to fix Docker's login 'unknown shorthand flag' error

In some of the previous posts I’ve covered the authorization token method when authenticating to an AWS ECR private registry. If you have followed the steps as described in the post y...

In Docker, AWS, Jul 03, 2021

How to refresh AWS ECR authorization token

AWS ECR is a managed container registry which allows us to store, manage and deploy container images, mostly Docker images. Similar to Docker Hub, ECR supports two types of registries...

In AWS, Jul 01, 2021

How to resolve AWS Elasticsearch cluster in red or yellow state

Understanding the ES cluster status state is crucial, when it comes to ES troubleshooting. If your role is to keep ES cluster healthy then you have to understand all the three states ...

In AWS, Elasticsearch, Jun 30, 2021

How to list AWS S3 bucket size from the command line

AWS S3 as a service is pretty cheap and probably the most popular one among the rest of the cloud object storage services. S3 is most often used as a database backup storage, log stor...

In AWS, Jun 29, 2021

How to stop all running EC2 instances from the command line

Stopping preproduction, staging environment EC2 instances could be described sometimes as a good practice. In the next few lines, I’ll show you how you can easily stop all running EC2...

In AWS, Jun 27, 2021

SSH into an AWS ECS Fargate-managed container

Managing servers from the developers’ side causes difficulties. To avoid such situations AWS offers Fargate, the new compute engine which will manage your ECS cluster depending on you...

In SSH, AWS, Jun 22, 2021

How to fix ECS CloudFormation template if it's stuck in the rollback state

If your microservices are using ECS services and the deployments are going through CloudFormation, that sometimes can cause weird issues. For example, if there is an application error...

In AWS, Mar 24, 2021

How to upload your local files to your AWS S3 bucket with AWS CLI

There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your databases, etc. I...

In AWS, Oct 15, 2019

How to install AWS CLI and setup multiple named profiles on Ubuntu

AWS CLI is an efficient and powerful tool cause it enables developers and DevOps people to have a full control over their AWS cloud services by executing commands on a specified line....

In AWS, Ubuntu, Oct 09, 2019

How to copy from AWS S3 bucket to Azure Blob Storage

When we mention public cloud and DevOps, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...

In Azure, AWS, Oct 03, 2019

aws s3

Terraform ./init.sh script for AWS backend state

terraform init initialize the current Terraform working directory. I guess it does a lot under the hood which unfortunately won’t be the topic for today. Instead, I’ll share with you ...

In Terraform, AWS, Jun 09, 2022

How to upload files to S3 while preserving directory structure

Preserving the directory structure while uploading files to S3 could be a handy thing especially if you want to copy these files later to an EBS volume. The solution is pretty simple ...

In AWS, Mar 17, 2022

How to create an S3 bucket through AWS CloudFormation

Deploying your infrastructure through CloudFormation as an infrastructure as code tool can cause some murky situations as a beginner because AWS is facing a lack of CloudFormation doc...

In AWS, Oct 03, 2021

How to dump Elasticsearch index to S3 with Docker

Previously I’ve covered the topic around export and import the Elasticsearch index from one ES cluster to another. So now if you want to back up a particular index, instead of storing...

In Elasticsearch, Docker, AWS, Sep 21, 2021

How to pg_dump to AWS S3 directly

Just before we start with this tutorial, I just want to say, don’t try this on production. Streaming pg_dump backup directly to S3 bucket is a bad practice to start with, unless you a...

In PostgreSQL, AWS, Jul 29, 2021

How to list AWS S3 bucket size from the command line

AWS S3 as a service is pretty cheap and probably the most popular one among the rest of the cloud object storage services. S3 is most often used as a database backup storage, log stor...

In AWS, Jun 29, 2021

How to upload your local files to your AWS S3 bucket with AWS CLI

There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your databases, etc. I...

In AWS, Oct 15, 2019

How to copy from AWS S3 bucket to Azure Blob Storage

When we mention public cloud and DevOps, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...

In Azure, AWS, Oct 03, 2019

azcopy

How to copy from AWS S3 bucket to Azure Blob Storage

When we mention public cloud and DevOps, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...

In Azure, AWS, Oct 03, 2019

azure managed disks

How to Direct-Upload to Azure Managed Disks

A few days ago, Microsoft announced the preview of direct-upload to Azure Managed Disks. So, there are two ways you could move a VHD to the Azure cloud as a managed disk: Upload the ...

In Azure, Oct 08, 2019

aws cli

Install AWS CLI on Amazon Linux 2

Managing some AWS services through AWS CLI can be useful and practical, especially when you need to perform some quick actions like listing active resources or troubleshooting. Here I...

In AWS, Amazon Linux 2, Jun 02, 2022

Ways to provision infrastructure on AWS

Popular as it is, Infrastructure as Code also known as IaC, is a practice and process of managing and deploying infrastructure through code. Now, we got the flexibility to choose from...

In AWS, Oct 28, 2021

How to fix Docker's login 'unknown shorthand flag' error

In some of the previous posts I’ve covered the authorization token method when authenticating to an AWS ECR private registry. If you have followed the steps as described in the post y...

In Docker, AWS, Jul 03, 2021

How to refresh AWS ECR authorization token

AWS ECR is a managed container registry which allows us to store, manage and deploy container images, mostly Docker images. Similar to Docker Hub, ECR supports two types of registries...

In AWS, Jul 01, 2021

How to list AWS S3 bucket size from the command line

AWS S3 as a service is pretty cheap and probably the most popular one among the rest of the cloud object storage services. S3 is most often used as a database backup storage, log stor...

In AWS, Jun 29, 2021

How to stop all running EC2 instances from the command line

Stopping preproduction, staging environment EC2 instances could be described sometimes as a good practice. In the next few lines, I’ll show you how you can easily stop all running EC2...

In AWS, Jun 27, 2021

How to upload your local files to your AWS S3 bucket with AWS CLI

There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your databases, etc. I...

In AWS, Oct 15, 2019

How to install AWS CLI and setup multiple named profiles on Ubuntu

AWS CLI is an efficient and powerful tool cause it enables developers and DevOps people to have a full control over their AWS cloud services by executing commands on a specified line....

In AWS, Ubuntu, Oct 09, 2019

ubuntu

Fix VPN `Connection failed` after upgrade to Ubuntu 22.04

Since the Ubuntu 22.04 version has been released, there were a lot of rumors that there is a big improvement in terms of the Ubuntu style and features, so I decided to upgrade it. Aft...

In VPN, Ubuntu, May 21, 2022

Install Podman Compose on Ubuntu 22.04

As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m going to show you three ways on how to install Podman Compose on U...

In Podman, Ubuntu, May 19, 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, Ubuntu, Feb 28, 2022

How to install Redis on Ubuntu 21.10

Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.

In Redis, Ubuntu, Feb 26, 2022

How to install Docker Compose on Ubuntu 21.10

This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.

In Docker, Ubuntu, Feb 22, 2022

How to install Nginx on Ubuntu 21.10

Since Ubuntu 21.10 has been released there was an immediate interest in using it as an OS Server. In this tutorial, we are going to see how to install Nginx on Ubuntu 21.10.

In Nginx, Ubuntu, Feb 20, 2022

How to install DBeaver on Ubuntu 21.10

One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only MySQL servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...

In DBeaver, Ubuntu, Feb 12, 2022

How to upgrade Ubuntu 20.04 to Ubuntu 21.10

The upgrading process from Ubuntu 20.04 to Ubuntu 21.10 takes some time, but it’s a straightforward process if you stick close to the steps below. Before taking any actions please mak...

In Ubuntu, Jan 23, 2022

Install Podman Compose on Ubuntu 20.04

Installation of podman-compose on Ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and ...

In Podman, Ubuntu, Jan 09, 2022

How to install Postman on Ubuntu 20.04

There are some ways to install Postman on Ubuntu 20.04. As always, we want to keep the work simple and straight to the point. So I’m going to show you the easiest way to install Postm...

In Postman, Ubuntu, Dec 22, 2021

How to install Terragrunt on Ubuntu

Working with Terragrunt as a Terraform wrapper will ease things and simplify the Terraform templates. Here I will show you how to set up quickly on your Ubuntu machine.

In Terragrunt, Ubuntu, Nov 24, 2021

How to install Podman on Ubuntu 20.04

If you try to install Podman on Ubuntu 20.04 with the default Ubuntu packages, the installation will fail with the following error: E: Unable to locate package podman. In this tutoria...

In Podman, Ubuntu, Aug 12, 2021

How to install Terraform on Ubuntu 20.04

All the cloud service providers have integrated and ease the way of using Terraform. So, using Terraform as infrastructure as code tool will efficiently minimize your code and speed u...

In Terraform, Ubuntu, Jun 25, 2021

How to install Ansible on Ubuntu

Ansible is an IT automation tool that can help you to simplify the deployments of your applications, efficiently manage your infrastructure servers, and provides a lot of features and...

In Ansible, Ubuntu, Jun 06, 2021

How to install Docker Compose on Ubuntu 19.04

Installing Docker Compose on Ubuntu 19.04 will get some benefits in terms of the procedure of starting multiple Docker containers, creating volumes, etc. But, before installing Docker...

In Docker, Ubuntu, Dec 15, 2019

How to install Docker on Ubuntu 19.04

Following the steps below will let you realize that installing Docker on Ubuntu 19.04 is not that hard as it seems, so let’s see how you can do it.

In Docker, Ubuntu, Dec 13, 2019

How to install AWS CLI and setup multiple named profiles on Ubuntu

AWS CLI is an efficient and powerful tool cause it enables developers and DevOps people to have a full control over their AWS cloud services by executing commands on a specified line....

In AWS, Ubuntu, Oct 09, 2019

linux

Install Telnet on Alpine Linux

Having Telnet within the Alpine Docker image can be useful in terms of quickly checking the connection between your services, like Redis, etc. So, here you can find how to install Tel...

In Telnet, Alpine Linux, Aug 09, 2022

Get current folder name in Linux without full path

As you may already know getting the relative path in Linux can be easily achieved by typing the command pwd in your terminal. You may be wondering how to get only the current working ...

In Linux, Aug 07, 2022

Install Vim on Alpine Linux

As an improved version of vi, Vim is the most used text editor for the server based environment. Today the aim is to install vim on Alpine Linux.

In Text editors, Alpine Linux, Aug 05, 2022

Install Traceroute on Alpine Linux

Discovering the network packet paths or troubleshooting the connectivity issues can be easily achieved with traceroute. Today’s aim is to install traceroute on Alpine Linux.

In Utilities, Alpine Linux, Aug 03, 2022

Install Certbot on Alpine Linux

Generating an SSL certificate using Alpine Linux can be easily done through Certbot. So let’s see how to install Certbot on Alpine Linux.

In Certbot, Alpine Linux, Aug 01, 2022

Install HAProxy on Alpine Linux

Creating an isolated proxy microservice can be easily achieved with the Alpine Linux Docker image and HAProxy. It can act as both proxy container or load balancer depending on the nee...

In Proxy, Alpine Linux, Jul 30, 2022

Install Ruby on Alpine Linux

Installing Ruby on Alpine Linux comes fairly quick and easy as it exists within the apk package manager. Let’s jump on the crux.

In Ruby, Alpine Linux, Jul 28, 2022

Install Redis on Alpine Linux

Redis CLI is a part of the official Alpine apk packages, so it’s quick and easy to set it up. Here I’m going to show you how to install Redis CLI on Alpine Linux.

In Redis, Alpine Linux, Jul 22, 2022

Top command not found on Debian-based Docker container

Some of your Docker Debian-based containers can be killed due to heavy processes running inside the container. If your preferred choice is the top command, most likely you will get th...

In Utilities, Docker, Debian, Jul 20, 2022

Install UFW on Alpine Linux

Protecting your Alpine Docker images is always a good practice, especially the vulnerable services. Today, I will install UFW on Alpine Linux.

In Firewalls, Alpine Linux, Jul 16, 2022

Install Traceroute on Amazon Linux 2

Traceroute is a suitable option in a situation where you need to troubleshoot some network connection issues. The tool displays all the possible routes and packet loss over the Intern...

In Utilities, AWS, Amazon Linux 2, Jul 12, 2022

Install Node.js on Alpine Linux

Setting up a Node.js environment for development on Alpine Linux is quite easy and simple. So let’s see how to install Node.js with NPM on Alpine Linux.

In Node.js, Alpine Linux, Jul 08, 2022

Install Ansible on Alpine Linux

The Ansible installation on Alpine Linux can be achieved easily and quickly through the official Alpine packages.

In Ansible, Alpine Linux, Jul 06, 2022

Install Apache on Alpine Linux

Using Apache with Alpine Linux can be a suitable combination, because Apache comes with a lot of modules that can be useful for your application. Let’s see how to install Apache on Al...

In Apache, Alpine Linux, Jul 02, 2022

Install Nginx on Alpine Linux

Installing Nginx on Alpine Linux can be achieved easily, as it’s part of the official Alpine packages. Let’s take a look.

In Nginx, Alpine Linux, Jun 30, 2022

Resolve KernelCare `Error unpatching [255] ('default', '', '', False)` issue

Updating the latest security and stability patches using KernelCare it’s a safe and recommended way, but sometimes it can throw Error unpatching [255] ('default', '', '', False) error...

In Linux, Jun 28, 2022

Install Fluent Bit on Amazon Linux 2

Same as Fluentd, Fluent Bit doesn’t belong in the official Amazon Linux yum repositories as well. The installation will be pretty much the same through fluent bit shell script. So let...

In Logging, AWS, Amazon Linux 2, Jun 26, 2022

Install Fluentd on Amazon Linux 2

Fluentd is one of the most popular open-source projects, used for gathering logs from a set of sources and forwarding them to other monitoring software. Here I’m going to show you how...

In Logging, AWS, Amazon Linux 2, Jun 24, 2022

Install Exim on Alpine Linux

If there is a need for a simple and minimalistic mail transfer agent on Alpine then Exim is a decent choice. Let’s install Exim on Alpine Linux.

In SMTP, Alpine Linux, Jun 22, 2022

Install Git on Alpine Linux

Previously git was not included in the official alpine packages. As the new Alpine versions are released, there are improvements of course. So now git is a part of the Alpine packages...

In Git, Alpine Linux, Jun 20, 2022

Install PHP 8 on Alpine Linux

The PHP 8 installation on Alpine Linux can be achieved in a few steps. Let’s do it.

In PHP, Jun 18, 2022

Install SCP on Alpine Linux

SCP as a useful transfer tool can be easily installed on Alpine Linux. Let’s see the steps needed.

In Utilities, Alpine Linux, Jun 16, 2022

Install Podman Compose on Alpine Linux

If you plan to deal with Podman Compose on Alpine Linux I will show you the installation part. The aim of this tutorial is to show you how to install Podman Compose on Alpine Linux.

In Podman, Alpine Linux, Jun 14, 2022

Install Podman on Alpine Linux

Podman, as a decent Docker replacement has support from the Alpine community repository and can be installed as a podman package. Let’s see how to install Podman on Alpine Linux.

In Podman, Alpine Linux, Jun 12, 2022

Install Rsync on Alpine Linux

How can you remotely sync or transfer files? Of course, rsync is here to help even if you want to include it within the Alpine docker container. Let’s see how to install Rsync on Alpi...

In Utilities, Alpine Linux, Jun 10, 2022

Install jq on Alpine Linux

Yet another quick and easy jq installation on Alpine Linux. You can use it as a part of your Dockerfile as well.

In Utilities, Alpine Linux, Jun 08, 2022

Install Zip And Unzip on Alpine Linux

Here I’m going to show you how to install zip and unzip on Alpine Linux which is quite quick and easy :)

In Archive, Jun 06, 2022

Install Terraform on Alpine Linux

As a small distro Alpine Linux doesn’t have huge support regarding the APK Alpine system manager package. So today I’ve decided to show you how to install Terraform on Alpine Linux.

In Terraform, Alpine Linux, Jun 04, 2022

Install AWS CLI on Amazon Linux 2

Managing some AWS services through AWS CLI can be useful and practical, especially when you need to perform some quick actions like listing active resources or troubleshooting. Here I...

In AWS, Amazon Linux 2, Jun 02, 2022

Install PHP Composer on Amazon Linux 2

Using PHP on Amazon Linux 2 can potentially require a composer installation for some libraries. Installing Composer on Amazon Linux 2 is a quick and easy procedure. Let’s see it.

In PHP, AWS, Amazon Linux 2, May 31, 2022

Install Telnet on Amazon Linux 2

As a useful tool Telnet can help you to troubleshoot some connectivity problems, access specific port and also offers a lot of other useful stuff as well. The installation is simple a...

In Telnet, AWS, Amazon Linux 2, May 29, 2022

Install PHP 8.1 on Amazon Linux 2

If you want to hang out with the latest major update of PHP, then you should definitely try to install PHP 8.1 on Amazon Linux 2. Let’s do it.

In PHP, AWS, Amazon Linux 2, May 27, 2022

Find non-ASCII characters in Linux

ASCII as a character encoding standard that use numbers to represent characters. The original ASCII code range is 0 - 127 (7 bits) which represents the english character set including...

In Linux, May 26, 2022

Install tar on Amazon Linux 2

Yet another free cool tool for archiving files, is tar. I’m going to stick to the title itself and show you how to install tar on Amazon Linux 2.

In Archive, AWS, Amazon Linux 2, May 25, 2022

Install Zip and Unzip on Amazon Linux 2

Although the usage of zip and unzip is very simple there is at least one moment in our life when we are forced to use them. It may happen when you are migrating a website or some data...

In Archive, AWS, Amazon Linux 2, May 23, 2022

Fix VPN `Connection failed` after upgrade to Ubuntu 22.04

Since the Ubuntu 22.04 version has been released, there were a lot of rumors that there is a big improvement in terms of the Ubuntu style and features, so I decided to upgrade it. Aft...

In VPN, Ubuntu, May 21, 2022

Install Podman Compose on Ubuntu 22.04

As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m going to show you three ways on how to install Podman Compose on U...

In Podman, Ubuntu, May 19, 2022

Install jq on Amazon Linux 2

jq one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...

In Parsing, AWS, Amazon Linux 2, May 17, 2022

Install Telnet on CentOS 9 Stream

Telnet as a useful tool, allows you to establish a connection or check whether some connection is allowed or not. Here I’m going to show you how to install Telnet on CentOS 9 Stream, ...

In Telnet, CentOS, May 15, 2022

Install Java on CentOS 9 Stream

As a Java developer on the new CentOS 9 Stream OS, you may wonder how to set up your java environment. The installation of Java on CentOS 9 Stream can be achieved in a few steps. Let’...

In Java, CentOS, May 13, 2022

Get memory page size in Linux

Memory page, virtual memory page, or just page is the smallest block of memory unit in terms of memory management. The page size is determined by the hardware to be exact the processo...

In Linux, May 10, 2022

Install Podman Compose on Debian 11

The growth and use of Podman is really raging higher and higher. I hope one day it will be on the same level as Docker is today. Now, assuming that you have Podman installed on Debian...

In Podman, Debian, May 09, 2022

Install Redis on CentOS 9 Stream

Redis is the most popular and most used cache, message broker, and in-memory key value database store service nowadays. So today I’m going to show you how to install Redis on CentOS 9...

In Redis, May 07, 2022

Install Nginx on CentOS 9 Stream

Nginx is one of the most used web servers nowadays and can be easily installed on the new CentOS 9 Stream OS. Let’s see how to install Nginx on CentOS 9 Stream and enable the HTTP and...

In Nginx, CentOS, May 05, 2022

Install Postfix on Amazon Linux 2

Besides Exim, Postfix is another useful and free mail transfer agent that is under IBM public license. The installation is easy and simple so let’s see how to install Postfix on Amazo...

In SMTP, AWS, Amazon Linux 2, May 03, 2022

Install Exim on Amazon Linux 2

Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.

In SMTP, AWS, Amazon Linux 2, May 01, 2022

Install dig on Amazon Linux 2

Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.

In DNS, AWS, Amazon Linux 2, Apr 29, 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, AWS, Amazon Linux 2, 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 ansible.builtin.user module, simply because I needed to commit a password hash for ...

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, AWS, Amazon Linux 2, Apr 25, 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 Utilities, AWS, Amazon Linux 2, Apr 23, 2022

Install Redis 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 going to show you how to install R...

In Redis, AWS, Amazon Linux 2, Apr 21, 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 Utilities, AWS, Amazon Linux 2, Apr 19, 2022

Install Rsync on Amazon Linux 2

Sending files, and directories remotely can be achieved with a lot of utility tools. One of them is Rsync, which is a cool tool for remote transfer. Let’s see how to install it on Ama...

In Utilities, AWS, Amazon Linux 2, Apr 17, 2022

Install Terragrunt on Amazon Linux 2

One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...

In Terragrunt, AWS, Amazon Linux 2, Apr 15, 2022

Install openfortivpn on Amazon Linux 2

openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.

In VPN, AWS, Amazon Linux 2, Apr 14, 2022

Install HAProxy on Amazon Linux 2

HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s se...

In Proxy, AWS, Amazon Linux 2, Apr 13, 2022

How to set up SSH keys on Amazon Linux 2

While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...

In SSH, AWS, Amazon Linux 2, Apr 11, 2022

spawn, expect and send commands in Linux

spawn, expect and send commands are usually part of SSH bash scripts. So, I’m going to briefly explain them, starting with expect since the rest of them are part of it.

In Linux, Apr 10, 2022

Install Node.js on Amazon Linux 2

Node.js doesn’t exist in the default Amazon Linux 2 yum packages. So we should add the Node.js official repo and use it for the installation. Let’s see how to install Node.js on Amazo...

In Node.js, AWS, Amazon Linux 2, Apr 09, 2022

Enable EPEL on Amazon Linux 2

Using EPEL package repository can be very beneficial. EPEL contains all the common packages that you may want to install. Unfortunately, EPEL is disabled in Amazon Linux 2. Let’s see ...

In AWS, Amazon Linux 2, Apr 07, 2022

Install VestaCP on Amazon Linux 2

Managing your AWS ec2 instance with VestaCP comes easier if you are not familiar with Linux. Here I’m going to tell you how to install VestaCP on Amazon Linux 2.

In Control Panels, AWS, Amazon Linux 2, Apr 05, 2022

Install VestaCP on Debian 11

VestaCP is a free and open-source control panel based on PHP and Bash. It’s a lightweight and easy to use control panel which can save you a lot of time and money especially if you ar...

In Control Panels, Apr 03, 2022

How to install Go on Amazon Linux 2

Installing Golang on Amazon Linux 2 can be done within a few minutes since Go exists in the default Amazon Linux 2 yum packages. Let’s dive into it.

In Golang, AWS, Amazon Linux 2, Apr 01, 2022

How to install SQLite on Amazon Linux 2

SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...

In SQLite, AWS, Amazon Linux 2, Mar 30, 2022

Check for read-only filesystem in Linux

In today’s post we are going to find out how to check for read-only filesystem in Linux from the CLI.

In Linux, Mar 29, 2022

Check last reboot time in Linux

In today’s post we are going to find out the last reboot time in Linux from the CLI.

In Linux, Mar 27, 2022

Check system uptime in Linux macOS and Windows from the command line

The following commands will help you find the system uptime for Linux, macOS and Windows in the easiest way possible, from the command line.

In Linux, macOS, Windows, Mar 23, 2022

How to install bc on Linux macOS and Windows

bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...

In Utilities, Linux, macOS, Windows, Mar 19, 2022

How to install Ruby on Amazon Linux 2

If you want to develop ruby application using some ruby frameworks like Ruby on Rails, Padrino, etc., on Amazon Linux 2 you will have to install ruby as a dependency. This topic will ...

In Ruby, AWS, Amazon Linux 2, Mar 16, 2022

How to install Kubectl on Amazon Linux 2

Installing the kubectl from the official Red Hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...

In Kubernetes, AWS, Amazon Linux 2, Mar 14, 2022

How to install OpenVPN on Amazon Linux 2

If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...

In VPN, AWS, Amazon Linux 2, Mar 12, 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 macOS, Linux, 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

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 bo...

In Linux, Mar 04, 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 going to show you a quick fix...

In Linux, Mar 02, 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, Ubuntu, Feb 28, 2022

How to install Redis on Ubuntu 21.10

Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.

In Redis, Ubuntu, Feb 26, 2022

How to flush the DNS cache from the CLI

Clearing the DNS cache usually fixes issues related to not resolving new or updated existing domain records. Let’s see how it’s done from the command line though.

In DNS, Feb 25, 2022

MySQL fix: 'Waiting for table metadata lock'

Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m going to list some useful solutions that might help you.

In MySQL, Feb 24, 2022

How to install Docker Compose on Ubuntu 21.10

This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.

In Docker, Ubuntu, Feb 22, 2022

How to install Nginx on Ubuntu 21.10

Since Ubuntu 21.10 has been released there was an immediate interest in using it as an OS Server. In this tutorial, we are going to see how to install Nginx on Ubuntu 21.10.

In Nginx, Ubuntu, Feb 20, 2022

How to install DBeaver on Debian 11

Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package

In DBeaver, Debian, Feb 14, 2022

How to install DBeaver on Ubuntu 21.10

One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only MySQL servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...

In DBeaver, Ubuntu, Feb 12, 2022

How to install Apache on Amazon Linux 2

Once you have provisioned an AWS EC2 instance installing Apache on Amazon Linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...

In Apache, AWS, Amazon Linux 2, Feb 06, 2022

base64 encode and decode from the CLI

Base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability, ...

In Utilities, Jan 30, 2022

How to rotate screen position in Ubuntu through CLI

Nowadays as technology develops more and more, laptops are becoming more sophisticated. Most of today’s laptops offer a finger-sensitive screens, so you can manage to flip over the mo...

In Ubuntu, Jan 29, 2022

How to install Terragrunt on CentOS 7

To simplify and structure the Terraform modules you can use Terragrunt as a wrapper. In this tutorial we are going to see how to install Terragrunt on CentOS 7.

In Terragrunt, CentOS, Jan 27, 2022

How to fix black screen on screen share in Ubuntu

During an online session, I spotted that the screen share on Ubuntu stopped working. The first thought that came to my mind was the application itself. But later I realized that no ma...

In Ubuntu, Jan 25, 2022

How to upgrade Ubuntu 20.04 to Ubuntu 21.10

The upgrading process from Ubuntu 20.04 to Ubuntu 21.10 takes some time, but it’s a straightforward process if you stick close to the steps below. Before taking any actions please mak...

In Ubuntu, Jan 23, 2022

Run Docker containers in the background

While running a docker container in detached mode d maybe you have experienced exiting the container immediately. Here I’m going to show you some ways how to keep it running in the ba...

In Docker, Jan 21, 2022

How to enable HTTP/2 in Nginx

HTTP/2 was published almost 7 years ago, HTTP/3 being an internet draft standard since October 2020, and yet here we are, most of us still using HTTP/1.1. Considering how things quick...

In Nginx, HTTP, Jan 18, 2022

How to increase the open files limit in Linux

The default open files (nofile) limit is 1024. Let’s see how we could confirm and increase it on user and system-wide level.

In Linux, Jan 16, 2022

How to install Podman Compose on CentOS 7

When it comes to installing podman-compose on CentOS 7 it follows the same procedure as on the other RHEL-based distros and there are three ways to achieve it. You only need to make s...

In Podman, CentOS, Jan 15, 2022

SFTP transfer files non-interactive through the command line

This tutorial is aimed to show you how to download files from a remote sftp server and of course how to upload files to a remote sftp server. It’s useful if you are writing a bash or ...

In SFTP, Jan 13, 2022

How to connect with SFTP through the command line

Most of the shared hosting platforms are providing SFTP access to the end-users as a secure file transfer protocol. There are a lot of free and open source GUI platforms for ftp, SFTP...

In SFTP, Jan 11, 2022

Install Podman Compose on Ubuntu 20.04

Installation of podman-compose on Ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and ...

In Podman, Ubuntu, Jan 09, 2022

Install Podman Compose on Amazon Linux 2

As Podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it, and I’m g...

In Podman, AWS, Amazon Linux 2, Jan 07, 2022

Send Slack notifications from a Bash script

Slack is one of the most popular and used messaging apps by companies of any kind of business size, from small companies and startups to large enterprises. From DevOps point of view, ...

In Slack, Webhooks, Jan 06, 2022

Add jq and curl to an Alpine Docker image

The official Alpine Docker image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that’s ...

In Docker, Alpine Linux, Jan 05, 2022

Install dig and nslookup on Alpine Linux

Deploying docker containers based on alpine images or using alpine on your server is always a good idea as it’s a small, simple Linux OS. But if you want to perform some DNS checks yo...

In DNS, Utilities, Alpine Linux, Jan 03, 2022

How to install PHP 7.4 on Amazon Linux 2

Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process, and it can be achieved in a few steps. This tutorial is aimed to show you the st...

In PHP, AWS, Amazon Linux 2, Dec 24, 2021

How to install Postman on Ubuntu 20.04

There are some ways to install Postman on Ubuntu 20.04. As always, we want to keep the work simple and straight to the point. So I’m going to show you the easiest way to install Postm...

In Postman, Ubuntu, Dec 22, 2021

How to install UFW on Amazon Linux 2

Maybe you will raise a question is it worth installing UFW on Amazon Linux 2. Some say that it’s enough to use the instance security groups but if you need some extra security on a se...

In Firewalls, AWS, Amazon Linux 2, Dec 10, 2021

How to install UFW on CentOS 7

Most of the RHEL Linux distros are coming with pre-installed firewalld as a default firewall. But if you are UFW fan and you don’t want to waste your time or resources on getting fami...

In Firewalls, CentOS, Dec 08, 2021

How to list, renew and delete Certbot certificates

Managing Certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...

In Certbot, Dec 03, 2021

How to install firewalld on Amazon Linux 2

Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...

In Firewalls, AWS, Amazon Linux 2, Dec 02, 2021

How to download files with curl

curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...

In Linux, macOS, Dec 01, 2021

How to install Firewalld on Rocky Linux 8

Keeping your services and host itself secure is crucial. Nowadays, there are a lot of attacks that can harm your host server, like brute force attacks, dictionary SSH attacks, SQL inj...

In Firewalls, Rocky Linux, Nov 30, 2021

How to secure domain with Let's Encrypt SSL/TLS certificate on Amazon Linux 2

As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL/TLS certifi...

In Let's Encrypt, AWS, Amazon Linux 2, Nov 28, 2021

How to generate random password from the CLI

There are a lot of ways to generate random passwords, starting from simple password generator sites found online to the most advanced password management solutions. Today’s topic will...

In Linux, Nov 27, 2021

How to install Certbot on Amazon Linux 2

Using AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL/TLS certific...

In Certbot, AWS, Amazon Linux 2, Nov 26, 2021

File locking with flock 101

As a concept, file locking in Linux purpose is to control access to a shared resource between multiple processes, in a way to indicate which process is next in line, so it could use t...

In Linux, Nov 25, 2021

How to install Terragrunt on Ubuntu

Working with Terragrunt as a Terraform wrapper will ease things and simplify the Terraform templates. Here I will show you how to set up quickly on your Ubuntu machine.

In Terragrunt, Ubuntu, Nov 24, 2021

mtime timestamp and the 24h period cheatsheet

For those who might be questioning, mtime or short for modified timestamp, is a Linux file timestamp which usually goes hand in hand with the find command in the most common scenarios...

In Linux, Nov 23, 2021

How to update Visual Studio Code on Debian-based distro

Some old VS Code versions are getting git issues, for instance, you are not able to pull or push to your repo due to authentication issues. If you try to authenticate through your Lin...

In VSCode, Debian, Nov 22, 2021

Which shell am I using - how to check

Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, or suchlike. This time I’ll be focusing on how to find out which shell you are using, which is t...

In Shell, Nov 21, 2021

How to reload shell session

In order to update and see changes made in the shell environment, most of the time reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comman...

In Shell, Nov 19, 2021

How to install Logstash on Debian 11

Every data processing service needs a data processing pipeline that will help you to gather data from different sources. Nowadays, Logstash is one of the most efficient and required d...

In Logging, Debian, Nov 14, 2021

How to install Grafana on Debian 11

Seemingly some enterprise monitoring solutions look that they can be suitable for your infrastructure but afterwards it shows up that your expectations are not satisfied. There are a ...

In Monitoring, Debian, Nov 10, 2021

How to install Terraform on Debian 11

Today I’ll be writing about terraform installation on Debian 11. The steps are pretty easy, so you just have to follow them and accomplish the installation process. Let’s hop in.

In Terraform, Nov 06, 2021

How to install Nomad on Fedora-based distro

Previously I covered the Nomad installation on the most frequently used Linux distros: Amazon Linux 2 Debian RHEL

In Nomad, Fedora, Oct 27, 2021

How to change permissions for directories and files recursively

Getting to know how to fix the directories and files permissions recursively, with a quick and easy method is always a good point. The crux of this tutorial is to understand how you c...

In Linux, Oct 25, 2021

How to Setup GraphQL with Node.js on Debian-based distro

To gather information from the REST API designed app you need to send requests to multiple REST endpoints. So this kind of approach is scattered across multiple endpoints. GraphQL sol...

In GraphQL, Node.js, Debian, Oct 23, 2021

Setup Nginx proxy for a Node.js app

Behind every major player in the cloud provider’s field, there is a hidden “magic” that makes our applications work. Most of the time, this magic is some kind of proxy, mostly Nginx. ...

In Nginx, Node.js, Oct 22, 2021

How to install Node.js on Debian 11

There are few methods to install Node.js on Debian 11. Using PPA Using NVM From the Debian official packages

In Node.js, Debian, Oct 21, 2021

Resolve (code=exited, status=2) in Nginx

Sometimes after Nginx service restart and you’re trying to get the service status, you might get the following status code line:Process: 10316 ExecStop=/sbin/start-stop-daemon --quiet...

In Nginx, Oct 20, 2021

How to install Terragrunt on Debian 11

If you need to simplify the Terraform structure you can achieve it through Terragrunt. The crux is that you only need to define the Terraform modules and Terragrunt will take care of ...

In Terragrunt, Debian, Oct 19, 2021

Check Internet speed from the CLI on Linux

In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...

In Linux, Oct 18, 2021

How to install Nomad on RHEL-based distro

As I mentioned in the previous topics I’m going to cover the Nomad installation on all popular Linux distros. So this tutorial will be aimed to show you how to install Nomad on RHEL-b...

In Nomad, RHEL, Oct 17, 2021

Get public IP from the CLI on Linux

Let’s speedrun the tutorial on how to get your public IP address from the command line interface for any whitelisting reason, on any Linux distro.

In Linux, Oct 16, 2021

How to install Nomad on Debian-based distro

As a sequel of the Nomad installation series today I’m going to shed some light on how to install Nomad on every Debian-based distro. The installation process is quick and easy and th...

In Nomad, Debian, Oct 15, 2021

How to install Nomad on Amazon Linux 2

Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, deployments, and managing the resources ...

In Nomad, AWS, Amazon Linux 2, Oct 13, 2021

How to install Terraform on Amazon Linux 2

There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the Terraform official release site, so you need to get the late...

In Terraform, AWS, Amazon Linux 2, Oct 11, 2021

How to detect and free Inode usage on Linux

While I was maintaining a monitoring service for an AWS-based infrastructure the service daemon stopped working. After some digging on the host where the service was hosted, I find ou...

In Linux, Oct 09, 2021

How to install Ansible on Amazon Linux 2

When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...

In Ansible, AWS, Amazon Linux 2, Oct 07, 2021

How to install Nginx on Amazon Linux 2

Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...

In Nginx, AWS, Amazon Linux 2, Oct 05, 2021

Prevent accidental rm -rf /*

We’ve all heard the infamous rm -rf /* command. Now, let’s see how can we prevent from happening many times again.

In Linux, Sep 30, 2021

How to install Redis on Debian 11

Improving your site performance and caching your content can be achieved with Redis which stands as one of the most popular caching tools nowadays. How the complexity of the applicati...

In Redis, Debian, Sep 29, 2021

Count files within directory in Linux

Sometimes, for some reason we need to pull up the number of files in a certain directory. As always, this could be done in a couple of ways. Let’s go through each of them.

In Linux, Sep 28, 2021

How to install Ruby on Debian 11

Ruby as a programming language belongs to the group with a high demand along with the other popular programming languages. Nowadays, his framework Ruby on Rails is highly used by deve...

In Ruby, Debian, Sep 27, 2021

Run Linux Bash commands in background

If one thing can be annoying while working on remote Terminals on daily basis, that would be waiting for a command to finish. Wasting time on waiting commands to finish is resolvable ...

In Linux, Sep 26, 2021

How to setup Envoy proxy

Envoy is a minimalistic L7 proxy designed to be used along with the cloud native microservice applications. It’s an open-source container based project which can run on a minimum syst...

In Proxy, Sep 25, 2021

Remove last N characters of a string in Bash

As with most things in IT, there is always more than one way to skin a cat. In today’s blog post, we are going to test out few ways on how we could remove last n characters of a strin...

In Linux, Sep 24, 2021

Protect files from being deleted in Linux

I’m going to start by saying we have all heard of these sudo rm -rf / horror stories on the Internet. There are a bunch of ways we could protect our servers from such accidents, which...

In Linux, Sep 22, 2021

How to search for a string in multiple files on Linux

These days there are a lot of code editors which can ease your life in terms of finding some particular string in multiple files or repo. The life will get complicated if you need to ...

In Linux, Sep 19, 2021

Convert Linux commands output from CSV to JSON

CSV to JSON conversion is commonly used in the Monitoring part of the DevOps cycle, usually when we need to gather some data, parse it, and ship it via some monitoring agent, like Flu...

In Parsing, Linux, Sep 18, 2021

How to install Docker Compose on Debian 11

We previously saw how to install Docker on Debian 11. As a sequel, I’m going to round it off with the docker compose installation on Debian 11.

In Docker, Debian, Sep 15, 2021

How to check if your web application is under DDoS attack

Nowadays, most of the web applications are vulnerable and exposed on many kinds of attacks. One of them is a DDoS attack. There are a lot of services on the internet that are offering...

In DDOS, Sep 11, 2021

How to enable CORS in Nginx

If you are trying to make API calls, and you are getting the following error from Nginx: No Access-Control-Allow-Origin header is present on the requested resource you should definite...

In Nginx, Sep 07, 2021

List processes with high memory usage in Linux

There are situations where your web application or particular software installed on your machine takes a lot of time to load. The troubleshooting process may last long but however, yo...

In Linux, Sep 05, 2021

How to check if command succeeded in Linux

As a DevOps engineer, or any other Operation roles, we sometimes need to check if a Linux command succeeded. There are many reasons, for example: our internet connection failed, a VPN...

In Linux, Aug 29, 2021

How to install Nginx on Debian 11

Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your Debian server.

In Nginx, Debian, Aug 22, 2021

How to install Nginx on Debian 11

Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your Debian server.

In Nginx, Debian, Aug 22, 2021

How to install MongoDB on Rocky Linux 8

MongoDB has an attitude to store the data in BSON, which can be searched and indexed, with a way better performance. Installing MongoDB on Rocky Linux can additionally improve the sea...

In MongoDB, Rocky Linux, Aug 20, 2021

How to install Docker on Debian 11

Finally, Debian 11 is released on August 14th, 2021, and this version is marked as a stable version. This tutorial will show you the steps on how to install Docker on a new fresh Debi...

In Docker, Debian, Aug 18, 2021

Missing sites-available directory in Nginx

As part of the Nginx series, in today’s tutorial, we are going to see on how to add that missing sites-available subdirectory. The reason behind this, is because most of us have been ...

In Nginx, Aug 17, 2021

How to disable SELinux

You may face Nginx or Apache web server blocking issues even when your firewall is disabled. SELinux is a security engine that may block some calls or permissions on your server. So, ...

In Linux, Aug 16, 2021

How to set up Nginx reverse proxy for your application

Using Nginx reverse proxy could be very useful, especially if you are developing an application with a framework that can run its own server like Node.js, Python, Ruby on Rails, etc. ...

In Nginx, Aug 14, 2021

How to block visitors by country in Nginx

In some of mine previous posts, I wrote about how you can whitelist IPs in Nginx. In today’s tutorial, we are going to see how can we block specific countries in a few steps.

In Nginx, Aug 13, 2021

How to install Podman on Ubuntu 20.04

If you try to install Podman on Ubuntu 20.04 with the default Ubuntu packages, the installation will fail with the following error: E: Unable to locate package podman. In this tutoria...

In Podman, Ubuntu, Aug 12, 2021

How to install Podman on Amazon Linux 2

If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m going to show you how to install...

In Podman, AWS, Amazon Linux 2, Aug 10, 2021

How to whitelist IP addresses in Nginx

We all know what firewalls are for, but sometimes they can become a pain in the arse, and we all end up opening HTTP and HTTPS port by default. Let’s say we host multiple domains via ...

In Nginx, Aug 09, 2021

How to secure Apache with Let's Encrypt on Rocky Linux 8

As a part of the Certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL/TLS certificate. Let’s start.

In Apache, Let's Encrypt, Rocky Linux, Aug 08, 2021

How to secure Nginx with Let's Encrypt on Rocky Linux 8

Previously we saw How to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...

In Nginx, Let's Encrypt, Rocky Linux, Aug 06, 2021

How to install Certbot on Rocky Linux 8

Installing Certbot on your Rocky Linux server/machine is usually meant to be used to switch an existing HTTP site to work in HTTPS. It’s a helpful tool written in python which helps y...

In Certbot, Rocky Linux, Aug 05, 2021

How to install PostgreSQL on Rocky Linux 8

Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...

In PostgreSQL, Rocky Linux, Aug 01, 2021

How to install MySQL on Rocky Linux 8

Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.

In MySQL, Rocky Linux, Jul 30, 2021

How to determine the correct number of max children processes for PHP-FPM

Most of the PHP developers are using Nginx with PHP-FPM as the most efficient approach. Most likely Nginx will throw PHP errors as the server reached the pm.max_children number. It me...

In PHP, Jul 28, 2021

How to configure DHCP to fix the network connectivity on Rocky Linux

Some RHEL distros can cause common networking configuration issues on the first installation, so you will not be able to update the packages on a server or browse external Websites fr...

In DHCP, Rocky Linux, Jul 26, 2021

How to install Apache on Rocky Linux 8

Apache is one of the most popular, open source web servers that allows you to host your web content on Internet. Apache can be installed easily and can run on any operating system. In...

In Apache, Rocky Linux, Jul 24, 2021

How to install Apache on Rocky Linux 8

Apache is one of the most popular, open source web servers that allows you to host your web content on Internet. Apache can be installed easily and can run on any operating system. In...

In Apache, Rocky Linux, Jul 24, 2021

How to install Nginx on Rocky Linux 8

If you need to implement a reverse proxy, load balancer or mail proxy, Nginx is the best-suited web server that can manage all of these actions. This tutorial will explain, how to ins...

In Nginx, Rocky Linux, Jul 20, 2021

How to install Redis on Rocky Linux 8

If you are seeking a caching solution for your application then Redis will appear on the list. Here we will show you how to install Redis on Rocky Linux which is a replacement for Cen...

In Redis, Rocky Linux, Jul 17, 2021

How to install Docker Compose on ARM64

In some of the previous posts I’ve covered how you can install Docker Compose on Linux distributions like Rocky Linux for example. It’s pretty easy to set it up, right?! Usually when ...

In Docker, Jul 12, 2021

How to install Ansible on Rocky Linux 8

If there is a need to simplify the deployments of your applications, manage your infrastructure servers, etc… you can achieve it with Ansible which is one of the most popular tool for...

In Ansible, Rocky Linux, Jul 11, 2021

How to install Docker Compose on Rocky Linux 8

Installing Docker Compose on Rocky Linux follows the same procedure as the other Linux distros. First, you need to make sure that you have installed Docker on your Rocky Linux machine.

In Docker, Rocky Linux, Jul 06, 2021

How to install Docker on Rocky Linux 8

In the early December last year, Red Hat took us all by surprise with the CentOS 8 End Of Life (EOL) announcement, that was scheduled for the end of 2021. In response to this, the ori...

In Docker, Rocky Linux, Jul 05, 2021

How to install Terraform on Rocky Linux 8

Finally, there is a replacement on the CentOS distro. The fresh and new Rocky Linux will replace the CentOS, so the CentOS team announces that they are going to focus on the CentOS St...

In Terraform, Rocky Linux, Jul 02, 2021

How to install Terraform on Ubuntu 20.04

All the cloud service providers have integrated and ease the way of using Terraform. So, using Terraform as infrastructure as code tool will efficiently minimize your code and speed u...

In Terraform, Ubuntu, Jun 25, 2021

How to install Ansible on Ubuntu

Ansible is an IT automation tool that can help you to simplify the deployments of your applications, efficiently manage your infrastructure servers, and provides a lot of features and...

In Ansible, Ubuntu, Jun 06, 2021

How to install Docker Compose on Ubuntu 19.04

Installing Docker Compose on Ubuntu 19.04 will get some benefits in terms of the procedure of starting multiple Docker containers, creating volumes, etc. But, before installing Docker...

In Docker, Ubuntu, Dec 15, 2019

How to install Docker on Ubuntu 19.04

Following the steps below will let you realize that installing Docker on Ubuntu 19.04 is not that hard as it seems, so let’s see how you can do it.

In Docker, Ubuntu, Dec 13, 2019

How to install AWS CLI and setup multiple named profiles on Ubuntu

AWS CLI is an efficient and powerful tool cause it enables developers and DevOps people to have a full control over their AWS cloud services by executing commands on a specified line....

In AWS, Ubuntu, Oct 09, 2019

oss

Install Telnet on Alpine Linux

Having Telnet within the Alpine Docker image can be useful in terms of quickly checking the connection between your services, like Redis, etc. So, here you can find how to install Tel...

In Telnet, Alpine Linux, Aug 09, 2022

Get current folder name in Linux without full path

As you may already know getting the relative path in Linux can be easily achieved by typing the command pwd in your terminal. You may be wondering how to get only the current working ...

In Linux, Aug 07, 2022

Install Vim on Alpine Linux

As an improved version of vi, Vim is the most used text editor for the server based environment. Today the aim is to install vim on Alpine Linux.

In Text editors, Alpine Linux, Aug 05, 2022

Install Traceroute on Alpine Linux

Discovering the network packet paths or troubleshooting the connectivity issues can be easily achieved with traceroute. Today’s aim is to install traceroute on Alpine Linux.

In Utilities, Alpine Linux, Aug 03, 2022

Install Certbot on Alpine Linux

Generating an SSL certificate using Alpine Linux can be easily done through Certbot. So let’s see how to install Certbot on Alpine Linux.

In Certbot, Alpine Linux, Aug 01, 2022

Install HAProxy on Alpine Linux

Creating an isolated proxy microservice can be easily achieved with the Alpine Linux Docker image and HAProxy. It can act as both proxy container or load balancer depending on the nee...

In Proxy, Alpine Linux, Jul 30, 2022

Install Ruby on Alpine Linux

Installing Ruby on Alpine Linux comes fairly quick and easy as it exists within the apk package manager. Let’s jump on the crux.

In Ruby, Alpine Linux, Jul 28, 2022

Install Redis on Alpine Linux

Redis CLI is a part of the official Alpine apk packages, so it’s quick and easy to set it up. Here I’m going to show you how to install Redis CLI on Alpine Linux.

In Redis, Alpine Linux, Jul 22, 2022

Top command not found on Debian-based Docker container

Some of your Docker Debian-based containers can be killed due to heavy processes running inside the container. If your preferred choice is the top command, most likely you will get th...

In Utilities, Docker, Debian, Jul 20, 2022

Install UFW on Alpine Linux

Protecting your Alpine Docker images is always a good practice, especially the vulnerable services. Today, I will install UFW on Alpine Linux.

In Firewalls, Alpine Linux, Jul 16, 2022

Install Traceroute on Amazon Linux 2

Traceroute is a suitable option in a situation where you need to troubleshoot some network connection issues. The tool displays all the possible routes and packet loss over the Intern...

In Utilities, AWS, Amazon Linux 2, Jul 12, 2022

Install Node.js on Alpine Linux

Setting up a Node.js environment for development on Alpine Linux is quite easy and simple. So let’s see how to install Node.js with NPM on Alpine Linux.

In Node.js, Alpine Linux, Jul 08, 2022

Install Ansible on Alpine Linux

The Ansible installation on Alpine Linux can be achieved easily and quickly through the official Alpine packages.

In Ansible, Alpine Linux, Jul 06, 2022

Install Apache on Alpine Linux

Using Apache with Alpine Linux can be a suitable combination, because Apache comes with a lot of modules that can be useful for your application. Let’s see how to install Apache on Al...

In Apache, Alpine Linux, Jul 02, 2022

Install Nginx on Alpine Linux

Installing Nginx on Alpine Linux can be achieved easily, as it’s part of the official Alpine packages. Let’s take a look.

In Nginx, Alpine Linux, Jun 30, 2022

Resolve KernelCare `Error unpatching [255] ('default', '', '', False)` issue

Updating the latest security and stability patches using KernelCare it’s a safe and recommended way, but sometimes it can throw Error unpatching [255] ('default', '', '', False) error...

In Linux, Jun 28, 2022

Install Fluent Bit on Amazon Linux 2

Same as Fluentd, Fluent Bit doesn’t belong in the official Amazon Linux yum repositories as well. The installation will be pretty much the same through fluent bit shell script. So let...

In Logging, AWS, Amazon Linux 2, Jun 26, 2022

Install Fluentd on Amazon Linux 2

Fluentd is one of the most popular open-source projects, used for gathering logs from a set of sources and forwarding them to other monitoring software. Here I’m going to show you how...

In Logging, AWS, Amazon Linux 2, Jun 24, 2022

Install Exim on Alpine Linux

If there is a need for a simple and minimalistic mail transfer agent on Alpine then Exim is a decent choice. Let’s install Exim on Alpine Linux.

In SMTP, Alpine Linux, Jun 22, 2022

Install Git on Alpine Linux

Previously git was not included in the official alpine packages. As the new Alpine versions are released, there are improvements of course. So now git is a part of the Alpine packages...

In Git, Alpine Linux, Jun 20, 2022

Install PHP 8 on Alpine Linux

The PHP 8 installation on Alpine Linux can be achieved in a few steps. Let’s do it.

In PHP, Jun 18, 2022

Install SCP on Alpine Linux

SCP as a useful transfer tool can be easily installed on Alpine Linux. Let’s see the steps needed.

In Utilities, Alpine Linux, Jun 16, 2022

Install Podman Compose on Alpine Linux

If you plan to deal with Podman Compose on Alpine Linux I will show you the installation part. The aim of this tutorial is to show you how to install Podman Compose on Alpine Linux.

In Podman, Alpine Linux, Jun 14, 2022

Install Podman on Alpine Linux

Podman, as a decent Docker replacement has support from the Alpine community repository and can be installed as a podman package. Let’s see how to install Podman on Alpine Linux.

In Podman, Alpine Linux, Jun 12, 2022

Install Rsync on Alpine Linux

How can you remotely sync or transfer files? Of course, rsync is here to help even if you want to include it within the Alpine docker container. Let’s see how to install Rsync on Alpi...

In Utilities, Alpine Linux, Jun 10, 2022

Install jq on Alpine Linux

Yet another quick and easy jq installation on Alpine Linux. You can use it as a part of your Dockerfile as well.

In Utilities, Alpine Linux, Jun 08, 2022

Install Zip And Unzip on Alpine Linux

Here I’m going to show you how to install zip and unzip on Alpine Linux which is quite quick and easy :)

In Archive, Jun 06, 2022

Install Terraform on Alpine Linux

As a small distro Alpine Linux doesn’t have huge support regarding the APK Alpine system manager package. So today I’ve decided to show you how to install Terraform on Alpine Linux.

In Terraform, Alpine Linux, Jun 04, 2022

Install AWS CLI on Amazon Linux 2

Managing some AWS services through AWS CLI can be useful and practical, especially when you need to perform some quick actions like listing active resources or troubleshooting. Here I...

In AWS, Amazon Linux 2, Jun 02, 2022

Install PHP Composer on Amazon Linux 2

Using PHP on Amazon Linux 2 can potentially require a composer installation for some libraries. Installing Composer on Amazon Linux 2 is a quick and easy procedure. Let’s see it.

In PHP, AWS, Amazon Linux 2, May 31, 2022

Find non-ASCII characters in Windows (Notepad++)

ASCII being a character encoding standard presents a part of UTF-8. PowerShell would be a great option here but for the sake of complexity I’ll show you how to do it in Notepad++ inst...

In Windows, May 30, 2022

Install Telnet on Amazon Linux 2

As a useful tool Telnet can help you to troubleshoot some connectivity problems, access specific port and also offers a lot of other useful stuff as well. The installation is simple a...

In Telnet, AWS, Amazon Linux 2, May 29, 2022

Install PHP 8.1 on Amazon Linux 2

If you want to hang out with the latest major update of PHP, then you should definitely try to install PHP 8.1 on Amazon Linux 2. Let’s do it.

In PHP, AWS, Amazon Linux 2, May 27, 2022

Find non-ASCII characters in Linux

ASCII as a character encoding standard that use numbers to represent characters. The original ASCII code range is 0 - 127 (7 bits) which represents the english character set including...

In Linux, May 26, 2022

Install tar on Amazon Linux 2

Yet another free cool tool for archiving files, is tar. I’m going to stick to the title itself and show you how to install tar on Amazon Linux 2.

In Archive, AWS, Amazon Linux 2, May 25, 2022

Install Zip and Unzip on Amazon Linux 2

Although the usage of zip and unzip is very simple there is at least one moment in our life when we are forced to use them. It may happen when you are migrating a website or some data...

In Archive, AWS, Amazon Linux 2, May 23, 2022

Fix VPN `Connection failed` after upgrade to Ubuntu 22.04

Since the Ubuntu 22.04 version has been released, there were a lot of rumors that there is a big improvement in terms of the Ubuntu style and features, so I decided to upgrade it. Aft...

In VPN, Ubuntu, May 21, 2022

Install Podman Compose on Ubuntu 22.04

As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m going to show you three ways on how to install Podman Compose on U...

In Podman, Ubuntu, May 19, 2022

Install jq on Amazon Linux 2

jq one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...

In Parsing, AWS, Amazon Linux 2, May 17, 2022

Install Telnet on CentOS 9 Stream

Telnet as a useful tool, allows you to establish a connection or check whether some connection is allowed or not. Here I’m going to show you how to install Telnet on CentOS 9 Stream, ...

In Telnet, CentOS, May 15, 2022

Install Java on CentOS 9 Stream

As a Java developer on the new CentOS 9 Stream OS, you may wonder how to set up your java environment. The installation of Java on CentOS 9 Stream can be achieved in a few steps. Let’...

In Java, CentOS, May 13, 2022

Get Windows 10 version number from the CLI

Today’s topic going to be all about the multiple way to get the version number for Windows 10. Even though there’s a dozen ways to do it, I’m going to stick to the most basic ones wit...

In Windows 10, May 12, 2022

Get memory page size in Linux

Memory page, virtual memory page, or just page is the smallest block of memory unit in terms of memory management. The page size is determined by the hardware to be exact the processo...

In Linux, May 10, 2022

Install Podman Compose on Debian 11

The growth and use of Podman is really raging higher and higher. I hope one day it will be on the same level as Docker is today. Now, assuming that you have Podman installed on Debian...

In Podman, Debian, May 09, 2022

Install Redis on CentOS 9 Stream

Redis is the most popular and most used cache, message broker, and in-memory key value database store service nowadays. So today I’m going to show you how to install Redis on CentOS 9...

In Redis, May 07, 2022

Install Nginx on CentOS 9 Stream

Nginx is one of the most used web servers nowadays and can be easily installed on the new CentOS 9 Stream OS. Let’s see how to install Nginx on CentOS 9 Stream and enable the HTTP and...

In Nginx, CentOS, May 05, 2022

Install Postfix on Amazon Linux 2

Besides Exim, Postfix is another useful and free mail transfer agent that is under IBM public license. The installation is easy and simple so let’s see how to install Postfix on Amazo...

In SMTP, AWS, Amazon Linux 2, May 03, 2022

PowerShell equivalent of the touch command in Linux

There might be a point in your IT career where you need to switch to a Windows OS dev machine whatever you like it not because the CTO decided to put all eggs in the Microsoft Azure b...

In PowerShell, May 02, 2022

Install Exim on Amazon Linux 2

Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.

In SMTP, AWS, Amazon Linux 2, May 01, 2022

Install dig on Amazon Linux 2

Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.

In DNS, AWS, Amazon Linux 2, Apr 29, 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, AWS, Amazon Linux 2, 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 ansible.builtin.user module, simply because I needed to commit a password hash for ...

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, AWS, Amazon Linux 2, Apr 25, 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 Utilities, AWS, Amazon Linux 2, Apr 23, 2022

Install Redis 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 going to show you how to install R...

In Redis, AWS, Amazon Linux 2, Apr 21, 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 Utilities, AWS, Amazon Linux 2, Apr 19, 2022

Install Rsync on Amazon Linux 2

Sending files, and directories remotely can be achieved with a lot of utility tools. One of them is Rsync, which is a cool tool for remote transfer. Let’s see how to install it on Ama...

In Utilities, AWS, Amazon Linux 2, Apr 17, 2022

Install Terragrunt on Amazon Linux 2

One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...

In Terragrunt, AWS, Amazon Linux 2, Apr 15, 2022

Install openfortivpn on Amazon Linux 2

openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.

In VPN, AWS, Amazon Linux 2, Apr 14, 2022

Install HAProxy on Amazon Linux 2

HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s se...

In Proxy, AWS, Amazon Linux 2, Apr 13, 2022

How to set up SSH keys on Amazon Linux 2

While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...

In SSH, AWS, Amazon Linux 2, Apr 11, 2022

spawn, expect and send commands in Linux

spawn, expect and send commands are usually part of SSH bash scripts. So, I’m going to briefly explain them, starting with expect since the rest of them are part of it.

In Linux, Apr 10, 2022

Install Node.js on Amazon Linux 2

Node.js doesn’t exist in the default Amazon Linux 2 yum packages. So we should add the Node.js official repo and use it for the installation. Let’s see how to install Node.js on Amazo...

In Node.js, AWS, Amazon Linux 2, Apr 09, 2022

Enable EPEL on Amazon Linux 2

Using EPEL package repository can be very beneficial. EPEL contains all the common packages that you may want to install. Unfortunately, EPEL is disabled in Amazon Linux 2. Let’s see ...

In AWS, Amazon Linux 2, Apr 07, 2022

Install VestaCP on Amazon Linux 2

Managing your AWS ec2 instance with VestaCP comes easier if you are not familiar with Linux. Here I’m going to tell you how to install VestaCP on Amazon Linux 2.

In Control Panels, AWS, Amazon Linux 2, Apr 05, 2022

Install VestaCP on Debian 11

VestaCP is a free and open-source control panel based on PHP and Bash. It’s a lightweight and easy to use control panel which can save you a lot of time and money especially if you ar...

In Control Panels, Apr 03, 2022

How to install Go on Amazon Linux 2

Installing Golang on Amazon Linux 2 can be done within a few minutes since Go exists in the default Amazon Linux 2 yum packages. Let’s dive into it.

In Golang, AWS, Amazon Linux 2, Apr 01, 2022

How to install SQLite on Amazon Linux 2

SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...

In SQLite, AWS, Amazon Linux 2, Mar 30, 2022

Check for read-only filesystem in Linux

In today’s post we are going to find out how to check for read-only filesystem in Linux from the CLI.

In Linux, Mar 29, 2022

Check last reboot time in Linux

In today’s post we are going to find out the last reboot time in Linux from the CLI.

In Linux, Mar 27, 2022

Check system uptime in Linux macOS and Windows from the command line

The following commands will help you find the system uptime for Linux, macOS and Windows in the easiest way possible, from the command line.

In Linux, macOS, Windows, Mar 23, 2022

How to install bc on Linux macOS and Windows

bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...

In Utilities, Linux, macOS, Windows, Mar 19, 2022

How to install Ruby on Amazon Linux 2

If you want to develop ruby application using some ruby frameworks like Ruby on Rails, Padrino, etc., on Amazon Linux 2 you will have to install ruby as a dependency. This topic will ...

In Ruby, AWS, Amazon Linux 2, Mar 16, 2022

How to install Kubectl on Amazon Linux 2

Installing the kubectl from the official Red Hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...

In Kubernetes, AWS, Amazon Linux 2, Mar 14, 2022

How to install OpenVPN on Amazon Linux 2

If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...

In VPN, AWS, Amazon Linux 2, Mar 12, 2022

HP Fix WI-FI driver not working in Windows 10

Installing WLAN (WiFi) driver from the HP official drivers site might cause issues and does not appear in the Windows device adapters. So if that’s the thing follow the instructions b...

In Windows 10, Mar 10, 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 macOS, Linux, 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

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 bo...

In Linux, Mar 04, 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 going to show you a quick fix...

In Linux, Mar 02, 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, Ubuntu, Feb 28, 2022

How to install Redis on Ubuntu 21.10

Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.

In Redis, Ubuntu, Feb 26, 2022

How to flush the DNS cache from the CLI

Clearing the DNS cache usually fixes issues related to not resolving new or updated existing domain records. Let’s see how it’s done from the command line though.

In DNS, Feb 25, 2022

MySQL fix: 'Waiting for table metadata lock'

Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m going to list some useful solutions that might help you.

In MySQL, Feb 24, 2022

How to install Docker Compose on Ubuntu 21.10

This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.

In Docker, Ubuntu, Feb 22, 2022

How to install Nginx on Ubuntu 21.10

Since Ubuntu 21.10 has been released there was an immediate interest in using it as an OS Server. In this tutorial, we are going to see how to install Nginx on Ubuntu 21.10.

In Nginx, Ubuntu, Feb 20, 2022

Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8

Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.

In Docker, Feb 18, 2022

How to install DBeaver on Debian 11

Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package

In DBeaver, Debian, Feb 14, 2022

How to install DBeaver on Ubuntu 21.10

One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only MySQL servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...

In DBeaver, Ubuntu, Feb 12, 2022

How to install Apache on Amazon Linux 2

Once you have provisioned an AWS EC2 instance installing Apache on Amazon Linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...

In Apache, AWS, Amazon Linux 2, Feb 06, 2022

base64 encode and decode from the CLI

Base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability, ...

In Utilities, Jan 30, 2022

How to rotate screen position in Ubuntu through CLI

Nowadays as technology develops more and more, laptops are becoming more sophisticated. Most of today’s laptops offer a finger-sensitive screens, so you can manage to flip over the mo...

In Ubuntu, Jan 29, 2022

How to install Terragrunt on CentOS 7

To simplify and structure the Terraform modules you can use Terragrunt as a wrapper. In this tutorial we are going to see how to install Terragrunt on CentOS 7.

In Terragrunt, CentOS, Jan 27, 2022

How to upgrade Ubuntu 20.04 to Ubuntu 21.10

The upgrading process from Ubuntu 20.04 to Ubuntu 21.10 takes some time, but it’s a straightforward process if you stick close to the steps below. Before taking any actions please mak...

In Ubuntu, Jan 23, 2022

Run Docker containers in the background

While running a docker container in detached mode d maybe you have experienced exiting the container immediately. Here I’m going to show you some ways how to keep it running in the ba...

In Docker, Jan 21, 2022

How to enable HTTP/2 in Nginx

HTTP/2 was published almost 7 years ago, HTTP/3 being an internet draft standard since October 2020, and yet here we are, most of us still using HTTP/1.1. Considering how things quick...

In Nginx, HTTP, Jan 18, 2022

How to increase the open files limit in Linux

The default open files (nofile) limit is 1024. Let’s see how we could confirm and increase it on user and system-wide level.

In Linux, Jan 16, 2022

How to install Podman Compose on CentOS 7

When it comes to installing podman-compose on CentOS 7 it follows the same procedure as on the other RHEL-based distros and there are three ways to achieve it. You only need to make s...

In Podman, CentOS, Jan 15, 2022

SFTP transfer files non-interactive through the command line

This tutorial is aimed to show you how to download files from a remote sftp server and of course how to upload files to a remote sftp server. It’s useful if you are writing a bash or ...

In SFTP, Jan 13, 2022

How to connect with SFTP through the command line

Most of the shared hosting platforms are providing SFTP access to the end-users as a secure file transfer protocol. There are a lot of free and open source GUI platforms for ftp, SFTP...

In SFTP, Jan 11, 2022

Install Podman Compose on Ubuntu 20.04

Installation of podman-compose on Ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and ...

In Podman, Ubuntu, Jan 09, 2022

Install Podman Compose on Amazon Linux 2

As Podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it, and I’m g...

In Podman, AWS, Amazon Linux 2, Jan 07, 2022

Send Slack notifications from a Bash script

Slack is one of the most popular and used messaging apps by companies of any kind of business size, from small companies and startups to large enterprises. From DevOps point of view, ...

In Slack, Webhooks, Jan 06, 2022

Add jq and curl to an Alpine Docker image

The official Alpine Docker image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that’s ...

In Docker, Alpine Linux, Jan 05, 2022

Install dig and nslookup on Alpine Linux

Deploying docker containers based on alpine images or using alpine on your server is always a good idea as it’s a small, simple Linux OS. But if you want to perform some DNS checks yo...

In DNS, Utilities, Alpine Linux, Jan 03, 2022

Install Podman on Windows 11

The installation guide for running Podman on Windows 11 follows the same idea as Install Docker on Windows 11 without Docker Desktop.

In Podman, Windows 11, Dec 31, 2021

Install Docker on Windows 11 without Docker Desktop

As with Windows 10, let’s see how we could install Docker on Windows 11 without GUI.

In Docker, Windows 11, Dec 27, 2021

How to install PHP 7.4 on Amazon Linux 2

Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process, and it can be achieved in a few steps. This tutorial is aimed to show you the st...

In PHP, AWS, Amazon Linux 2, Dec 24, 2021

How to install Postman on Ubuntu 20.04

There are some ways to install Postman on Ubuntu 20.04. As always, we want to keep the work simple and straight to the point. So I’m going to show you the easiest way to install Postm...

In Postman, Ubuntu, Dec 22, 2021

How to install Windows 11 on VirtualBox

Windows 11 has been out there for almost 3 months, so let’s see how good the VirtualBox installation will go.

In Windows 11, Virtualization, Dec 21, 2021

How to fix Windows 11 'does not meet the requirements' error on VirtualBox

As with most of the new OS releases on macOS, Windows or Linux, my best practice is to test them first in a virtual environment, usually using VirtualBox. The reason you might stumble...

In Windows 11, Virtualization, Dec 17, 2021

Install Podman on Windows 10

The trick for installation and running Podman on Windows 10 follows the same idea as Install Docker on Windows 10 without Docker Desktop.

In Podman, Windows 10, Dec 15, 2021

Install Docker on Windows 10 without Docker Desktop

In today’s topic I’m going to cover on how to install and run Docker on Windows 10 without Docker Desktop. This means we’ll be using WSL (Windows Subsystem for Linux).

In Docker, Dec 13, 2021

How to install UFW on Amazon Linux 2

Maybe you will raise a question is it worth installing UFW on Amazon Linux 2. Some say that it’s enough to use the instance security groups but if you need some extra security on a se...

In Firewalls, AWS, Amazon Linux 2, Dec 10, 2021

How to install UFW on CentOS 7

Most of the RHEL Linux distros are coming with pre-installed firewalld as a default firewall. But if you are UFW fan and you don’t want to waste your time or resources on getting fami...

In Firewalls, CentOS, Dec 08, 2021

How to list, renew and delete Certbot certificates

Managing Certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...

In Certbot, Dec 03, 2021

How to install firewalld on Amazon Linux 2

Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...

In Firewalls, AWS, Amazon Linux 2, Dec 02, 2021

How to download files with curl

curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...

In Linux, macOS, Dec 01, 2021

How to install Firewalld on Rocky Linux 8

Keeping your services and host itself secure is crucial. Nowadays, there are a lot of attacks that can harm your host server, like brute force attacks, dictionary SSH attacks, SQL inj...

In Firewalls, Rocky Linux, Nov 30, 2021

How to secure domain with Let's Encrypt SSL/TLS certificate on Amazon Linux 2

As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL/TLS certifi...

In Let's Encrypt, AWS, Amazon Linux 2, Nov 28, 2021

How to generate random password from the CLI

There are a lot of ways to generate random passwords, starting from simple password generator sites found online to the most advanced password management solutions. Today’s topic will...

In Linux, Nov 27, 2021

How to install Certbot on Amazon Linux 2

Using AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL/TLS certific...

In Certbot, AWS, Amazon Linux 2, Nov 26, 2021

File locking with flock 101

As a concept, file locking in Linux purpose is to control access to a shared resource between multiple processes, in a way to indicate which process is next in line, so it could use t...

In Linux, Nov 25, 2021

How to install Terragrunt on Ubuntu

Working with Terragrunt as a Terraform wrapper will ease things and simplify the Terraform templates. Here I will show you how to set up quickly on your Ubuntu machine.

In Terragrunt, Ubuntu, Nov 24, 2021

mtime timestamp and the 24h period cheatsheet

For those who might be questioning, mtime or short for modified timestamp, is a Linux file timestamp which usually goes hand in hand with the find command in the most common scenarios...

In Linux, Nov 23, 2021

How to update Visual Studio Code on Debian-based distro

Some old VS Code versions are getting git issues, for instance, you are not able to pull or push to your repo due to authentication issues. If you try to authenticate through your Lin...

In VSCode, Debian, Nov 22, 2021

Which shell am I using - how to check

Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, or suchlike. This time I’ll be focusing on how to find out which shell you are using, which is t...

In Shell, Nov 21, 2021

How to reload shell session

In order to update and see changes made in the shell environment, most of the time reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comman...

In Shell, Nov 19, 2021

How to install Logstash on Debian 11

Every data processing service needs a data processing pipeline that will help you to gather data from different sources. Nowadays, Logstash is one of the most efficient and required d...

In Logging, Debian, Nov 14, 2021

How to install Grafana on Debian 11

Seemingly some enterprise monitoring solutions look that they can be suitable for your infrastructure but afterwards it shows up that your expectations are not satisfied. There are a ...

In Monitoring, Debian, Nov 10, 2021

How to install Terraform on Debian 11

Today I’ll be writing about terraform installation on Debian 11. The steps are pretty easy, so you just have to follow them and accomplish the installation process. Let’s hop in.

In Terraform, Nov 06, 2021

How to install Nomad on Fedora-based distro

Previously I covered the Nomad installation on the most frequently used Linux distros: Amazon Linux 2 Debian RHEL

In Nomad, Fedora, Oct 27, 2021

How to change permissions for directories and files recursively

Getting to know how to fix the directories and files permissions recursively, with a quick and easy method is always a good point. The crux of this tutorial is to understand how you c...

In Linux, Oct 25, 2021

How to Setup GraphQL with Node.js on Debian-based distro

To gather information from the REST API designed app you need to send requests to multiple REST endpoints. So this kind of approach is scattered across multiple endpoints. GraphQL sol...

In GraphQL, Node.js, Debian, Oct 23, 2021

Setup Nginx proxy for a Node.js app

Behind every major player in the cloud provider’s field, there is a hidden “magic” that makes our applications work. Most of the time, this magic is some kind of proxy, mostly Nginx. ...

In Nginx, Node.js, Oct 22, 2021

How to install Node.js on Debian 11

There are few methods to install Node.js on Debian 11. Using PPA Using NVM From the Debian official packages

In Node.js, Debian, Oct 21, 2021

How to install Terragrunt on Debian 11

If you need to simplify the Terraform structure you can achieve it through Terragrunt. The crux is that you only need to define the Terraform modules and Terragrunt will take care of ...

In Terragrunt, Debian, Oct 19, 2021

Check Internet speed from the CLI on Linux

In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...

In Linux, Oct 18, 2021

How to install Nomad on RHEL-based distro

As I mentioned in the previous topics I’m going to cover the Nomad installation on all popular Linux distros. So this tutorial will be aimed to show you how to install Nomad on RHEL-b...

In Nomad, RHEL, Oct 17, 2021

Get public IP from the CLI on Linux

Let’s speedrun the tutorial on how to get your public IP address from the command line interface for any whitelisting reason, on any Linux distro.

In Linux, Oct 16, 2021

How to install Nomad on Debian-based distro

As a sequel of the Nomad installation series today I’m going to shed some light on how to install Nomad on every Debian-based distro. The installation process is quick and easy and th...

In Nomad, Debian, Oct 15, 2021

How to install Nomad on Amazon Linux 2

Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, deployments, and managing the resources ...

In Nomad, AWS, Amazon Linux 2, Oct 13, 2021

How to install Terraform on Amazon Linux 2

There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the Terraform official release site, so you need to get the late...

In Terraform, AWS, Amazon Linux 2, Oct 11, 2021

How to detect and free Inode usage on Linux

While I was maintaining a monitoring service for an AWS-based infrastructure the service daemon stopped working. After some digging on the host where the service was hosted, I find ou...

In Linux, Oct 09, 2021

How to install Ansible on Amazon Linux 2

When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...

In Ansible, AWS, Amazon Linux 2, Oct 07, 2021

How to install Nginx on Amazon Linux 2

Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...

In Nginx, AWS, Amazon Linux 2, Oct 05, 2021

Remmina can't remote into AWS EC2 Windows machine due to libfreerdp

If you need to access your Windows-based server through your local Linux machine you should consider using some RDP software. A few days ago I needed to access a Microsoft SQL server ...

In RDP, AWS, Oct 01, 2021

Prevent accidental rm -rf /*

We’ve all heard the infamous rm -rf /* command. Now, let’s see how can we prevent from happening many times again.

In Linux, Sep 30, 2021

How to install Redis on Debian 11

Improving your site performance and caching your content can be achieved with Redis which stands as one of the most popular caching tools nowadays. How the complexity of the applicati...

In Redis, Debian, Sep 29, 2021

Count files within directory in Linux

Sometimes, for some reason we need to pull up the number of files in a certain directory. As always, this could be done in a couple of ways. Let’s go through each of them.

In Linux, Sep 28, 2021

How to install Ruby on Debian 11

Ruby as a programming language belongs to the group with a high demand along with the other popular programming languages. Nowadays, his framework Ruby on Rails is highly used by deve...

In Ruby, Debian, Sep 27, 2021

Run Linux Bash commands in background

If one thing can be annoying while working on remote Terminals on daily basis, that would be waiting for a command to finish. Wasting time on waiting commands to finish is resolvable ...

In Linux, Sep 26, 2021

Remove last N characters of a string in Bash

As with most things in IT, there is always more than one way to skin a cat. In today’s blog post, we are going to test out few ways on how we could remove last n characters of a strin...

In Linux, Sep 24, 2021

Protect files from being deleted in Linux

I’m going to start by saying we have all heard of these sudo rm -rf / horror stories on the Internet. There are a bunch of ways we could protect our servers from such accidents, which...

In Linux, Sep 22, 2021

How to search for a string in multiple files on Linux

These days there are a lot of code editors which can ease your life in terms of finding some particular string in multiple files or repo. The life will get complicated if you need to ...

In Linux, Sep 19, 2021

Convert Linux commands output from CSV to JSON

CSV to JSON conversion is commonly used in the Monitoring part of the DevOps cycle, usually when we need to gather some data, parse it, and ship it via some monitoring agent, like Flu...

In Parsing, Linux, Sep 18, 2021

How to install Docker Compose on Debian 11

We previously saw how to install Docker on Debian 11. As a sequel, I’m going to round it off with the docker compose installation on Debian 11.

In Docker, Debian, Sep 15, 2021

How to check if your web application is under DDoS attack

Nowadays, most of the web applications are vulnerable and exposed on many kinds of attacks. One of them is a DDoS attack. There are a lot of services on the internet that are offering...

In DDOS, Sep 11, 2021

How to enable CORS in Nginx

If you are trying to make API calls, and you are getting the following error from Nginx: No Access-Control-Allow-Origin header is present on the requested resource you should definite...

In Nginx, Sep 07, 2021

List processes with high memory usage in Linux

There are situations where your web application or particular software installed on your machine takes a lot of time to load. The troubleshooting process may last long but however, yo...

In Linux, Sep 05, 2021

How to check if command succeeded in Linux

As a DevOps engineer, or any other Operation roles, we sometimes need to check if a Linux command succeeded. There are many reasons, for example: our internet connection failed, a VPN...

In Linux, Aug 29, 2021

How to install Nginx on Debian 11

Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your Debian server.

In Nginx, Debian, Aug 22, 2021

How to install MongoDB on Rocky Linux 8

MongoDB has an attitude to store the data in BSON, which can be searched and indexed, with a way better performance. Installing MongoDB on Rocky Linux can additionally improve the sea...

In MongoDB, Rocky Linux, Aug 20, 2021

How to install Docker on Debian 11

Finally, Debian 11 is released on August 14th, 2021, and this version is marked as a stable version. This tutorial will show you the steps on how to install Docker on a new fresh Debi...

In Docker, Debian, Aug 18, 2021

Missing sites-available directory in Nginx

As part of the Nginx series, in today’s tutorial, we are going to see on how to add that missing sites-available subdirectory. The reason behind this, is because most of us have been ...

In Nginx, Aug 17, 2021

How to disable SELinux

You may face Nginx or Apache web server blocking issues even when your firewall is disabled. SELinux is a security engine that may block some calls or permissions on your server. So, ...

In Linux, Aug 16, 2021

How to set up Nginx reverse proxy for your application

Using Nginx reverse proxy could be very useful, especially if you are developing an application with a framework that can run its own server like Node.js, Python, Ruby on Rails, etc. ...

In Nginx, Aug 14, 2021

How to block visitors by country in Nginx

In some of mine previous posts, I wrote about how you can whitelist IPs in Nginx. In today’s tutorial, we are going to see how can we block specific countries in a few steps.

In Nginx, Aug 13, 2021

How to install Podman on Ubuntu 20.04

If you try to install Podman on Ubuntu 20.04 with the default Ubuntu packages, the installation will fail with the following error: E: Unable to locate package podman. In this tutoria...

In Podman, Ubuntu, Aug 12, 2021

How to install Podman on Amazon Linux 2

If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m going to show you how to install...

In Podman, AWS, Amazon Linux 2, Aug 10, 2021

How to whitelist IP addresses in Nginx

We all know what firewalls are for, but sometimes they can become a pain in the arse, and we all end up opening HTTP and HTTPS port by default. Let’s say we host multiple domains via ...

In Nginx, Aug 09, 2021

How to secure Apache with Let's Encrypt on Rocky Linux 8

As a part of the Certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL/TLS certificate. Let’s start.

In Apache, Let's Encrypt, Rocky Linux, Aug 08, 2021

How to secure Nginx with Let's Encrypt on Rocky Linux 8

Previously we saw How to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...

In Nginx, Let's Encrypt, Rocky Linux, Aug 06, 2021

How to install Certbot on Rocky Linux 8

Installing Certbot on your Rocky Linux server/machine is usually meant to be used to switch an existing HTTP site to work in HTTPS. It’s a helpful tool written in python which helps y...

In Certbot, Rocky Linux, Aug 05, 2021

How to install PostgreSQL on Rocky Linux 8

Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...

In PostgreSQL, Rocky Linux, Aug 01, 2021

How to install MySQL on Rocky Linux 8

Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.

In MySQL, Rocky Linux, Jul 30, 2021

How to determine the correct number of max children processes for PHP-FPM

Most of the PHP developers are using Nginx with PHP-FPM as the most efficient approach. Most likely Nginx will throw PHP errors as the server reached the pm.max_children number. It me...

In PHP, Jul 28, 2021

How to configure DHCP to fix the network connectivity on Rocky Linux

Some RHEL distros can cause common networking configuration issues on the first installation, so you will not be able to update the packages on a server or browse external Websites fr...

In DHCP, Rocky Linux, Jul 26, 2021

How to install Apache on Rocky Linux 8

Apache is one of the most popular, open source web servers that allows you to host your web content on Internet. Apache can be installed easily and can run on any operating system. In...

In Apache, Rocky Linux, Jul 24, 2021

How to install Nginx on Rocky Linux 8

If you need to implement a reverse proxy, load balancer or mail proxy, Nginx is the best-suited web server that can manage all of these actions. This tutorial will explain, how to ins...

In Nginx, Rocky Linux, Jul 20, 2021

How to install Redis on Rocky Linux 8

If you are seeking a caching solution for your application then Redis will appear on the list. Here we will show you how to install Redis on Rocky Linux which is a replacement for Cen...

In Redis, Rocky Linux, Jul 17, 2021

How to install Docker Compose on ARM64

In some of the previous posts I’ve covered how you can install Docker Compose on Linux distributions like Rocky Linux for example. It’s pretty easy to set it up, right?! Usually when ...

In Docker, Jul 12, 2021

How to install Ansible on Rocky Linux 8

If there is a need to simplify the deployments of your applications, manage your infrastructure servers, etc… you can achieve it with Ansible which is one of the most popular tool for...

In Ansible, Rocky Linux, Jul 11, 2021

How to install Docker Compose on Rocky Linux 8

Installing Docker Compose on Rocky Linux follows the same procedure as the other Linux distros. First, you need to make sure that you have installed Docker on your Rocky Linux machine.

In Docker, Rocky Linux, Jul 06, 2021

How to install Docker on Rocky Linux 8

In the early December last year, Red Hat took us all by surprise with the CentOS 8 End Of Life (EOL) announcement, that was scheduled for the end of 2021. In response to this, the ori...

In Docker, Rocky Linux, Jul 05, 2021

How to install Terraform on Rocky Linux 8

Finally, there is a replacement on the CentOS distro. The fresh and new Rocky Linux will replace the CentOS, so the CentOS team announces that they are going to focus on the CentOS St...

In Terraform, Rocky Linux, Jul 02, 2021

How to install Terraform on Ubuntu 20.04

All the cloud service providers have integrated and ease the way of using Terraform. So, using Terraform as infrastructure as code tool will efficiently minimize your code and speed u...

In Terraform, Ubuntu, Jun 25, 2021

How to install Ansible on Ubuntu

Ansible is an IT automation tool that can help you to simplify the deployments of your applications, efficiently manage your infrastructure servers, and provides a lot of features and...

In Ansible, Ubuntu, Jun 06, 2021

How to install Docker Compose on Ubuntu 19.04

Installing Docker Compose on Ubuntu 19.04 will get some benefits in terms of the procedure of starting multiple Docker containers, creating volumes, etc. But, before installing Docker...

In Docker, Ubuntu, Dec 15, 2019

How to install Docker on Ubuntu 19.04

Following the steps below will let you realize that installing Docker on Ubuntu 19.04 is not that hard as it seems, so let’s see how you can do it.

In Docker, Ubuntu, Dec 13, 2019

How to install AWS CLI and setup multiple named profiles on Ubuntu

AWS CLI is an efficient and powerful tool cause it enables developers and DevOps people to have a full control over their AWS cloud services by executing commands on a specified line....

In AWS, Ubuntu, Oct 09, 2019

azure sql database

How to backup and restore an Azure SQL database using Azure CLI

You cannot think of a SQL Server Administration or any kind of relational and non-relational database administration without the two magic words: backup and restore. Backing up a data...

In Azure, Oct 17, 2019

How to rename an Azure SQL database using Azure CLI

As a part of an Azure SQL Database administration series, this post will be a followup from the last one, where I will write about renaming Azure SQL databases, which is kind of a com...

In Azure, Oct 14, 2019

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that I’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In Azure, Oct 13, 2019

sql

How to install SQLite on Amazon Linux 2

SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...

In SQLite, AWS, Amazon Linux 2, Mar 30, 2022

How to kill thread or query in AWS RDS

Stopping some threads or queries that may appear in the deadlock queue or locked from the InnoDB engine on AWS RDS is a different thing than self-hosted MySQL or MariaDB. They can pot...

In AWS, Mar 24, 2022

Repair and optimize MySQL databases

In some of the previous posts, I’ve explained how to check if the MySQL tables are corrupted. So this topic will shed some light on how to auto-repair and optimize all MySQL databases...

In MySQL, Mar 20, 2022

How to export all MySQL databases

Keeping the database structure in one place and safe can sometimes be useful regarding disaster recovery. Exporting all MySQL databases into one SQL file it’s not a common thing, but ...

In MySQL, Mar 18, 2022

MySQL fix: 'Waiting for table metadata lock'

Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m going to list some useful solutions that might help you.

In MySQL, Feb 24, 2022

How to export and import PostgreSQL tables using CSV

Export and Import operations in PostgreSQL and any other relation database management system for that matter, could include a couple of use-case scenarios, for instance data analysis....

In PostgreSQL, Feb 21, 2022

How to upgrade and downgrade extensions in PostgreSQL

Extensions in PostgreSQL are basically packages with additional features. The popular ones include TimescaleDB, PostGIS, pg_stat_statements, ZomboDB and postgres_fdw. Today’s focus go...

In PostgreSQL, Feb 19, 2022

How to install, enable and list TimescaleDB version in PostgreSQL

TimescaleDB is a PostgreSQL extension that enables easier approach when working with time-series data. Today we are going to see how can we install, enable/disable, get the TimescaleD...

In PostgreSQL, Feb 17, 2022

How to limit number of rows in PostgreSQL

Limiting SQL queries is most likely a useful feature especially if you want to get a sample data chunk from a big table. The LIMIT clause in PostgreSQL is pretty much the same as the ...

In PostgreSQL, Feb 15, 2022

How to install DBeaver on Debian 11

Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package

In DBeaver, Debian, Feb 14, 2022

How to list sequences in PostgreSQL

Sequences in PostgreSQL are types of objects in a database that generates sequence of integers with specific requirements. Here are few ways to list them though.

In PostgreSQL, Feb 13, 2022

How to install DBeaver on Ubuntu 21.10

One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only MySQL servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...

In DBeaver, Ubuntu, Feb 12, 2022

How to list triggers in PostgreSQL

Triggers are types of stored procedures that run automatically whenever an event occurs, something like webhooks. And, a few ways to list them.

In PostgreSQL, Feb 11, 2022

How to list stored procedures in PostgreSQL

Stored procedures or simply put procedures are just SQL codes that can be saved for later use. There are few ways you could list them though, found below.

In PostgreSQL, Feb 09, 2022

How to list indexes in PostgreSQL

This week is all about listing things in PostgreSQL, and I’m going to start with indexes. Indexes are basically tables that points to data in other tables, therefore speeding up the q...

In PostgreSQL, Feb 07, 2022

How to restore an individual table in PostgreSQL

Backup and restore operations are convenient if we are working with small and medium-sized data. But, what happens when we need to restore a single table from a large database?! Most ...

In PostgreSQL, Feb 05, 2022

How to fix 'type: geography does not exist' error in PostgreSQL

Restoring PostgreSQL databases could be sometimes tricky and most likely includes few errors. In today’s issue resolving series, we are going to deal with the following error: type: "...

In PostgreSQL, Feb 03, 2022

MySQL check for corrupted tables

Exporting and importing MySQL databases and tables sometimes can cause corruption. And, there are a lot of different reasons why the MySQL table can get corrupted. Here in this tutori...

In MySQL, Feb 02, 2022

Calculate PostgreSQL configuration

Fine-tuning PostgreSQL requires a lot of experience and screw-ups along the way. Luckily, there is a configuration calculator available online made just for DevOps, SysOps and DB admi...

In PostgreSQL, Dec 19, 2021

firewalld allow MySQL remote access

On most of the RHEL-based distributions, firewalld comes as a default firewall, and it’s configured to pass only SSH connections by default. Therefore, in this tutorial I’m going to s...

In Firewalls, MySQL, Dec 06, 2021

How to execute MySQL DB migrations with Symfony and Doctrine

If you are working on infrastructure with a lot of microservices as a developer you may face difficulties executing SQL queries in terms of keeping database structure clean and safe c...

In MySQL, Nov 16, 2021

How to export and import all MySQL databases at once

Working with microservices will ramp up the number of MySQL databases. So, if you need to create a backup for all of them at once there is a way to do it through the CLI. Also importi...

In MySQL, Nov 12, 2021

How to resolve AWS Aurora ERROR 3024 (HY000)

If you hold some heavy-load AWS Aurora database tables, and you are trying to export some tables or import data, there is a big chance to face the following error ERROR 3024 (HY000): ...

In AWS, Nov 02, 2021

POSTGRESQL ERROR: Canceling statement due to conflict with recovery

This article is focused on resolving Canceling statement due to conflict with recovery, which is a common issue when dealing with master-slave replication.

In PostgreSQL, Oct 14, 2021

How to list, remove and upgrade PostgreSQL cluster

As part of the PostgreSQL series, in today’s tutorial, we are going to see on how can we list, remove and upgrade clusters, the easy way.

In PostgreSQL, Aug 11, 2021

How to terminate connections in PostgreSQL

As part of the PostgreSQL series, in today’s tutorial, we are going to focus on how to list and terminate connections. terminate, kill and drop will be used interchangeably through th...

In PostgreSQL, Aug 07, 2021

How to terminate idle transactions in PostgreSQL

As part of the PostgreSQL series, in today’s tutorial, we are going to see on how to set idle_in_transaction_session_timeout parameter and handle idle transactions, so you won’t face ...

In PostgreSQL, Aug 04, 2021

How to import CSV file into MySQL table

Importing the data through MySQL Workbench or phpMyAdmin can cause some limitation issues, so things will get complicated. In this tutorial, I’m going to show you how to import CSV fi...

In MySQL, Aug 03, 2021

How to resolve PostgreSQL 'FATAL: sorry, too many clients already' error

As part of the PostgreSQL series, in today’s tutorial, we are going to see on how to deal with one of the most often seen PostgreSQL errors:org.postgresql.util.PSQLException: FATAL: s...

In PostgreSQL, Aug 02, 2021

How to install PostgreSQL on Rocky Linux 8

Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...

In PostgreSQL, Rocky Linux, Aug 01, 2021

How to install MySQL on Rocky Linux 8

Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.

In MySQL, Rocky Linux, Jul 30, 2021

How to pg_dump to AWS S3 directly

Just before we start with this tutorial, I just want to say, don’t try this on production. Streaming pg_dump backup directly to S3 bucket is a bad practice to start with, unless you a...

In PostgreSQL, AWS, Jul 29, 2021

Basic and common PostgreSQL commands

In some of the previous posts, I’ve written about How to Backup and Restore a PostgreSQL Database and How To Show Database and table size in PostgreSQL.

In PostgreSQL, Jul 27, 2021

How to get database and table size in MySQL

In this tutorial, we’ll see how we can show a single and multiple database and table size in MySQL. Let’s get straight to the point.

In MySQL, Jul 21, 2021

Show database and table size in PostgreSQL

In this tutorial, we’ll see how we can show a database and table size in PostgreSQL. Planning a backup procedure, determining server instance size, could be few reasons to keep an eye...

In PostgreSQL, Jul 19, 2021

How to backup and restore a MySQL database

MySQL is one of the most popular open-source database engines. Manually backing up and restoring databases for whatever reasons could be found quite easy to execute, and we can see ho...

In MySQL, Jul 14, 2021

How to backup and restore a PostgreSQL database

As an open-source databases, PostgreSQL is in the top 3 most popularly used databases which often can be found as a managed service offered by the public cloud giants. In one of the p...

In PostgreSQL, Jul 09, 2021

How to backup and restore an Azure SQL database using Azure CLI

You cannot think of a SQL Server Administration or any kind of relational and non-relational database administration without the two magic words: backup and restore. Backing up a data...

In Azure, Oct 17, 2019

How to rename an Azure SQL database using Azure CLI

As a part of an Azure SQL Database administration series, this post will be a followup from the last one, where I will write about renaming Azure SQL databases, which is kind of a com...

In Azure, Oct 14, 2019

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that I’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In Azure, Oct 13, 2019

databases

Install Redis on Alpine Linux

Redis CLI is a part of the official Alpine apk packages, so it’s quick and easy to set it up. Here I’m going to show you how to install Redis CLI on Alpine Linux.

In Redis, Alpine Linux, Jul 22, 2022

Redis one-liner: AUTH and execute a command

Given that Redis supports optional authentication, it would be outrageous to deploy it to a public subnet hence exposing to the Internet. So, once you setup and configure Redis in a p...

In Redis, Jul 17, 2022

Install Redis on CentOS 9 Stream

Redis is the most popular and most used cache, message broker, and in-memory key value database store service nowadays. So today I’m going to show you how to install Redis on CentOS 9...

In Redis, May 07, 2022

Install Redis 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 going to show you how to install R...

In Redis, AWS, Amazon Linux 2, Apr 21, 2022

Disable Redis persistence in Docker

Disabling Redis persistence in Docker could be a good thing tho, if you are hosting a development environment, running low on disks space and possibly can’t afford to scale. By defaul...

In Redis, Docker, Apr 12, 2022

How to install SQLite on Amazon Linux 2

SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...

In SQLite, AWS, Amazon Linux 2, Mar 30, 2022

How to check Redis connection with Telnet

A lot of useful checks can be made with telnet in terms of connectivity, sending test emails, access to databases, etc. Telnet is an application protocol based on TCP, and it can allo...

In Redis, Telnet, Mar 26, 2022

How to kill thread or query in AWS RDS

Stopping some threads or queries that may appear in the deadlock queue or locked from the InnoDB engine on AWS RDS is a different thing than self-hosted MySQL or MariaDB. They can pot...

In AWS, Mar 24, 2022

Repair and optimize MySQL databases

In some of the previous posts, I’ve explained how to check if the MySQL tables are corrupted. So this topic will shed some light on how to auto-repair and optimize all MySQL databases...

In MySQL, Mar 20, 2022

How to export all MySQL databases

Keeping the database structure in one place and safe can sometimes be useful regarding disaster recovery. Exporting all MySQL databases into one SQL file it’s not a common thing, but ...

In MySQL, Mar 18, 2022

How to install Redis on Ubuntu 21.10

Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.

In Redis, Ubuntu, Feb 26, 2022

MySQL fix: 'Waiting for table metadata lock'

Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m going to list some useful solutions that might help you.

In MySQL, Feb 24, 2022

How to export and import PostgreSQL tables using CSV

Export and Import operations in PostgreSQL and any other relation database management system for that matter, could include a couple of use-case scenarios, for instance data analysis....

In PostgreSQL, Feb 21, 2022

How to upgrade and downgrade extensions in PostgreSQL

Extensions in PostgreSQL are basically packages with additional features. The popular ones include TimescaleDB, PostGIS, pg_stat_statements, ZomboDB and postgres_fdw. Today’s focus go...

In PostgreSQL, Feb 19, 2022

How to install, enable and list TimescaleDB version in PostgreSQL

TimescaleDB is a PostgreSQL extension that enables easier approach when working with time-series data. Today we are going to see how can we install, enable/disable, get the TimescaleD...

In PostgreSQL, Feb 17, 2022

How to limit number of rows in PostgreSQL

Limiting SQL queries is most likely a useful feature especially if you want to get a sample data chunk from a big table. The LIMIT clause in PostgreSQL is pretty much the same as the ...

In PostgreSQL, Feb 15, 2022

How to install DBeaver on Debian 11

Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package

In DBeaver, Debian, Feb 14, 2022

How to list sequences in PostgreSQL

Sequences in PostgreSQL are types of objects in a database that generates sequence of integers with specific requirements. Here are few ways to list them though.

In PostgreSQL, Feb 13, 2022

How to install DBeaver on Ubuntu 21.10

One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only MySQL servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...

In DBeaver, Ubuntu, Feb 12, 2022

How to list triggers in PostgreSQL

Triggers are types of stored procedures that run automatically whenever an event occurs, something like webhooks. And, a few ways to list them.

In PostgreSQL, Feb 11, 2022

How to list stored procedures in PostgreSQL

Stored procedures or simply put procedures are just SQL codes that can be saved for later use. There are few ways you could list them though, found below.

In PostgreSQL, Feb 09, 2022

How to list indexes in PostgreSQL

This week is all about listing things in PostgreSQL, and I’m going to start with indexes. Indexes are basically tables that points to data in other tables, therefore speeding up the q...

In PostgreSQL, Feb 07, 2022

How to restore an individual table in PostgreSQL

Backup and restore operations are convenient if we are working with small and medium-sized data. But, what happens when we need to restore a single table from a large database?! Most ...

In PostgreSQL, Feb 05, 2022

How to fix 'type: geography does not exist' error in PostgreSQL

Restoring PostgreSQL databases could be sometimes tricky and most likely includes few errors. In today’s issue resolving series, we are going to deal with the following error: type: "...

In PostgreSQL, Feb 03, 2022

MySQL check for corrupted tables

Exporting and importing MySQL databases and tables sometimes can cause corruption. And, there are a lot of different reasons why the MySQL table can get corrupted. Here in this tutori...

In MySQL, Feb 02, 2022

Calculate PostgreSQL configuration

Fine-tuning PostgreSQL requires a lot of experience and screw-ups along the way. Luckily, there is a configuration calculator available online made just for DevOps, SysOps and DB admi...

In PostgreSQL, Dec 19, 2021

firewalld allow MySQL remote access

On most of the RHEL-based distributions, firewalld comes as a default firewall, and it’s configured to pass only SSH connections by default. Therefore, in this tutorial I’m going to s...

In Firewalls, MySQL, Dec 06, 2021

How to execute MySQL DB migrations with Symfony and Doctrine

If you are working on infrastructure with a lot of microservices as a developer you may face difficulties executing SQL queries in terms of keeping database structure clean and safe c...

In MySQL, Nov 16, 2021

How to export and import all MySQL databases at once

Working with microservices will ramp up the number of MySQL databases. So, if you need to create a backup for all of them at once there is a way to do it through the CLI. Also importi...

In MySQL, Nov 12, 2021

How to resolve AWS Aurora ERROR 3024 (HY000)

If you hold some heavy-load AWS Aurora database tables, and you are trying to export some tables or import data, there is a big chance to face the following error ERROR 3024 (HY000): ...

In AWS, Nov 02, 2021

POSTGRESQL ERROR: Canceling statement due to conflict with recovery

This article is focused on resolving Canceling statement due to conflict with recovery, which is a common issue when dealing with master-slave replication.

In PostgreSQL, Oct 14, 2021

How to install Redis on Debian 11

Improving your site performance and caching your content can be achieved with Redis which stands as one of the most popular caching tools nowadays. How the complexity of the applicati...

In Redis, Debian, Sep 29, 2021

How to install MongoDB on Rocky Linux 8

MongoDB has an attitude to store the data in BSON, which can be searched and indexed, with a way better performance. Installing MongoDB on Rocky Linux can additionally improve the sea...

In MongoDB, Rocky Linux, Aug 20, 2021

How to list, remove and upgrade PostgreSQL cluster

As part of the PostgreSQL series, in today’s tutorial, we are going to see on how can we list, remove and upgrade clusters, the easy way.

In PostgreSQL, Aug 11, 2021

How to terminate connections in PostgreSQL

As part of the PostgreSQL series, in today’s tutorial, we are going to focus on how to list and terminate connections. terminate, kill and drop will be used interchangeably through th...

In PostgreSQL, Aug 07, 2021

How to terminate idle transactions in PostgreSQL

As part of the PostgreSQL series, in today’s tutorial, we are going to see on how to set idle_in_transaction_session_timeout parameter and handle idle transactions, so you won’t face ...

In PostgreSQL, Aug 04, 2021

How to import CSV file into MySQL table

Importing the data through MySQL Workbench or phpMyAdmin can cause some limitation issues, so things will get complicated. In this tutorial, I’m going to show you how to import CSV fi...

In MySQL, Aug 03, 2021

How to resolve PostgreSQL 'FATAL: sorry, too many clients already' error

As part of the PostgreSQL series, in today’s tutorial, we are going to see on how to deal with one of the most often seen PostgreSQL errors:org.postgresql.util.PSQLException: FATAL: s...

In PostgreSQL, Aug 02, 2021

How to install PostgreSQL on Rocky Linux 8

Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...

In PostgreSQL, Rocky Linux, Aug 01, 2021

How to install MySQL on Rocky Linux 8

Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.

In MySQL, Rocky Linux, Jul 30, 2021

How to pg_dump to AWS S3 directly

Just before we start with this tutorial, I just want to say, don’t try this on production. Streaming pg_dump backup directly to S3 bucket is a bad practice to start with, unless you a...

In PostgreSQL, AWS, Jul 29, 2021

Basic and common PostgreSQL commands

In some of the previous posts, I’ve written about How to Backup and Restore a PostgreSQL Database and How To Show Database and table size in PostgreSQL.

In PostgreSQL, Jul 27, 2021

How to get database and table size in MySQL

In this tutorial, we’ll see how we can show a single and multiple database and table size in MySQL. Let’s get straight to the point.

In MySQL, Jul 21, 2021

Show database and table size in PostgreSQL

In this tutorial, we’ll see how we can show a database and table size in PostgreSQL. Planning a backup procedure, determining server instance size, could be few reasons to keep an eye...

In PostgreSQL, Jul 19, 2021

How to install Redis on Rocky Linux 8

If you are seeking a caching solution for your application then Redis will appear on the list. Here we will show you how to install Redis on Rocky Linux which is a replacement for Cen...

In Redis, Rocky Linux, Jul 17, 2021

How to backup and restore a MySQL database

MySQL is one of the most popular open-source database engines. Manually backing up and restoring databases for whatever reasons could be found quite easy to execute, and we can see ho...

In MySQL, Jul 14, 2021

How to backup and restore a PostgreSQL database

As an open-source databases, PostgreSQL is in the top 3 most popularly used databases which often can be found as a managed service offered by the public cloud giants. In one of the p...

In PostgreSQL, Jul 09, 2021

How to backup and restore an Azure SQL database using Azure CLI

You cannot think of a SQL Server Administration or any kind of relational and non-relational database administration without the two magic words: backup and restore. Backing up a data...

In Azure, Oct 17, 2019

How to rename an Azure SQL database using Azure CLI

As a part of an Azure SQL Database administration series, this post will be a followup from the last one, where I will write about renaming Azure SQL databases, which is kind of a com...

In Azure, Oct 14, 2019

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that I’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In Azure, Oct 13, 2019

passwords

Redis one-liner: AUTH and execute a command

Given that Redis supports optional authentication, it would be outrageous to deploy it to a public subnet hence exposing to the Internet. So, once you setup and configure Redis in a p...

In Redis, Jul 17, 2022

random_password and multiple Terraform resource instances

random_password is a Terraform resource used for generating as the name suggests, random passwords which could be utilized for sensitive secret’s initialization of other resources – u...

In Terraform, Jun 21, 2022

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 through it.

In Ansible, Apr 28, 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 ansible.builtin.user module, simply because I needed to commit a password hash for ...

In Linux, Apr 26, 2022

Ansible Vault password integration with Bitwarden

Ansible Vault encrypts Ansible data files mostly variables, so you could protect things such as passwords and keys. It uses a single password for encryption and decryption which initi...

In Ansible, Mar 13, 2022

Create AWS IAM User Login Profile with PGP encrypted password in Terraform

Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a Keybase, as stated in the official documentation. But, there is no info ...

In Terraform, AWS, Jan 04, 2022

Decrypt iam_user_login_profile password in Terraform

It’s almost always not a good idea to decrypt aws_iam_user_login_profile password to Terraform output since there are better approaches, which will not be covered in this topic today....

In Terraform, Dec 29, 2021

How to generate random password from the CLI

There are a lot of ways to generate random passwords, starting from simple password generator sites found online to the most advanced password management solutions. Today’s topic will...

In Linux, Nov 27, 2021

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that I’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In Azure, Oct 13, 2019

backup restore

How to restore an individual table in PostgreSQL

Backup and restore operations are convenient if we are working with small and medium-sized data. But, what happens when we need to restore a single table from a large database?! Most ...

In PostgreSQL, Feb 05, 2022

How to backup and restore a MySQL database

MySQL is one of the most popular open-source database engines. Manually backing up and restoring databases for whatever reasons could be found quite easy to execute, and we can see ho...

In MySQL, Jul 14, 2021

How to backup and restore a PostgreSQL database

As an open-source databases, PostgreSQL is in the top 3 most popularly used databases which often can be found as a managed service offered by the public cloud giants. In one of the p...

In PostgreSQL, Jul 09, 2021

How to backup and restore an Azure SQL database using Azure CLI

You cannot think of a SQL Server Administration or any kind of relational and non-relational database administration without the two magic words: backup and restore. Backing up a data...

In Azure, Oct 17, 2019

azure vm

Azure VMs Auto-shutdown

Talking about VMs shutdown operation, we got few ways we could do it in Azure: Stop VMs manually from the Portal. Running the az CLI command, described in How to easily Start, Stop,...

In Azure, Sep 08, 2021

Schedule automated Start and Stop for Azure VMs

Scheduling automated start and stop for Azure VMs is almost as good as provisioning and deprovisioning infrastructure on-demand, by using Infrastructure as Code (IaC) tools, like Terr...

In Azure, Sep 04, 2021

How to easily Start, Stop, Restart or Delete Azure VMs

Managing Azure Virtual Machines through the Portal could be pretty straightforward. But, it requires multiple steps using the GUI. For example, you’ll have to login to the Portal firs...

In Azure, Oct 28, 2019

azure cloud shell

How to upload files to Azure Cloud Shell

As the name says, Azure Cloud Shell is a browser-accessible shell, which is used for managing Azure resources. It comes with two types of command shells Bash and PowerShell. It also g...

In Azure, Nov 27, 2019

docker

How to fix Docker: unable to start container process: exec: '/bin/bash'

If you get this kind of error: docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: ...

In Docker, Jul 26, 2022

Build Docker image using custom Dockerfile

Working with multiple environments sometimes requires multiple Dockerfiles to some degree. For instance, a dev environment Docker image not necessary be in need of a multi-stage Docke...

In Docker, Jul 25, 2022

Docker and 'x509: certificate has expired or is not yet valid' error

It’s been a while since I’ve encountered any issues and errors related to Docker. It has to do with one of two things. Docker became more stable, or I’m not spending time on it as I w...

In Docker, Jul 21, 2022

Top command not found on Debian-based Docker container

Some of your Docker Debian-based containers can be killed due to heavy processes running inside the container. If your preferred choice is the top command, most likely you will get th...

In Utilities, Docker, Debian, Jul 20, 2022

Docker Compose and UID / GID

Although you could set a user ID and group ID as part of a Docker image, let’s see how it can be done from Docker Compose too. I’ll use the following Docker Compose code part as an ex...

In Docker, May 14, 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, AWS, Amazon Linux 2, Apr 25, 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

Disable Redis persistence in Docker

Disabling Redis persistence in Docker could be a good thing tho, if you are hosting a development environment, running low on disks space and possibly can’t afford to scale. By defaul...

In Redis, Docker, Apr 12, 2022

How to execute commands inside Docker containers

Although it may seem like manually executing commands inside Docker containers could be considered as an antipattern, actually it might be useful for instance when debugging things in...

In Docker, Apr 08, 2022

Configure Docker logging driver with Grafana Loki

Grafana Loki is a log aggregation tool inspired by Prometheus, or simply put Prometheus for logs. In this tutorial I’m going to show you how to install and configure the Loki logging ...

In Docker, Apr 06, 2022

How to fix Docker's 'error while removing network <> has active endpoints'

In today’s post we are going to list a few solutions on how to deal with the following Docker network error: ERROR: error while removing network: network <> has active endpoints...

In Docker, Apr 04, 2022

Multiple Docker Compose files in the same directory

Having multiple Docker Compose files in the same directory clearly is not a good idea, although I could see the use case if you are working on multiple different projects with custom ...

In Docker, Mar 03, 2022

How to fix 'WARNING: Connection pool is full' in Docker Compose

If you have been working with Docker Compose stacks for a while, you might have come across the following warning message: WARNING: Connection pool is full, discarding connection <...

In Docker, Feb 23, 2022

How to install Docker Compose on Ubuntu 21.10

This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.

In Docker, Ubuntu, Feb 22, 2022

Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8

Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.

In Docker, Feb 18, 2022

Resolve couldn't connect to docker daemon at http+docker //localhost - is it running?

Using Docker with a non-root user can cause issues connected with the Docker daemon. The Docker daemon binds to a Unix socket, so the Docker client will try to communicate to the daem...

In Docker, Feb 08, 2022

How to monitor and restart unhealthy Docker Containers

Last week, I wrote about How to restart a single container with Docker Compose. The approach is manual, hence will be repetitive and error-prone. And since we want to automate almost ...

In Docker, Jan 24, 2022

How to restart a single container with Docker Compose

Restarting Docker Compose stack (docker-compose restart) it’s pretty easy and convenient, and if you somehow screw up something, docker-compose down/up will take care of it. But, now ...

In Docker, Jan 22, 2022

Run Docker containers in the background

While running a docker container in detached mode d maybe you have experienced exiting the container immediately. Here I’m going to show you some ways how to keep it running in the ba...

In Docker, Jan 21, 2022

How to scale docker containers

When it comes working with a master - replica services Docker offers a scaling compose command which is very useful. Here I’m going to show you how to use it with an example.

In Docker, Jan 17, 2022

Docker vs Podman

2022 might be the year of DevOps alternatives, including cloud providers, CI/CD tools and even containers. Speaking of containers, Podman looks like a promising alternative to Docker....

In Docker, Podman, Jan 14, 2022

Add jq and curl to an Alpine Docker image

The official Alpine Docker image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that’s ...

In Docker, Alpine Linux, Jan 05, 2022

Install Docker on Windows 11 without Docker Desktop

As with Windows 10, let’s see how we could install Docker on Windows 11 without GUI.

In Docker, Windows 11