Categories

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

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

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

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

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 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

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

Git

About Git orphan branches and their use cases

Orphan branches in Git are rare as hens’ teeth though I’m writing from my personal experience. What, how and why are created orphaned branches will be the topics for today.

In Git, Oct 05, 2022

About deleting your Git repo commit history

Removing things has been my favorite topic to write about. Pushing any sensitive information as part of a Git commit or starting from scratch could be arguably enough reasons to remov...

In Git, Oct 04, 2022

Create a Git branch from an existing commit

This post will be all about on how you could create a new Git branch from a previous commit. As everything with Git, there are multiple ways to do so.

In Git, Oct 03, 2022

Checkout a specific Git commit

Checking out a Git commit is a common practice mostly used for troubleshooting purposes.

In Git, Oct 02, 2022

git revert a merge commit

Undoing operations in Git is often an underrated feature. Merging code that wasn’t meant to be merged (yet) is something that could happen to all of us. To be honest, we’ve all been t...

In Git, Oct 01, 2022

Git: HEAD^ vs HEAD~

Git HEAD is usually defined as the most recent commit on your current working branch. There are more than one “HEAD” variations which are going to be topic for this post.

In Git, Sep 29, 2022

List remotes with git remote

Remotes as part of a Git repository point to the remote repo URLs. On your local machine these are known as origin. By default, each repo has a single remote, although in some scenari...

In Git, Sep 27, 2022

Git HEAD vs head vs tip vs origin

Here’s few other core concepts around Git: HEAD, head, tip and origin. I’m going to break them down briefly as I did previously with the rest of the related posts shared at the end of...

In Git, Sep 25, 2022

Restore deleted files in Git

There are multiple ways you could recover files in Git. Before we explore them, here’s a list of related posts: The proper way to restore a deleted Git branch Restore a deleted Git ...

In Git, Sep 23, 2022

Restore a deleted Git commit

As a part of Git restoring series, today we are going to look at how to restore a deleted Git commit. Without further ado follow the steps as described below.

In Git, Sep 21, 2022

The proper way to restore a deleted Git branch

Personally, not a huge fan of switching between branches and complicating things as much as they need to. Therefore, the trunk-based development must be the most perfect Git branching...

In Git, Sep 19, 2022

The proper way to delete a Git repository

Besides automation, running rm -rf against directories is my second to none thing to do as a DevOps engineer. And this is exactly how you could easily remove a Git repository.

In Git, Sep 17, 2022

Git: HEAD vs working tree vs index

Here’s a Git interview question: “What’s the difference between HEAD, working tree and index in Git?”. First, we need to understand the usual Git workflow:| Working tree | Staging are...

In Git, Sep 15, 2022

git restore vs reset vs revert vs rebase

Time to compare yet another somehow confusing Git commands. This time being restore, reset, revert and rebase. Obviously, I won’t be doing a deep dive, and I’ll try to be as plain as ...

In Git, Sep 13, 2022

Cherry picking commits in Git

Cherry-picking in Git is all about choosing, picking and applying commit from any branch to the current HEAD branch. This is done using the git cherry-pick command. Let’s dive a bit i...

In Git, Sep 11, 2022

git fetch vs git pull

Two oddly confusing Git commands for beginners – git fetch and git pull used on a daily basis. I’ll try to describe them broadly and get to know how and when to use both of them.

In Git, Sep 09, 2022

How to get Git repository URL

In this plain and simple tutorial we are going to see how to get the remote URL that a Git repository was initially cloned from. This could be useful though when writing scripts per se.

In Git, Sep 07, 2022

How to delete local and remote branches in Git

Here’s a TL;DR version on how to delete local and remote Git branches. It’s a risk-free if you are doing it on your own repos; however, when working with other people it’s a best prac...

In Git, Sep 05, 2022

Git list local and remote branches

As with most things in Git, there are multiple ways to list branches. You don’t want to waste any time browsing GitHub or GitLab for sure, hence running Git commands from the CLI is t...

In Git, Sep 03, 2022

How to Git checkout a commit

Besides checking out Git branches, checking out commits could be a convenient way to test and deploy features in a test environment as well. As with branches, we are going to use the ...

In Git, Sep 01, 2022

How to get the hash (commit ID) for the current Git commit

Git commit ID is essentially a SHA-1 hash 40 characters string that looks like c1e5a0931989d842d00b8c07a5aacfe75ff39fcc. However, here’s some practical nugget I wanna share with you o...

In Git, Aug 30, 2022

How to delete local and remote commits in Git

As a Git newbie doing things right has always been a difficult thing to do. Here are some commands to remove and local and remote commits in Git.

In Git, Aug 28, 2022

How to list Git empty commits

Pushing empty commits or in general with no files changed is mostly done when triggering a deployment (CI/CD) pipeline, speaking from my personal experience for sure. However, if you ...

In Git, Aug 26, 2022

How to list unpushed commits with git log

Another cool command by Git and this time we are going to try to list all local (unpushed) commits. As always, there’s more than one way to shine a penny.

In Git, Aug 24, 2022

How to list all commits in a Git repository

Another potentially neat Git command to share. This time we are going to see how to list commits in a Git repository. This could be useful when writing scripts or from a personal expe...

