Articles by Deepak Prasad
Create KVM virtual machine | virt-manager | RHEL CentOS 8
Step-by-Step Guide to create KVM Virtual Machine using Virtual Manager in RHEL and CentOS 8 Linux. Create VM, Take Snapshot, Assign Networks using Virtual manager GUI
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
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?
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.
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
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.
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
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
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
Effective Cybersecurity Measures for Mac Owners
Use these cybersecurity measures to protect your Mac from malware. Learn the best Mac security methods and software to protect your computer from hackers.
Master SQL Mapping Cardinality: Novice to Expert
Discover the transformative power of SQL Mapping Cardinality in crafting robust and efficient databases. Elevate your database designs to new levels of excellence and precision.
5 easy steps to recover LVM2 partition, PV, VG, LVM metdata in Linux
Steps to recover LVM2 partition accidently deleted or removed. Restore PV (physical volume), restore VG (volume group) and restore LVM metadata in Linux
Solved: Failed to restart network.service: Unit network.service not found in RHEL 8
Network scripts are deprecated in Red Hat Enterprise Linux 8 and they are no longer provided by default. In Red Hat Enterprise Linux 8, to run the ifup and the ifdown scripts, NetworkManager must be running. By default …
Solved: lvextend new size given (xx extents) not larger than existing size (xx extents)
The other day while trying to recover my LVM2 volume, I was doing some POC work and while using lvextend I encountered this error "New size given (XXX extents) not larger than existing size (XXX extents)" and it was not …
Step-by-Step Tutorial: Install Docker on CentOS 7 with LVM Thin Provisioning
What is Docker and Docker vs Kubernetes vs Mesos container. Step by Step guide How to install Docker on CentOS 7 Linux. yum install docker centos 7
Powerful Pattern Matching Techniques in Python Revealed
Discover the transformative power of pattern matching in Python with our comprehensive guide. Dive into advanced techniques, avoid common mistakes, and harness the true potential of your code.
10 practical examples of tmux configuration with examples
In this tutorial I will use tmux.conf and show different examples to modify your tmux configuration such as define custom prefix key etc
8 ways to convert long to String in Java
The list below shows eight different ways in which we can convert long to string in Java. Using + operator, String.valueOf(), Long.toString(), DecimalFormat class, String.format(), StringBuilder class, StringBuffer …
Create Stratis File System (thin provision) with examples (CentOS/RHEL 8)
Stratis Architecture, Steps to create stratis file system with thin provision, create stratis pool, mounting stratis file system on rhel 8 linux with examples
Use SQL COUNT DISTINCT Like a PRO: Don't be a Rookie
Enhance your data management prowess by mastering SQL COUNT DISTINCT. Our comprehensive guide demystifies this powerful tool, empowering you to extract unique insights and overcome common data challenges with confidence
How to Disconnect and Kill a Hung SSH Session
Steps to disconnect hung ssh session. Kill ssh session. Terminate stuck ssh session. Kill unresponsive ssh session. Disconnect pssh session in Linux

