Introduction

Read this before starting the installation of SonarQube Server’s Developer or Enterprise Edition.

This section describes a single-node SonarQube Server instance from the ZIP file or from the Docker image. For a Kubernetes installation, see Introduction. For details on clustered setup, see Data Center Edition (DCE).

Installation roadmap

Proceed as follows to install SonarQube Server on server side:

  1. Install the database. See Installing the database.

  2. Install SonarQube Server and perform a basic setup. You can install it either from the ZIP file (see Installing from the ZIP file) or from the Docker image (see Installing from the Docker image).

  3. If necessary, perform Advanced installation.

  4. Once your SonarQube Server is installed and running, you can access SonarQube Server UI in your web browser (the default system administrator credentials are admin/admin) and you’re ready to begin Project analysis setup.

Check out this video on installing SonarQube Server on Windows for a process overview.

Instance components

Three components are necessary to run a SonarQube Server analysis:

SonarQube instance components: SonarScanner, SonarQube server processes, database
SQ instance components

SQ instance components

  1. SonarQube Server running the following processes:

    • A web server that serves the SonarQube Server user interface.

    • A search server based on Elasticsearch.

    • The compute engine in charge of processing code analysis reports and saving them in the SonarQube Server database.

  2. The database to store the following:

    • Metrics and issues for code quality and security generated during code scans.

    • The SonarQube Server instance configuration.

  3. One or more scanners running on your build or continuous integration servers to analyze projects.

Hosts and locations

For optimal performance, SonarQube Server and its 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.

Last updated

Was this helpful?