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:
- Install the SonarQube database.
- Install the SonarQube server and perform a basic setup. You can install the server either from the ZIP file or from the Docker image.
- If necessary, perform advanced setup.
Instance components
A SonarQube instance comprises three components:
![SQ instance components](https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/0fd3b035-aee8-4039-8a76-f77e93a2b11d/SQ-instance-components.png?w=924&h=451&auto=format&fit=crop)
- 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.
- The database to store the following:
- Metrics and issues for code quality and security generated during code scans.
- The SonarQube instance configuration.
- 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?