Articles by Deepak Prasad
Install GCC on Rocky Linux PROPERLY
step-by-step guide to install GCC on Rocky Linux. We also went further and wrote a C program to add two numbers, and further looked at how GCC carries out compilation
How to PROPERLY test port connectivity in Linux
Multiple methods and commands to test port connectivity between Linux server and client with examples. Check availability of multiple ports in Linux for firewalls or network issues.
Metasploit Tutorial on Kali Linux
Step by step instructions in the tutorial to install and use metasploit framework on kali Linux
DVWA SQL Injection Exploitation Explained (Step-by-Step)
SQL injection proves to be a critical vulnerability that can exist in a system. The DVWA acts as a reliable resource for both penetration testers who want to improve their skills and web developers who want to develop …
Password Cracker - John The Ripper (JTR) Examples
John The Ripper (JTR) is one of the most popular password cracking tools available in most Penetration testing Linux distributions like Kali Linux, Parrot OS, etc
Install Kali Linux on Raspberry Pi
Step by Step instructions to install and setup Kali Linux on Raspberry Pi 2,3 and 4 with screenshots.
Kali Linux Repositories Explained [With Examples]
Kali Linux repositories are found in the /etc/apt/sources.list file. There are 3 different branch i.e. Kali-rolling branch, Kali-last snapshot branch, Kali- experimental branch
How to use Jinja2 templates in Ansible with examples
Jinja2 is a very popular and powerful Python-based template engine. Jinja2 templates is widely used in Ansible playbook to access variables, configuration etc
Pre-requisites to setup Ansible
To configure ansible we need certain pre-requisites. For example control node cannot be a windows node, We need SSH access on the managed node and python3 must be installed
Install iRedMail on Rocky Linux 8 [Step-by-Step]
Step by Step instructions to install iredmail on rocky linux 8 with screenshots. Install and Configure iredmail server GUI
Check Kubernetes Cluster Version
In this tutorial I will share multiple methods and commands to check Kubernetes Cluster Version in a Kubernetes Cluster.
Add timestamp to SSHD DEBUG logs
Add timestamp to SSHD DEBUG logs using while loop. Prepend timestamp to STDOUT and log file for DEBUG logs
How to add label to running pod in Kubernetes
There are two methods to add label to running pod in Kubernetes. Using kubectl label pods or kubectl edit command to edit a resource object.
Install WireGuard VPN Rocky Linux 8
Step by step instructions to install wireguard VPN on Rocky Linux. Configure network, firewall and test the VPN
Install Graylog on Rocky Linux 8
Step by step instructions to install graylog on rocky Linux 8. Install and configure elasticsearch, mariadb, java and graylog server
Defensive Programming Techniques Explained with Examples
Defensive programming can be tough to write source code, but it results in high- quality foolproof code
Install MariaDB on Rocky Linux 8.4
In this tutorial, we will learn how to install MariaDB on Rocky Linux 8.4. You may also check the mariadb page link for the official instructions to install
Git rebase explained in detail with examples
git rebase is used to integrate changes from one branch into another. rebase takes a series of commits (normally a branch) and replays them on top of another commit (normally the last commit in another branch). The …
How to Get Started with Game Development?
Game development might sound as simple as creating a video game. But have you ever thought about what it looks like
How to stop ICMP ping flood attack (DOS) on Linux
Prevent ping flood attack in Linux using iptables and firewalld for both IPv4 and IPv6. Apply hash limit to ICMP Echo request to control ping flood in Linux and Unix servers.
How to add or remove label from node in Kubernetes
Add a label to node. Remove a label from node. Use kubectl label node to add or remove a label from worker or controller nodes in Kubernetes Cluster
How to implement password policy in RHEL Linux with examples
Learn to implement password policy with complexity, old password reuse and more using pwquality.conf explained with examples in RHEL/CentOS 7 Linux
How to configure Ansible on controller and managed node
Step by step instructions to configure ansible on RHEL/CentOS 8. Since ansible is agentless we don't need any configuration on managed nodes.
How to use Ansible managed nodes without Python
How to use ansible without installing python3 on managed nodes. Can we use ansible without python? How to use raw module in Ansible?
Working with managed nodes with password (not passphrase)
We can also use password instead of passphrase to connect with controller to managed nodes using --ask-pass. By default ansible will not prompt for any password.
Working with Ansible facts | Create custom facts with examples
Ansible facts is a term used for system information of the managed nodes. By default ansible playbook will gather facts from the managed nodes using setup module
Beginners guide to YAML Syntax in Ansible Playbooks
YAML uses indentation (like Python), which builds the relationship of items with one another and In Ansible, nearly every YAML file starts with a list.
How to repeat tasks using ansible loop with examples
Ansible loop is used to iterate over multiple tasks in playbook. It supersedes with_items in Ansible with later version as with_* are deprecated
Working with include and import module in Ansible
We can use Ansible import module to add playbook, tasks from another file into a different playbook. This can help use the same set of tasks across multiple playbook and save space
Steps to properly remove node from cluster in Kubernetes
Related Searches: drain kubernetes node, kubectl drain command, remove node from cluster kubernetes, kubernetes evict pods from node, kubernetes drain and

