> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-server/10.5/setup-and-upgrade/install-the-server/introduction.md).

# Introduction

{% hint style="info" %}
We recommend installing SonarQube Server from a [Docker image](https://hub.docker.com/_/sonarqube) or [Helm chart](https://artifacthub.io/packages/helm/sonarqube/sonarqube) (Kubernetes/OpenShift). These methods make it easier to update to newer versions and to operate your instance. Install from the ZIP file only if neither of those options is feasible for your environment.
{% endhint %}

The server installation section describes a single-node SonarQube instance from the ZIP file or from the Docker image. For a Kubernetes installation, see [Deploying SonarQube](/sonarqube-server/10.5/setup-and-upgrade/deploy-on-kubernetes/sonarqube.md). For details on clustered setup, see [Install the server as a cluster](/sonarqube-server/10.5/setup-and-upgrade/install-the-server-as-a-cluster.md).

## Installation roadmap <a href="#roadmap" id="roadmap"></a>

Proceed as follows to install SonarQube on server side:

1. Install the [Installing the database](/sonarqube-server/10.5/setup-and-upgrade/install-the-server/installing-the-database.md).
2. Install the SonarQube server and perform a basic setup. You can install the server either [Installing SonarQube from the Docker image](/sonarqube-server/10.5/setup-and-upgrade/install-the-server/installing-sonarqube-from-docker.md) or [Installing SonarQube from the ZIP file](/sonarqube-server/10.5/setup-and-upgrade/install-the-server/installing-sonarqube-from-zip-file.md).
3. If necessary, perform [Advanced installation features](/sonarqube-server/10.5/setup-and-upgrade/install-the-server/advanced-installation-features.md).

## Instance components <a href="#instance-components" id="instance-components"></a>

A SonarQube instance comprises three components:

![SQ instance components](/files/M0v8NYM4fHNQfyvgXoGU)

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 <a href="#hosts-and-locations" id="hosts-and-locations"></a>

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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/10.5/setup-and-upgrade/install-the-server/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
