How to create an SSH shortcut

In this post, I would like to show you a quick way to SSH into VMs. Using this approach you don’t have to type  ssh -i ..etc every time.  Let’s open your ~/.ssh file and create a file called config and copy below shown text to it, 

If you get Permission denied issues,  change the file… Continue reading How to create an SSH shortcut

How to send emails from shell script using sendgrid

In my recent project, we have developed a small process monitoring system to check the health of the process and it should send emails if the process goes down. For sending emails we have used SendGrid and below is the shell script model which we have used to send the email.

How to delete files older than X days in Linux

In this post, I am gonna show you how to write a simple shell script to delete files from a directory if the files are older then X days. We gonna use find utility function to search and find the files from the given specific directory. Command to delete files older then 10 Days

Continue reading How to delete files older than X days in Linux

How to install the management plugin, RabbitMQ

By default, RabbitMQ does not embed a web-based management console but offers it as an optional plugin. This management console makes it very easy to peek into a running RabbitMQ instance, so we definitely want to have it installed from the get-go. The Debian package has installed several scripts, one of them being rabbitmqplugins, whose… Continue reading How to install the management plugin, RabbitMQ

How to install and setup RabbitMQ on Ubuntu 16.04

In this post, I will show you how to install RabbitMQ on Ubuntu 16.04. We can install RabbitMQ easily using Ubuntu’s package manager, apt. The apt is package manager allows us to install most software pain-free from a repository maintained by Ubuntu. What is RabbitMQ? RabbitMQ is a robust messaging system for building applications and… Continue reading How to install and setup RabbitMQ on Ubuntu 16.04

.dockerignore

In this post will show you how to use the .dockerignore. It will help reducing Docker image size, speedup docker build and avoid unintended secret exposure. .dockerignore behaviors same as .gitignore, it removes the extra unwanted files from your image, so you only end up with the files you need for running your application. The… Continue reading .dockerignore

How To Stop and Remove All Docker Images, Containers, and Volumes

In this guide, I will show you simple tips to stop and remove containers, docker images, and values. List all Docker Images

Removing Docker Image or images

Removing All Docker Image

Remove a container(s)

Remove a container and its volume

List all containers (only IDs)

Stop all running containers… Continue reading How To Stop and Remove All Docker Images, Containers, and Volumes