Installing SonarQube
SonarQube is an on-premises solution—in other words, it must be installed on servers or virtual machines (VMs). In addition, SonarQube consists of several components that will analyze the source code of applications, retrieve and store the data from this analysis, and provide reports on the quality and security of the code.
Before we install SonarQube, it is essential that we look at its architecture and components.
Overview of the SonarQube architecture
SonarQube is a client/server tool, which means that its architecture is composed of artifacts on the server side and also on the client side.
A simplified SonarQube architecture is shown in the following diagram:
Let's look at the components that are shown in the preceding diagram. The components that make up SonarQube on the server side are listed here:
- A SQL Server, MySQL...