How Do You Troubleshoot the SonarQube Problem with Nothing Displaying in the Web Browser?

Problem scenario
You go to the SonarQube web UI to log in.  You see nowhere to log in but no error either.  What could be wrong?

Solution
Have your web browser accept cookies.  If you block cookies and using Apache web server with SonarQube 7.x, you may experience this problem.

What is the Sonar Scanner?

Question
You have read about the Sonar Scanner.  What is it exactly?

Answer
It is now called the SonarQube Scanner — not the Sonar Scanner.  Source: https://docs.sonarqube.org/latest/

“The SonarQube Scanner is recommended as the default launcher to analyze a project with SonarQube.”  This quote was taken from
https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner.

What Is the Difference between a Node and a Pod in Kubernetes?

Question
You are using Kubernetes.  You read about Nodes and Pods.  What is the difference?

Answer
A Pod is a collection of one or more containers (e.g., Docker or rkt containers).  A node is a server that is the home of one or more Pods.

“A Node is a worker machine in Kubernetes and may be either a virtual or a physical machine…” (taken from 

How Do You Find the Number of Active Connections That an Nginx HTTP Load Balancer Has?

Problem scenario
You have an Nginx instance configured to be an HTTP load balancer (aka invisible landing page, pass-through distributor or reverse proxy).  You want to analyze the inbound web traffic that your Nginx server is currently receiving.  How do you find out how many active connections there are through the load balancer?

Solution
1.  Modify the /etc/nginx/conf.d/default.conf file in the Nginx HTTP load balancer. 

How Do You Set up a Basic CI/CD Pipeline with GitLab and Jenkins?

Problem scenario
You want to create a rudimentary CI/CD pipeline (one that is simple and has no QA or automated testing of code).  You want to trigger a deployment of code upon code being checked into a Git repository.  You want to set up GitLab and Jenkins to be the main servers of this pipeline.  You have two other servers; one is for developing code on and checking code into a Git repository and the other server is for receiving code once it is checked into GitLab. 

How Do You Cancel the Uninstallation of a Jenkins Plugin?

Problem scenario
You started the uninstallation of a plugin in Jenkins via the web UI.  The plugin now says “Uninstallation pending” in the web UI.  You changed your mind (or you accidentally initiated the process to remove the plugin by clicking the “Uninstall” button) about removing the plugin.  What do you do to keep the plugin continuously installed in Jenkins?

Solution
Background
When you initiate the uninstallation of a plugin,

How Do You Use Amazon Aurora to Try It Out?

Problem scenario
You know that Amazon Aurora is compatible with either PostgreSQL or MySQL.  While RDS supports these database types as well as Oracle and SQL Server, RDS does not offer all of the advantages that Aurora offers.

You have read about the benefits of Aurora a database PaaS or DBaaS.   You want to deploy Amazon Aurora because it has numerous features for high availability, performance,

How Do You Get hdfs or Yarn to Start When You Get an Error Such As “Permission denied (publickey,gssapi-keyex,gssapi-with-mic)”?

Problem scenario
You try to use start-dfs.sh or start-yarn.sh.  You received this message:  Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

What do you do?

Solution
You need to be able to ssh into the node without any Hadoop components.  To help you troubleshoot, consider the following items on the server that is causing the problem (e.g., the DataNode server, but it could be the NameNode server itself):

1. 

How Do You Add a Linux User to the sudoers Users?

Problem scenario
You want a given Linux user to be added to the sudoers group.  You want the user to be able to use the “sudo ” command before running other commands.  How do you give the sudo privilege to a given user?

Solution
If you are using Debian or Ubuntu Linux, do this (but replace “cooluser” with the username of your choice):
sudo adduser cooluser sudo

If you are using CentOS/RHEL/Fedora,