This version of the SonarQube documentation is no longer maintained. It relates to a version of SonarQube that is not active.

See latest version
Start Free
10.4 | Setup and upgrade | Install the server | Introduction

Introduction to the server installation

On this page

The server installation section describes a single-node SonarQube instance from the ZIP file or from the Docker image. For a Kubernetes installation, see Deploy SonarQube on Kubernetes. For details on clustered setup, see Install the server as a cluster.

Installation roadmap

Proceed as follows to install SonarQube on server side:

  1. Install the SonarQube database.
  2. Install the SonarQube server and perform a basic setup. You can install the server either from the ZIP file or from the Docker image
  3. If necessary, perform advanced setup.

Instance components

A SonarQube instance comprises three components:

SQ instance components
  1. The SonarQube server running the following processes:
    • A web server that serves the SonarQube user interface.
    • A search server based on Elasticsearch.
    • The compute engine in charge of processing code analysis reports and saving them in the SonarQube database.
  2. The database to store the following:
    • Metrics and issues for code quality and security generated during code scans.
    • The SonarQube instance configuration.
  3. One or more scanners running on your build or continuous integration servers to analyze projects.

Hosts and locations

For optimal performance, the SonarQube server and database should be installed on separate hosts, and the server host should be dedicated. The server and database hosts should be located on the same network.

All hosts must be time-synchronized.


Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License