In Git, Aug 22, 2022

Commit empty folders in Git with .gitkeep

By default, Git completely ignores directories because it’s an intentional design choice. Since empty dirs don’t include any files or content, therefore they’re ignored. And sometimes...

In Git, Aug 20, 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

In today’s tutorial we are going to see how can we get the Git commit count of empty and non-empty commits. So, here’s the neat commands you might need.

In Git, Aug 21, 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

AWS

Install Unbuffer on Amazon Linux 2

If you need to disable the output buffering when you use complex pipelines, passing the output between multiple pipes then you can definitely use the unbuffer command. Let’s install u...

In Utilities, AWS, Amazon Linux 2, Aug 13, 2022

How to fix 'no basic auth credentials' AWS ECR

If you are struggling to get login credentials for ECR authentication to be able to push or pull a Docker image from ECR, then you are probably executing the aws ecr get-login command...

In AWS, Aug 11, 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

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 Utilities, 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 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

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

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

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

Ubuntu

How to Install openfortivpn on Ubuntu 22.04

Installing openfortivpn on Ubuntu 22.04 can be done in a few steps without any complexity. Literally, the installation process is pretty much the same for every Debian based distro, b...

In VPN, Ubuntu, Aug 21, 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

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 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

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

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, Dec 27, 2021

Docker as an alias for Podman

There is a quick hack to get started with Podman just in case you are not familiar with the syntax though.

In Docker, Podman, Dec 23, 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

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

Access host network from inside of a Docker container

This might be a really weird or edge case scenario, but what If we need to access host service(s) from inside a Docker container. For instance, we already have configured and running ...

In Docker, Dec 11, 2021

Expose vs Publish ports in Docker

The general idea for communication between microservices (whatever is HTTP, message or event-driven communication) is related to certain protocols and ports on which each microservice...

In Docker, Dec 07, 2021

How to install PHP Composer within Dockerfile

Dockerizing your PHP application probably would require some external commands within your base Docker image. That’s why you will need to have a Dockerfile and put all the additional ...

In Docker, PHP, Dec 04, 2021

How to fix Docker error: 'Cannot start service .. network $network-id not found

If you have already created a Docker Compose stack and you are trying to start/restart the containers, you may face Docker error: Cannot start service ..: network $network-id not foun...

In Docker, Nov 18, 2021

Assign static IP to a Docker container

There are two types of static IPs, public and private IP addresses. We all know the public IP Docker mapping by now, using Nginx and port mapping. Today we are going to see how can we...

In Docker, Oct 24, 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 export and import Elasticsearch Index with Docker

Synchronizing the ES index data between your prod, dev and local ES cluster environment is now achievable with Docker. Moving the index data, mapping or analyzer can be done through t...

In Elasticsearch, Docker, Sep 17, 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

Filter the output of the 'docker image ls' command

Sometimes using the filter flag as a part of the docker image ls command can be useful to figure out which images are taking space, which are dangling images or unused. In this tutori...

In Docker, Aug 26, 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

Docker Registry vs Docker Repository

Docker is one of that technologies that will probably stay for a while. In a matter of years, the IT world went from monolith to deploying applications on the edge in a couple of seco...

In Docker, Aug 23, 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

Clean up Docker space for Jenkins jobs

Managing and deploying complex infrastructure with Jenkins sometimes can cause job failure issues. For example, if you are working with microservices and all the deployments are going...

In Docker, Jenkins, Jul 15, 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 copy files and folders to and from Docker Containers

There are situations when you need to copy files/folders from the container’s file system to the local machine and vice versa. You can achieve that with Docker copy command. In this t...

In Docker, Jul 08, 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

Useful Docker and docker-compose commands

Working with Docker Compose in a development environment can be challenging sometimes for the newcomers, unless you got the time on your hands to google everything from stack overflow...

In Docker, Mar 21, 2021

Build a Docker image and push it to Docker Hub

This tutorial is aimed to show you how to build and push an image to the Docker Hub repo. Let’s jump on the steps bellow.

In Docker, Feb 21, 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

Ansible

Install Ansible on CentOS 9 Stream

EPEL repository can provide a quick and easy way to install Ansible on CentOS 9. Let’s check it !!!

In Ansible, CentOS, Aug 31, 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

Ansible change Python interpreter

If you are getting this kind of warning:[DEPRECATION WARNING]: Distribution Ubuntu on host 2.2.2.2 should use/usr/bin/python3, but is using /usr/bin/python for backward compatibility ...

In Ansible, Python, Jul 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

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

vars_files vs include_vars in Ansible

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

In Ansible, Mar 01, 2022

How to deal with 'AnsibleUndefinedVariable: ... is undefined' error

Although Ansible has a low learning curve, obviously there’s always a big difference between learning on your own versus working on a medium to large scale size (enterprise) projects....

In Ansible, Feb 27, 2022

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

Reboot VMs with Ansible

Speaking of configuration management, Ansible is the most popular open-source automation tool out there. It’s mostly used for automating day to day operation activities, from installi...

In Ansible, Sep 14, 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 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 get the IP addresses of a group in Ansible

Usually when developing an Ansible role, most of the time we need to write a jinja2 template for some configuration file. Speaking from personal experience, I was writing an Elasticse...

