When you get the above error while accessing the Mongodb, you can simply resolve it by changing the role. You need to set the role to be root when adding the first admin user. use admindb.createUser({user: ‘admin’,pwd: ‘password’,roles: [ { role: ‘root’, db: ‘admin’ } ]}); If you have already… Continue Reading List collections failed: not authorized(Mongodb)

How to set default node version with NVM Date: 29-05-2021 Step 1: Login to the server via ssh. Step 2: Install the required version by using below nvm command.# nvm install v12.19.1Note: 12.20.1 – This is version. Step 3: Set 12.19.1 (or another version) as default.# nvm alias default v12.19.1… Continue Reading How to set default node version with NVM

ERROR 1153 (08S01) at line 8606: Got a packet bigger than ‘max_allowed_packet’ bytes. Date: 22-05-2021 Introduction: When doing a very large MySQL import from a dump file you may get this error. You can follow the below steps to solve this error. Step 1: You can see the current configured… Continue Reading ERROR 1153 (08S01) at line 8606: Got a packet bigger than ‘max_allowed_packet’ bytes.

Please find the below steps for integrating sonarqube with Jenkins. Login into Jenkins and install SonarQube scanner pluginGo to Manage Jenkins –> Manage Plugins > Available –> SonarQube scanner And also add credentials plugins to store your credentials in Jenkins Configure SonarQube home path. a) Go to Manage Jenkins –>… Continue Reading Integration of SonarQube in Jenkins

Prerequisites Ubuntu 18.04/16.04 LTS with minimum 2GB RAM and 1 CPU. PostgreSQL Version 9.3 or higher SSH access with sudo privileges Firewall Port: 9000 MySQL Support for SonarQube is depricated.Increase the vm.max_map_count kernal ,file discriptor and ulimit for current session at runtime. 1) Please follow the below steps to increase… Continue Reading How to Install SonarQube on Ubuntu 18.04/16.04 LTS

How to solve the Bind dns service error in cPanel server Date: 08-05-2021 Step 1: Login to server via SSH. Step 2: You should update the kernel version in the server by using below command.# yum update kernel Step 3: You can run below command to switch Bind service. Press… Continue Reading How to solve the Bind dns service error in cPanel CentOS server

How to Install Kubernetes on CentOS 7 Date: 03-05-2021 Step 1: This package is not available in CentOS 7 repositories by default. You need to add Kubernetes repositories manually. Enter the below command to retrieve the Kubernetes repositories. Step 2: You will install kubelet, kubeadm, and kubectl packages on your system. You can use below… Continue Reading How to Install Kubernetes on CentOS 7