SonarQube Community Build installation overview
On this page
This section describes the installation of the SonarQube Community Build instance from the ZIP file, from the Docker image, and on Kubernetes.
To try out the SonarQube Community Build platform, follow the Try out SonarQube Community Build guide.
To upgrade your production instance, read the upgrade guide and the relevant, version-specific upgrade notes.
Installation roadmap
Proceed as follows to install your SonarQube Community Build instance:
- Check the installation requirements,
- Perform the pre-installation steps. See:
- Install the SonarQube Community Build database.
- Install SonarQube Community Build and perform a basic setup. You can install it either from the ZIP file or from the Docker image.
- If necessary, perform advanced setup.
- 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 analyzing source code.
Check out this video on installing SonarQube Server on Windows for a process overview.
Instance components
Three components are necessary to run a SonarQube Community Build analysis:

- SonarQube Community Build running the following processes:
- A web server that serves the SonarQube Community Build user interface.
- A search server based on Elasticsearch.
- The compute engine in charge of processing code analysis reports and saving them in the SonarQube Community Build database.
- The database to store the following:
- Metrics and issues for code quality and security generated during code scans.
- The SonarQube Community Build instance configuration.
- One or more scanners running on your build or continuous integration servers to analyze projects.
Hosts and locations
For optimal performance, SonarQube Community Build 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.
Was this page helpful?