In Ansible, Mar 28, 2021

SSH

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

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

Terraform

How to install Terraform on CentOS 9 Stream

There are two ways to install Terraform on CentOS 9 Stream. Through Terraform Repository. Manually.

In Terraform, CentOS, Aug 25, 2022

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

Run local commands and scripts with Terraform

Every once in a while, using built-in Terraform modules is just not enough. From time to time as new cloud features are developed and released, there is no native support yet, so it a...

In Terraform, Aug 06, 2022

Get current working directory name in Terraform

Another probably valuable Terraform nugget to share. Suppose that you want to get the current working directory name only for some reason. There are few helpful built-in references an...

In Terraform, Aug 04, 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

google_project_iam_binding removes GCP compute engine default service accounts from IAM principals

By default, once you enable the Compute Engine API in GCP, two Google-managed service account principals will be created Compute Engine default service account and Google APIs service...

In GCP, Terraform, Jul 13, 2022

'Failed to install provider ... doesn't match checksums from dependency lock file' error in Terraform

For today’s Terraform error of the week series we are going to take a look at the following one:│ Error: Failed to install provider│ │ Error while installing terra-farm/xenorchestra v...

In Terraform, Jul 11, 2022

Terraform output with loops: count and for_each

It’s not a new thing to loop through Terraform outputs though, so here are a few solutions that could help since count can’t be used as part of the output itself.

In Terraform, Jul 09, 2022

Migrating Terraform state the other way around: remote to local

Migrating Terraform state to a remote location such as a cloud object storage is a no-brainer since it solves the shared access to state challenge when working with multiple members a...

In Terraform, Jul 07, 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

'data could not be decoded from the state: unsupported attribute' error in Terraform

Another Terraform error from the vault, this time being:Error: Invalid resource instance data in state .. data could not be decoded from the state: unsupported attribute "manage_run_t...

In Terraform, Jul 03, 2022

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

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

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

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

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

'Invalid character encoding' error in Terraform

