Introduction:The pm2 startup command is essential for managing Node.js applications in a production environment. PM2 is a popular process manager for Node.js that keeps applications running by automatically restarting them if they crash. It also provides useful features like logging, load balancing, and monitoring. The pm2 startup command configures PM2… Continue Reading How to Use pm2 startup for Application Auto-Start on Server Boot

Introduction:MongoDB 7.0 is the MongoDB database’s latest major release, a NoSQL database system. In version 7.0, MongoDB has introduced several improvements in migrations, performance, developer experience, and security. Notably, it features Queryable Encryption, which allows for the encryption of sensitive workloads and the ability to query encrypted data. Performance enhancements… Continue Reading How to install MongoDB 7.0 on Ubuntu 20.04 and 22.04

Introduction:To set up the CPU service monitor on Nagios with percentages, follow these general instructions. CPU monitors CPU utilization, load averages, and other server performance measures, and if a process exceeds a certain threshold, it alerts the Nagois server. Prerequisite: 1. Server root login credentials.Step 1:Log in to your Ubuntu… Continue Reading HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS WITH PERCENTAGES

Introduction:Personal access tokens (PATs) are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. You can create a personal access token to use in place of a password when you are working with GitHub Operations. To generate the personal access token. Prerequisite:GitHub… Continue Reading How to create a new token from GitHub

Introduction: The FileZilla software program is a free-to-use (open-source) FTP utility allowing users to transfer files from a local computer to a remote computer. Here we are going to see how to use the key pair to login into FTP in the below steps. Prerequisite: Step 1: Navigate to FileZilla… Continue Reading How to use the key pair to login into FTP

Introduction: Mysql is the latest release of the powerful MySQL database management system. To start installing the MySQL 8.0 server on CentOS 7, you must add the official MySQL community repository to your system. Run the following command. Prerequisite: 1. Server root login credentials. Step 1: Adding the MySQL Yum… Continue Reading How to install MySQL 8.0 on CentOS 7

Introduction: If you’re having trouble accessing your server via SSH after a reboot, there are several common issues that you can check. Use the below steps to recover SSH access. Prerequisite: 1. Server root login credentials. Step 1: Please check the SSH service status. $ systemctl status ssh.service Step 2:… Continue Reading How to start the SSH service if it fails after rebooting the server

Introduction: To set up the CPU service monitor on Nagios, you’ll need to follow these general steps. CPU checks CPU usage, load averages, or other performance metrics on the server, and if the process is high, it gives an alert to the Nagois server. Prerequisite 1. Server root login credentials.… Continue Reading HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS

Introduction:To set up MongoDB to auto-restart, you can use system-level services and configuration MongoDB files. Prerequisite: 1. Server root login credentials. Step 1: Log in to your Ubuntu or Centos server as a user with sudo privileges. You can use SSH or directly access the server. $ ssh root@Ip Step… Continue Reading How to auto-restart MongoDB

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