1. Introduction Hostname resolution in Linux is the process of translating a domain name (e.g., example.com) into its corresponding IP address. This process is controlled by: This document explains how hostname resolution works on the current server configuration. 2. Current Configuration 2.1 /etc/nsswitch.conf This line defines the order in which… Continue Reading Name Resolution Flow in Linux

Introduction AVideo/Youphptube is an open-source video streaming and sharing platform that allows you to host and manage videos on your own server. It is widely used for creating private video portals, online courses, and internal company video libraries. In this blog, we will see:1. How to upload videos in AVideo2.… Continue Reading How to Manage Content in AVideo/YouPHPTube Platform

Introduction: Grafana is a popular open-source monitoring and visualisation tool used to analyse metrics from various data sources such as Prometheus, MySQL, PostgreSQL, and Elasticsearch. It provides interactive dashboards, real-time graphs, and alerting features, making it widely used in DevOps and system administration environments. Prerequisites: Procedure: Step 1: Before installing… Continue Reading How to Set Up Grafana on Ubuntu 24.04?

Blockchain technology is often described as decentralized and trustless, but in practice, most real-world blockchain applications are built using a combination of on-chain and off-chain systems. Understanding how these two layers work together is essential for building scalable, secure, and user-friendly blockchain platforms. What is On-Chain? On-chain refers to all… Continue Reading Understanding On-Chain and Off-Chain in Blockchain

Introduction As a DevOps engineer, maintaining consistency across Kubernetes environments is a constant battle. Manual deployments, ad-hoc kubectl apply commands, and configuration drift often lead to operational headaches and production outages. The solution is GitOps. By adopting ArgoCD, we treat Git as the single source of truth for our cluster… Continue Reading Implementing GitOps with Argo CD: Installation and Initial Deployment

Introduction Terraform is an infrastructure-as-code tool that lets you define both cloud and on-prem resources in human-readable configuration files that you can version, reuse, and share. You can then use a consistent workflow to provision and manage all of your infrastructure throughout its lifecycle. Terraform can manage low-level components like… Continue Reading How to Create an AWS EC2 Instance Using Terraform in Ubuntu

Introduction This guide explains how to restore an ELK (Elasticsearch, Logstash, Kibana) stack from backup in a clean, structured, and production-safe manner.It is designed as a Disaster Recovery (DR) Runbook, suitable for system administrators managing ELK in production environments. Prerequisites Backup ScopeIncluded in Backup 1. Elasticsearch data (/var/lib/elasticsearch) 2. Elasticsearch… Continue Reading How to Perform ELK Server Backup, Restore, and Recovery (Elasticsearch 7.17.x)

Introduction Web applications are constantly exposed to attacks such as SQL injection, cross-site scripting (XSS), command injection, and malicious bots. A Web Application Firewall (WAF) helps protect applications by inspecting HTTP traffic and blocking suspicious requests before they reach your application.ModSecurity is a widely used open-source WAF, and when combined… Continue Reading Installing ModSecurity with OWASP CRS on Apache (Ubuntu)

Introduction A Kubernetes Secret is used to store sensitive data (like passwords, tokens, or keys) securely. Creating a Secret from a file is useful when you already have the secret value saved in a file (example: db_password.txt) and you want Kubernetes to manage it and provide it to Pods when… Continue Reading How to create a Kubernetes Secret from a file

Introduction: MySQL uses authentication plugins to verify user identities. Depending on how your server is configured, a user may authenticate with: If the wrong plugin is set, users may be unable to log in using a password, especially from applications like Node.js, PHP, WordPress, Python, etc.This guide shows how to… Continue Reading How to Change MySQL User Authentication Plugin for Password?