Articles by Deepak Prasad
How to properly remove old kernels RHEL/CentOS 8
You can now use dnf command to remove old kernels from RHEL/CentOS 8 Linux. package-cleanup doesn't work any more. Use oldinstallonly with installonly_limit
Ansible Installation Guide on RHEL/CentOS 8
There are different methods using which you can install ansible using default package manager such as yum, dnf, apt, Using pip and using source compile file
Install MongoDB on AlmaLinux 8 [Step-by-Step]
Step by Step instructions to install mongodb on AlmaLinux 8. Access mongodb shell, create admin user, establish a connection with mongodb server using a different client. configure firewall and selinux
Complete tutorial on tmux commands with examples from scratch
In this tutorial I will cover the basics of tmux from scratch using various tmux commands to create session, windows, splitting panes, killing session etc
3 simple and useful tools to grep multiple strings in Linux
How to grep multiple strings and patterns in single line from a file in Linux or Unix? Is it possible to grep multiple strings using single command from a file?
Install DVWA on Kali Linux (Step-by-Step)
Step by step instructions to install DVWA in Kali Linux with screenshots.
Install Node.js and NPM Kali Linux
Step by Step instructions to install node.js and npm on kali linux with screenshots. Two different methods to install node.js and NPM using default repository and official archive
Remove Directory in Linux PROPERLY & SAFELY
In this tutorial I have shared the commands and examples to remove directory in Linux properly without loosing any data. Delete directories and sub directories using single command with and without regex
Mount ConfigMap as file in existing directory - K8s
Mount ConfigMap as file into an existing directory in Kubernetes with and without helm charts. Mount files into an existing volume inside Pod container.
Kubernetes Secrets | Declare confidential data with examples
In this article we will explore the usage of Kubernetes Secrets using some real time scenarios and examples. Ideally we use Secrets to declare confidential
Ansible Vault Tutorial and Best Practices [Zero to Hero]
Unlock the potential of Ansible Vault for enhanced security and automation. Explore best practices, avoid pitfalls, and safeguard your sensitive data positively with Ansible Vault.
Mount multiple K8 secrets to same directory
Step by step instructions to mount multiple secrets to same directory in Kubernetes. 4 different ways to mount multiple secrets to same path.
How to install Oracle Virtual Box on Linux (CentOS / RHEL 7)
Step by step Guide to install Oracle Virtual Box on RHEL / CentOS 7 Linux. To install Oracle Virtual Box you need EPEL repo. Oracle Virtual 5.2 is out now
Kubernetes ConfigMaps usage to declare env variables
Kubernetes ConfigMap decouples the application data from the application. It is used to set and define environment variables inside the Pod container. You can also mount the values as files inside the Pod
Getting started with GOLANG | Write your first GO Code
Getting started with go, installing go using package manager, install go-1.19, setup your own go workspace, What is GOPATH and GOROOT, How to integrate visual studio code with GO, Required extensions for GO in visual …
SQL Time Functions Explained [Easy Examples]
SQL Time functions can have different versions in different Database Management Systems like MySQL, ORACLE, and MS SQL Server. NOW(), CURDATE(), CURRENT_TIME(), CURRENT_TIME, CURTIME(), CURRENT_TIMESTAMP(), …
Currying Function in Java Explained
In Java, currying function is the mechanism of breaking down a multi-argument function to form the multiple functions with single arguments such that the output remains same.
How to run NodeJS REPL Inside a Function [Practical Examples]
The NodeJS REPL(Read-Eval-Print-Loop) server provides a programming environment like a Linux shell where a user can evaluate JavaScript expressions and gain access to node modules.
Beginners Tips for Learning Python
But how do you learn Python as a beginner? Well, there are multiple ways you can go about it.
Python pass Vs break Vs continue [1-1 Comparison]
Comparison and differences between pass vs break vs continue statement in python with 1-1 comparision and examples.
The Only OpenSSL CheatSheet You Will Need!
In this tutorial we will cover different examples using openssl command, so in short let's get started with our openssl cheatsheet.
How to configure Openstack High Availability with corosync & pacemaker
Step by step guide to configure openstack high availability (HA) using pacemaker and corosync for openstack controller nodes with HAProxy and VIP.
How to create and configure network bridge using nmcli (static & dhcp)
Configure network bridge using nmcli for static and dhcp ip. nmcli connection reload. nmcli onboot. nmcli network manager centos 7. nmcli con add modify
How to enable SSH access & configure network in rescue mode (CentOS/RHEL
Steps to enable SSH access in linux rescue mode and configure network in rescue mode in RHEL/CentOS 7/8 with example transfer sosreport file inst.sshd=1
Configure LUKS Network Bound Disk Encryption with clevis & tang server
Configure Network Bound Disk Encryption (NBDE) based LUKS Disk Encryption using Clevis and tang Server in CentOS/RHEL 7/8 Linux Boot without password clevis key
Fix 'there are no enabled repos' & create local repository in RHEL 7 & 8;
Create local repository using yum and dnf in RHEL 7 and 8 Fix there are no enabled repos Perform yum install without subscription. Create Offline yum repo Linux
How to check security updates list & perform linux patch management RHEL
Perform Linux patch management in RHEL 6/7/8 Linux in LIVE production environment. Identify vulnerabilities list and security updates list then apply patch
Create pyplot figure with matplotlib [In-Depth Tutorial]
matplotlib.pyplot is a sub-library of Python's matplotlib library that provides convenient ways to create static, animated, and interactive visualizations in
How to make circular color gradient in Python?
A color gradient is a way to smoothly transition between two or more colors. A circular gradient is a type of color gradient that transitions in a circular
8 methods to get size of Pandas Series/DataFrame Object
In this tutorial we will cover different examples using multiple methods to get size of dataframe or series object in Pandas. Get column or rows count, entire dataframe size, values count and much more

