Fix “RECOVERING” State Error in MongoDB Secondary Replica

MongoDB intrinsically support replication within the community edition itself. If you have worked with the MongoDB replicas before, you might have stumbled upon the error in secondary replicas. In MongoDB, secondary replicas are the replicas which are only used for replication and no there transactional query can be performed on them. Sometimes, due to various …

Fix “RECOVERING” State Error in MongoDB Secondary Replica Read More »

Allocate swap memory to Ec2 linux instance or any other linux machine

Hi, Today we are going to learn how to allocate swap memory to any linux instance. This particularly comes handy for Amazon Linux Ec2 instances as at the time of launch, Ec2 instances do not have swap memory attached to them and we need to attach it manually. But first, we need to know some …

Allocate swap memory to Ec2 linux instance or any other linux machine Read More »

Set windows as default boot in grub bootloader

This tutorial shows you how to easily change grub boot order to make Windows as default OS in Windows-Linux dual boot with the help of Grub Customizer. Many people prefer to install Linux in dual boot mode with Windows. Some of them use Linux as their primary OS while some prefer Windows as their primary OS. When you …

Set windows as default boot in grub bootloader Read More »

How to solve JavaScript heap out of memory in ionic build –prod

Lately, I was facing JavaScript heap out of memory issue whenever I tried to make Ionic 3 production build. After some googling, I found out that I am not the only one facing this issue. See this thread. Cause of JavaScript heap out of memory error Ionic 3 is based on angular, and it uses …

How to solve JavaScript heap out of memory in ionic build –prod Read More »

Install cuDNN and CUDA in Ubuntu 18.04

How to Install CUDA and cuDNN on Ubuntu Linux

Installations of CUDA toolkit along with cuDNN can become very tiring because of all the dependencies involved. This is the step by step tutorial of how to install CUDA toolkit with cuDNN on Ubuntu Linux machine, but before we move to installation, you might want to know: What is CUDA toolkit? According to NVIDIA’s official …

How to Install CUDA and cuDNN on Ubuntu Linux Read More »