Another ez solution as part of the Terraform issue series. This time being the following one:╷│ Error: Invalid character encoding││ on providers.tf line 1:│ 1: ��provider "aws" {...

In Terraform, Jun 19, 2022

Warning: Redundant ignore_changes element in Terraform

Besides some new cool features introduced in Terraform v1.2.0 like precondition and postcondition check blocks – a new warning message was part of the release as well. While I was try...

In Terraform, Jun 17, 2022

'Argument or block definition required' error in Terraform

Continuing on my Terraform issues journey, I’m going to try to help you with resolving yet another common TF error:╷│ Error: Argument or block definition required││ on providers.tf ...

In Terraform, Jun 15, 2022

'Saved plan is stale' error in Terraform

Today I’m going to show you a quick solution on how to resolve just another TF error:╷│ Error: Saved plan is stale│ │ The given plan file can no longer be applied because the state wa...

In Terraform, Jun 13, 2022

'Failed to load tfplan as a plan file zip: not a valid zip file' error in Terraform

If you have ever tried to terraform apply tfplan.txt with tfplan.txt being a plain text terraform plan command output file (or even tfplan.tf), you’ll get the following error message:...

In Terraform, Jun 11, 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

'too many command line arguments' error in Terraform

Error: too many command line arguments is one more common error which obviously points out an issue related to arguments not being interpreted correctly. Although there’s no universal...

In Terraform, Jun 07, 2022

'terraform plan' in plain text output (the right way)

Following up to the previous post terraform plan the right way with intentions to keep things simple and clean as possible, I’ll try to describe how to get a terraform plan plain text...

In Terraform, Jun 05, 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

'terraform plan' the right way

terraform plan assess the current TF configuration to decide whatever the desired state is up-to-date by comparing it with the current one, thus creating a so-called plan with all pen...

In Terraform, Jun 03, 2022

'Invalid character' error in Terraform

Yet another Terraform error-related post. For any other Terraform-related issues, browse by category here.

In Terraform, Jun 01, 2022

'Failed to install provider unsuccessful request to 403 forbidden' error in Terraform

On today’s menu we got yet another TF error to resolve. For any other Terraform-related issues, browse by category here.

In Terraform, May 24, 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

required_providers vs provider in Terraform

Terraform providers are TF plugins that abstract external APIs, mostly cloud provider APIs. These providers enable the user to easily manage their cloud environments by exposing resou...

In Terraform, May 20, 2022

'Output refers to sensitive values' error in Terraform

Before Terraform ver. 0.14 you could have undoubtedly leaked any secret as being a part of an output value. This usually happens in a CI/CD pipeline. These days Terraform will throw a...

In Terraform, May 18, 2022

Show sensitive output values in Terraform

Starting from Terraform version 0.14 the output values marked as sensitive, are being obscured. I’ll take the following TF output code block as an example:output "cloudflare_access_se...

In Terraform, May 16, 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

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

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

Refreshing Terraform state

Refreshing Terraform state is done by adding the -refresh-only flag (since terraform refresh is deprecated) when running plan and apply operations. To start off, what does it mean, an...

In Terraform, Dec 09, 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 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

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 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

Reusing templates in Terraform

Working with Terraform and keeping the infrastructure code DRY has always been fun. If you’ve been deploying AWS S3 policies, or IAM policies, adding variables and making them reusabl...

In Terraform, Sep 12, 2021

How to fix Terraform 'acquiring the state lock' error

A couple of days ago, I was deploying a Terraform ECS cluster, and during the terraform plan command, I forgot to add a module. Didn’t want to wait it out until the command finish, so...

In Terraform, Jul 31, 2021

How to ignore changes in Terraform

Terraform is the most popular Infrastructure as Code tool mostly used for spinning up and managing infrastructure on the public cloud giants AWS, Azure, GCP and DigitalOcean. But, som...

In Terraform, Jul 23, 2021

Restrict variable values in Terraform

If you have worked before with Terraform by provisioning a cloud infrastructure and/or writing Terraform modules, you must have stumbled upon some variable validation issues. This cou...

In Terraform, Jul 18, 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

Elasticsearch

Fix 'illegal_argument_exception at shard' Elasticsearch error

Playing around with an existing ES cluster, I stumbled upon the following issue:Typeillegal_argument_exceptionReasonField [...] of type [text] does not support custom formatsHere I’m ...

In Elasticsearch, Oct 04, 2022

How to restore index with a different name from an Elasticsearch snapshot

You may wonder if it’s possible to rename an Elasticsearch index while doing a restore from an Elasticsearch snapshot but keeping the existing index as it is. Let’s see the scenario. ...

In Elasticsearch, Jul 10, 2022

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 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 export and import Elasticsearch Index with Docker

Synchronizing the ES index data between your prod, dev and local ES cluster environment is now achievable with Docker. Moving the index data, mapping or analyzer can be done through t...

In Elasticsearch, Docker, Sep 17, 2021

Elasticsearch Garbage Collection

Elasticsearch, as you might already know, is a free and open-source search and analytics engine developed in Java. In today’s topic we are going to cover the Garbage Collection part o...

In Elasticsearch, Sep 10, 2021

How to check if document exist in Elasticsearch

Sometimes there is a need to check whether a document exists or not in Elasticsearch. Following the ES documentation and the best practices, you can use the HEAD method instead of the...

In Elasticsearch, Sep 03, 2021

How to create Elasticsearch index

Creating an Elasticsearch index is a quick and easy process. In practice, there is an ELK API call that requires you to think of how many shards do you want to assign and replica shar...

In Elasticsearch, Sep 02, 2021

How to check Elasticsearch cluster health

Knowing how to get statistics and understand the output from an Elasticsearch cluster can be very useful for a DevOps guy. This tutorial is aimed to show you how to check Elasticsearc...

In Elasticsearch, Aug 30, 2021

How to manually change the Elasticsearch's allocation of shards

While updating the mapping on some ES clusters or doing a full reindex which are expensive operations, you may face a data node failure. Due to the node failure, there is a possibilit...

In Elasticsearch, Jul 13, 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

Rocky Linux

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 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 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 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 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

Virtualization

How to enable second level quota on OpenVZ

The second level quota, commonly used per-user and per-group is a virtualization thing that allows the VS admin to limit the amount of free disk space and potentially can restrict the...

In Virtualization, Mar 22, 2022

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

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

PostgreSQL

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 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 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

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

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 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 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

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 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

MySQL

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

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

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

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 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 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 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

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

Jenkins

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

Jenkins - same workspace for multiple jobs

In order to save some space on your Jenkins instance or if you need to create some backup jobs for multiple environments, you will need to enable shared space between multiple jobs. I...

In Jenkins, Nov 20, 2021

Clean up Docker space for Jenkins jobs

Managing and deploying complex infrastructure with Jenkins sometimes can cause job failure issues. For example, if you are working with microservices and all the deployments are going...

In Docker, Jenkins, Jul 15, 2021

PowerShell

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

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

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

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

Redis

How to solve Redis WARNING overcommit_memory is set to 0!

As I was working on a docker-compose stack I received the following warning message that was coming from the Redis service:WARNING overcommit_memory is set to 0! Background save may f...

In Redis, Aug 18, 2022

The proper way to start and stop Redis server

In this tutorial we are going to see how to start, stop and restart the Redis service properly, which is pretty straightforward and simple to do so. Service and server will be used in...

In Redis, Aug 16, 2022

How to update Redis password

By default, Redis ships the default user without any password configured, which is okay as long as you have Redis deployed in a private subnet behind a firewall. However, if you want ...

In Redis, Aug 14, 2022

How to check Redis server version

In one of the previous Redis posts I wrote about how you could authenticate and run a command in one go. Now, let’s see how to get the currently installed version of Redis. Although t...

In Redis, Aug 12, 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

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 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 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 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 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

Nginx

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

Nginx proxy and 'an upstream response is buffered to a temporary file' warning

In today’s Nginx log message of the week, we got the following warning:2022/05/02 08:03:16 [warn] 31447#0: an upstream response is buffered to a temporary file /var/lib/nginx/proxy/1/...

In Nginx, May 08, 2022

Tweaking Nginx proxy_buffers parameters

Before setting up YOLO values for proxy_buffers and proxy_buffer_size parameters, you need to find out the average and maximum response sizes first. On a side note, the following step...

In Nginx, May 06, 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

Nginx and 'using inherited sockets' notice

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

In Nginx, Apr 24, 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

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

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

In Nginx, Mar 08, 2022

How to 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 configure basic caching in Nginx

As the cache need grows for a big data applications, technology market offers a lot of different caching solutions. Today I want to show you how to set up basic caching and cache your...

In Nginx, Feb 04, 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

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

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

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 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 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 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

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 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 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 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 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

Kubernetes

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

Multiple ways to run Kubernetes clusters locally

Kubernetes, the most popular container orchestration platform out there, needs no introduction. Let’s explore a couple of ways and tools on deploying K8s clusters on your local machine.

In Kubernetes, Jan 20, 2022

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

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

Apache

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

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

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

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

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 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

DHCP

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

PHP

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 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 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

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 PHP Composer within Dockerfile

Dockerizing your PHP application probably would require some external commands within your base Docker image. That’s why you will need to have a Dockerfile and put all the additional ...

In Docker, PHP, Dec 04, 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

Certbot

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

Fix 'No package python3-certbot-nginx available.' error

While installing some Certbot packages I stumbled upon the No package python3-certbot-nginx available. error. Let’s take a look.

In Certbot, Python, Jul 18, 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

How to list, renew and delete Certbot certificates

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

In Certbot, Dec 03, 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 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

Let's Encrypt

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 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

Podman

Install Podman on CentOS 9 Stream

If you are digging on Google for a Docker replacement most likely you will end up with Podman. The installation of Podman on CentOS 9 Stream is very simple and straightforward.

In Podman, CentOS, Oct 02, 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 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 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

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 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

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

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

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

Docker as an alias for Podman

There is a quick hack to get started with Podman just in case you are not familiar with the syntax though.

In Docker, Podman, Dec 23, 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

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

Amazon Linux 2

Install Unbuffer on Amazon Linux 2

If you need to disable the output buffering when you use complex pipelines, passing the output between multiple pipes then you can definitely use the unbuffer command. Let’s install u...

In Utilities, AWS, Amazon Linux 2, Aug 13, 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

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 Utilities, 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

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 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 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

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 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 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 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

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

Linux

How to Add Swap Space on CentOS 9 Stream

If some of your services are struggling and can’t work properly then might your amount of physical memory be full? If that’s the case, adding swap space will solve the throttling issu...

In Linux, CentOS, Aug 17, 2022

How to check if command exist in a Bash/Shell script

Creating Bash or Shell script for validating whether some command exists or not, can be necessary in some cases. Here I’m going to give you a quick example of how can you achieve it.

In Linux, Aug 15, 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

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

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

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

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

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

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 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 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 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 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

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

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 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

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

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 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

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

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

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

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 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

Debian

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 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

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 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

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 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

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

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 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 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

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 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 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

GitHub

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

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

MongoDB

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

Jekyll

How to show future dated posts in Jekyll

By default, Jekyll doesn’t display posts with future dates. Sometimes we want to test them before publishing, and for that reason there is a plain solution.

In Jekyll, Jan 10, 2022

How to escape double curly braces in Jekyll

If you are using Jekyll for your blog site or writing some code documentation, you may face the issue with the double curly braces. Jekyll uses liquid tags, so if you are searching ho...

In Jekyll, Aug 28, 2021

DDOS

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

IaC

Declarative vs Imperative Infrastructure as Code

With the uprising of Terraform in the last couple of years, Infrastructure as Code (IaC) is a popular and hot topic in the DevOps world. Managing and deploying infrastructure is all w...

In IaC, Sep 16, 2021

Parsing

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

JSON to plain text using jq

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

In Parsing, Mar 09, 2022

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

Proxy

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 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 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

Ruby

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

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 check Ruby version

There are multiple ways you could find out which Ruby version you are running on your local machine.

In Ruby, Nov 11, 2021

Solution: Ignoring GEM because its extensions are not built

Solutions to common issues in Ruby dev environment series: Solution: cannot load such file – webrick (LoadError) Solution: gem eventmachine fatal error: ‘openssl/ssl.h’ file not fou...

In Ruby, Nov 09, 2021

Solution: Unknown ruby interpreter version (do not know how to handle): RUBY_VERSION

As a part of the solutions to common issues in Ruby dev environment series, here’s the link to the previous ones: Solution: cannot load such file – webrick (LoadError) Solution: gem...

In Ruby, Nov 07, 2021

Solution: gem eventmachine fatal error: 'openssl/ssl.h' file not found

I’ll be doing a solution to common issues in Ruby dev environment series, so here’s the link to the first post: Solution: cannot load such file – webrick (LoadError) Solution: Unkno...

In Ruby, Nov 05, 2021

Solution: cannot load such file -- webrick (LoadError)

As a DevOps engineer myself and three years of using a MacBook Pro, I’ve noticed that updating a major release of macOS always comes with unwelcomed ruby dependencies and version errors.

In Ruby, Nov 03, 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 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

RDP

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

Cloud

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

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

Drone

Add Drone CI build status to your project

In some of the previous posts, I wrote about how to Send Drone CI build notifications with Slack.

In Drone, Oct 08, 2021

Send Drone CI build notifications with Slack

The following post will be about sending Drone CI build notification to Slack. In case you didn’t know already, since there are a dozen of CI/CD tools out there, Drone CI is an open s...

In Drone, Slack, Webhooks, Oct 04, 2021

Slack

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

Send Drone CI build notifications with Slack

The following post will be about sending Drone CI build notification to Slack. In case you didn’t know already, since there are a dozen of CI/CD tools out there, Drone CI is an open s...

In Drone, Slack, Webhooks, Oct 04, 2021

Webhooks

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

Send Drone CI build notifications with Slack

The following post will be about sending Drone CI build notification to Slack. In case you didn’t know already, since there are a dozen of CI/CD tools out there, Drone CI is an open s...

In Drone, Slack, Webhooks, Oct 04, 2021

Nomad

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 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

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

RHEL

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

Terragrunt

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

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 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 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

Node.js

Auto start pm2 apps on reboot

PM2 is a process manager for Node.js that keeps apps up and running all the time. Unfortunately, this isn’t the case after a server instance reboots. So, let me show you how to do so.

In Node.js, Jul 19, 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 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

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

GraphQL

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

Fedora

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

VSCode

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

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

RabbitMQ

Resolve RabbitMQ 'Node statistics not available' in Cluster Node

Setting up RabbitMQ cluster with master and slave instances can invoke some node destabilization like the error Node statistics not available. Here I’m going to show you few steps how...

In RabbitMQ, Nov 08, 2021

Monitoring

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

Logging

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

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

Shell

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

Firewalls

How to install UFW on CentOS 9 Stream

If you are more familiar with the UFW firewall instead of using firewalld, first you need to stop the firewalld service: sudo systemctl stop firewalld.service and install UFW on CentO...

In Firewalls, CentOS, Aug 23, 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

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 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

DR

Disaster Recovery 101: RPO vs RTO

RPO (Recovery Point Objective) and RTO (Recovery Time Objective) are two of the most crucial and key parameters as part of a disaster recovery plan. Even though RTO and RPO sound alik...

In DR, Dec 05, 2021

CentOS

Install Podman on CentOS 9 Stream

If you are digging on Google for a Docker replacement most likely you will end up with Podman. The installation of Podman on CentOS 9 Stream is very simple and straightforward.

In Podman, CentOS, Oct 02, 2022

Install Caddy on CentOS 8

The procedure of installing Caddy Web Server on CentOS 8 is pretty much the same as on CentOS 7. Let’s jump on the installation part.

In Caddy, CentOS, Sep 22, 2022

Install Caddy on CentOS 7

If you need a scalable reverse proxy, powerful, and efficient static file server then try the caddy web server. It’s open source web server neatly crafted in Go. Today I’m going to sh...

In Caddy, CentOS, Sep 20, 2022

Install curl on CentOS 9 Stream

If something is a must to have on your Linux machine then that’s curl. It’s the most used tool on Linux and the main purpose is to interact with protocols. It’s commonly used in scrip...

In Utilities, CentOS, Sep 18, 2022

Install Unbuffer on CentOS 9 Stream

The procedure of installing unbuffer on CentOS 9 Stream is pretty much the same as the other RHEL distros. Let’s jump on the installation steps.

In Utilities, CentOS, Sep 10, 2022

Install jq on CentOS 9 Stream

If you are playing with JSON things then you may consider installing jq. It’s a simple JSON Processor which can help you to get the desired JSON output. Today I’m going to install jq ...

In Utilities, CentOS, Sep 06, 2022

Install Zip and Unzip on CentOS 9 Stream

Reducing the file size can be achieved with a lot of archive tools. One of them is zip who comes with a separate unzip package if you want to extract the file. Let’s see how to instal...

In Utilities, CentOS, Sep 04, 2022

Install tar on CentOS 9 Stream

Tar as an archive tool comes with the default CentOS 9 packages. The installation part is easy and straightforward, so let’s see how to install tar on CentOS 9 Stream.

In Utilities, CentOS, Sep 02, 2022

Install Ansible on CentOS 9 Stream

EPEL repository can provide a quick and easy way to install Ansible on CentOS 9. Let’s check it !!!

In Ansible, CentOS, Aug 31, 2022

Install dig and nslookup on CentOS 9 Stream

If you face an issue like -bash: nslookup: command not found that means you don’t have dig and nslookup installed as a DNS tool on your CentOS 9 machine. Let’s see how to install dig ...

In DNS, Utilities, CentOS, Aug 29, 2022

How to install Python on CentOS 9 Stream

As always keeping to the minimalistic things will ease your life. Today’s aim is to install Python on CentOS 9 Stream. The installation is pretty simple and quick.

In Python, CentOS, Aug 27, 2022

How to install Terraform on CentOS 9 Stream

There are two ways to install Terraform on CentOS 9 Stream. Through Terraform Repository. Manually.

In Terraform, CentOS, Aug 25, 2022

How to install UFW on CentOS 9 Stream

If you are more familiar with the UFW firewall instead of using firewalld, first you need to stop the firewalld service: sudo systemctl stop firewalld.service and install UFW on CentO...

In Firewalls, CentOS, Aug 23, 2022

How to Install openfortivpn on CentOS 8

Today’s goal is to install openfortivpn on CentOS 8. It can be achieved using dnf or yum, either way it should work fine. Let’s move on to the installation part.

In VPN, CentOS, Aug 19, 2022

How to Add Swap Space on CentOS 9 Stream

If some of your services are struggling and can’t work properly then might your amount of physical memory be full? If that’s the case, adding swap space will solve the throttling issu...

In Linux, CentOS, Aug 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

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

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 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

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

Apache Log4j2

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

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

Windows 10

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

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

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

Windows 11

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 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

DNS

Install dig and nslookup on CentOS 9 Stream

If you face an issue like -bash: nslookup: command not found that means you don’t have dig and nslookup installed as a DNS tool on your CentOS 9 machine. Let’s see how to install dig ...

In DNS, Utilities, CentOS, Aug 29, 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

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

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 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

Cloudflare

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 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

Postman

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

Oracle

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

HTTP

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

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

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

Ecommerce

How to flush and clear Magento cache

If you are struggling to clear the Magento cache through the Magento UI then you should consider connecting to your server and flushing it through the terminal. Here I can show you ho...

In Ecommerce, Jul 24, 2022

Change WordPress domain URL through WP-CLI

While migrating your WordPress site or syncing the production database with staging you need to change the domain URL from the database. Instead of crawling within the WP databases, I...

In Ecommerce, Jan 01, 2022

Utilities

Install curl on CentOS 9 Stream

If something is a must to have on your Linux machine then that’s curl. It’s the most used tool on Linux and the main purpose is to interact with protocols. It’s commonly used in scrip...

In Utilities, CentOS, Sep 18, 2022

Install Nano on Alpine Linux

If you are a nano fan and you are struggling to edit some config files with vim, then definitely you need to install nano. Let’s see how to install nano on Alpine Linux.

In Utilities, Alpine Linux, Sep 16, 2022

Install Htop on Alpine Linux

Htop provides you to track the machine processes and to be aware of your CPU and Memory load. Today I will show you how to install htop on Alpine Linux.

In Utilities, Alpine Linux, Sep 14, 2022

Install Netstat on Alpine Linux

Netstat is a useful tool if you want to troubleshoot or display network related information. You can list all the open connections, open socket, ports, etc… Let me show you how to ins...

In Utilities, Alpine Linux, Sep 12, 2022

Install Unbuffer on CentOS 9 Stream

The procedure of installing unbuffer on CentOS 9 Stream is pretty much the same as the other RHEL distros. Let’s jump on the installation steps.

In Utilities, CentOS, Sep 10, 2022

Install Unbuffer on Alpine Linux

Getting rid of the output buffering using pipelines can be achieved using the unbuffer command. Let’s see how to install unbuffer on Alpine Linux.

In Utilities, Alpine Linux, Sep 08, 2022

Install jq on CentOS 9 Stream

If you are playing with JSON things then you may consider installing jq. It’s a simple JSON Processor which can help you to get the desired JSON output. Today I’m going to install jq ...

In Utilities, CentOS, Sep 06, 2022

Install Zip and Unzip on CentOS 9 Stream

Reducing the file size can be achieved with a lot of archive tools. One of them is zip who comes with a separate unzip package if you want to extract the file. Let’s see how to instal...

In Utilities, CentOS, Sep 04, 2022

Install tar on CentOS 9 Stream

Tar as an archive tool comes with the default CentOS 9 packages. The installation part is easy and straightforward, so let’s see how to install tar on CentOS 9 Stream.

In Utilities, CentOS, Sep 02, 2022

Install dig and nslookup on CentOS 9 Stream

If you face an issue like -bash: nslookup: command not found that means you don’t have dig and nslookup installed as a DNS tool on your CentOS 9 machine. Let’s see how to install dig ...

In DNS, Utilities, CentOS, Aug 29, 2022

Install Unbuffer on Amazon Linux 2

If you need to disable the output buffering when you use complex pipelines, passing the output between multiple pipes then you can definitely use the unbuffer command. Let’s install u...

In Utilities, AWS, Amazon Linux 2, Aug 13, 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

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 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 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 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 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 Utilities, AWS, Amazon Linux 2, May 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 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

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

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

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

Alpine Linux

Install Caddy on Alpine Linux

Since Caddy exists as an Alpine package then the installation will be much easier. Let’s go to install Caddy on Alpine Linux.

In Caddy, Alpine Linux, Sep 30, 2022

Install Go on Alpine Linux

If you need a minimalistic docker image for building Go projects that’s definitely Alpine Linux. The aim here is to show you how to install Go on Alpine Linux.

In Go, Alpine Linux, Sep 28, 2022

Install Python on Alpine Linux

Today I’m going to show you how to install python on alpine linux without using a python image. You can get into the Alpine terminal and install python3 and python3-pip directly.

In Python, Alpine Linux, Sep 26, 2022

Install Nano on Alpine Linux

If you are a nano fan and you are struggling to edit some config files with vim, then definitely you need to install nano. Let’s see how to install nano on Alpine Linux.

In Utilities, Alpine Linux, Sep 16, 2022

Install Htop on Alpine Linux

Htop provides you to track the machine processes and to be aware of your CPU and Memory load. Today I will show you how to install htop on Alpine Linux.

In Utilities, Alpine Linux, Sep 14, 2022

Install Netstat on Alpine Linux

Netstat is a useful tool if you want to troubleshoot or display network related information. You can list all the open connections, open socket, ports, etc… Let me show you how to ins...

In Utilities, Alpine Linux, Sep 12, 2022

Install Unbuffer on Alpine Linux

Getting rid of the output buffering using pipelines can be achieved using the unbuffer command. Let’s see how to install unbuffer on Alpine Linux.

In Utilities, Alpine Linux, Sep 08, 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

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

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 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

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 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 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

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

SFTP

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

SMTP

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 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

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

How to remove frozen emails from the Exim mail queue

Messages or emails that are sent to a non-existent email account can sit in the mail queue and maybe cause issues or stuck the relevant ones. After some period of time, usually 7 or 8...

In SMTP, Jan 31, 2022

How to send emails via Telnet

Telnet could be very useful when testing SMTP servers for email delivery. Let’s explore the steps required in order to send emails successfully.

In SMTP, Telnet, Jan 28, 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

Telnet

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

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 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

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 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

How to send emails via Telnet

Telnet could be very useful when testing SMTP servers for email delivery. Let’s explore the steps required in order to send emails successfully.

In SMTP, Telnet, Jan 28, 2022

DBeaver

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

Python

Install Python on Alpine Linux

Today I’m going to show you how to install python on alpine linux without using a python image. You can get into the Alpine terminal and install python3 and python3-pip directly.

In Python, Alpine Linux, Sep 26, 2022

How to install Python on CentOS 9 Stream

As always keeping to the minimalistic things will ease your life. Today’s aim is to install Python on CentOS 9 Stream. The installation is pretty simple and quick.

In Python, CentOS, Aug 27, 2022

Fix 'No package python3-certbot-nginx available.' error

While installing some Certbot packages I stumbled upon the No package python3-certbot-nginx available. error. Let’s take a look.

In Certbot, Python, Jul 18, 2022

Ansible change Python interpreter

If you are getting this kind of warning:[DEPRECATION WARNING]: Distribution Ubuntu on host 2.2.2.2 should use/usr/bin/python3, but is using /usr/bin/python for backward compatibility ...

In Ansible, Python, Jul 04, 2022

Resolve pip install connection error: ceritificate validate failed

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

In Python, Apr 22, 2022

Resolve pip install error: Couldn't find a version that satisfies the requirement</a> </h2>

There is a good reason you might stumble upon this post, so let’s see how can we resolve the following pip install some_package command error:ERROR: Could not find a version that sati...

In
Python, Apr 16, 2022 </div> </div>

How to run Django application server

Django is a python free and open-source framework that is widely used nowadays. It offers a lot of libraries and functions that can be easily invoked. Running Django app with a local ...

In Python, Feb 16, 2022

VPN

How to Install openfortivpn on Ubuntu 22.04

Installing openfortivpn on Ubuntu 22.04 can be done in a few steps without any complexity. Literally, the installation process is pretty much the same for every Debian based distro, b...

In VPN, Ubuntu, Aug 21, 2022

How to Install openfortivpn on CentOS 8

Today’s goal is to install openfortivpn on CentOS 8. It can be achieved using dnf or yum, either way it should work fine. Let’s move on to the installation part.

In VPN, CentOS, Aug 19, 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 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 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

Windows

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

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

SQLite

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

Golang

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

Control Panels

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

Java

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

Archive

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 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

GCP

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

google_project_iam_binding removes GCP compute engine default service accounts from IAM principals

By default, once you enable the Compute Engine API in GCP, two Google-managed service account principals will be created Compute Engine default service account and Google APIs service...

In GCP, Terraform, Jul 13, 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

Text editors

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

Caddy

Install Caddy on Alpine Linux

Since Caddy exists as an Alpine package then the installation will be much easier. Let’s go to install Caddy on Alpine Linux.

In Caddy, Alpine Linux, Sep 30, 2022

Install Caddy on Arch Linux

One of the quickest ways to install Caddy on Arch Linux is using the caddy package. You all know that this site aims to show the quickest way, so let’s see the steps for installing Ca...

In Caddy, Arch Linux, Sep 24, 2022

Install Caddy on CentOS 8

The procedure of installing Caddy Web Server on CentOS 8 is pretty much the same as on CentOS 7. Let’s jump on the installation part.

In Caddy, CentOS, Sep 22, 2022

Install Caddy on CentOS 7

If you need a scalable reverse proxy, powerful, and efficient static file server then try the caddy web server. It’s open source web server neatly crafted in Go. Today I’m going to sh...

In Caddy, CentOS, Sep 20, 2022

Arch Linux

Install Caddy on Arch Linux

One of the quickest ways to install Caddy on Arch Linux is using the caddy package. You all know that this site aims to show the quickest way, so let’s see the steps for installing Ca...

In Caddy, Arch Linux, Sep 24, 2022

Go

Install Go on Alpine Linux

If you need a minimalistic docker image for building Go projects that’s definitely Alpine Linux. The aim here is to show you how to install Go on Alpine Linux.

In Go, Alpine Linux, Sep 28, 2022
</div> </div> </div>