Introduction: In MongoDB, you can create read-only access for users by assigning appropriate roles that grant read-only privileges to the user. MongoDB provides several built-in roles that can be used to grant read-only access. The two most common built-in roles for read-only access are read and readAnyDatabase. Prerequisite: Step 1:Log… Continue Reading How to create read-only access for a user in MongoDB

Introduction: To set up the PM2 service monitor on Nagios, you’ll need to follow these general steps. PM2 is a process manager for Node.js applications, so we’ll assume you’re monitoring Node.js processes managed by PM2. Prerequisite: 1. Server root login credentials. Step 1: Log in to your Ubuntu or Centos… Continue Reading How to set up the PM2 service monitor on Nagios

Introduction: On Ubuntu, the system’s timezone is set during the installation, but it can be easily changed at a later time. Using the correct time zone is important for many system-related tasks and processes. Prerequisite: 1. Server root login credentials. Step 1: Log in to your Ubuntu server as a… Continue Reading How to change the system timezone in Ubuntu