Articles by Deepak Prasad
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 install Zabbix on Rocky Linux 8
Step by step instructions to install and configure zabbix on rocky Linux 8
git push force Explained [With Examples]
git push force is used to overwrite commits on the remote repository. Alternatively we can use git force with leave to make sure commits are not overwritten
sysctl reload without reboot
Use sysctl -p FILE or sysctl --load FILE or sysctl --system to perform sysctl reload without reboot. Update the initramfs using dracut -f or update-initramfs …
Install ELK stack on Rocky Linux 8
Step by step instructions to install ELK Stack on Rocky Linux. Install Elasticsearch, Logstash and Kibana
SSH into VirtualBox VM
2 different methods to ssh into virtualbox vm using bridged adapter or NAT with prot forwarding
Git Fetch vs Git Pull Explained (Key Differences + When to Use Each)
Understand git fetch vs git pull with simple examples and diagrams. Learn the key differences, when to use git fetch or git pull, how they work internally, and …
Samba Active Directory Setup
Step by step instructions to setup Samba Active Directory on Rocky Linux 8. Join WIndows Client to Samba Domain Controller
Install WireGuard VPN Rocky Linux 8
Step by step instructions to install wireguard VPN on Rocky Linux. Configure network, firewall and test the VPN
git remote add Explained (With Examples, Mistakes & Fixes)
Git remote add is a git command that enables developers to work on a central remote repo by creating remote duplicates. Remote add command serves as a means …
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(), …
Configure OpenLDAP Master Slave replication Rocky Linux 8
Step by step instructions to configure openldap master slave replication using Rocky Linux 8. test the master slave replication.
How to revoke missing/lost certificate OpenSSL [Step-by-Step]
Step by step guide to revoke missing or lost certificate using openssl. We can manually update the CA database to mark any certificate revoked and generate CRL
Generate duplicate certificates OpenSSL CA [Same CN]
Step by step instructions to generate duplicate certificates with OpenSSL CA using the same CSR with same Subject (Common Name) in all the certificates
Git Commit --Amend Explained (Edit Last Commit Message, Files & Author)
Learn how to use git commit --amend to modify the last commit in Git. This guide explains how to change commit messages, add forgotten files, update commit …
