Quickstart guide for Enterprises

A checklist for administrators setting up their initial installation of SonarQube Server Enterprise edition.

If you are installing developer edition please check out the Quickstart guide.

Required Infrastructure

A dedicated VM or container is recommended for each of the following:

  1. SonarQube Application Server From ZIP file or From Docker image

  2. External Database, see Installing database

  3. Reverse Proxy to enforce HTTPS (i.e. Nginx or IIS)

  4. Caution: Self-signed certificates are not recommended. For further information, see Reverse Proxy below.

See Server host requirementsfo more details.

Please refer to the following reference architectures for sizing estimates Up to 10 M LOC and Up to 50 M LOC.

Required Networking

Network connectivity is required from all SonarScanners to the SonarQube Server. Additionally, ensure your SonarQube Server can connect to your self-hosted or Cloud DevOps platform.

Advanced Security requires an outbound connection to URLs listed here.

Required Software

Installation Steps

SonarQube Server can be installed Server From ZIP fileon aor From Docker image to a container. See Try out SonarQube Serverfor help once you are ready to install SonarQube Server.

To connect SonarQube to an external database, provide the configuration to the SonarQube server on startup. The configuration can be provided via the sonar.properties configuration file or via environment variables. If your SonarQube installation fails to start due to database connection issues, please set the log level to DEBUG, restart the SonarQube server, and check the Server logs for error messages related to the database connection.

DevOps Platform integration

Reverse Proxy

By default, SonarQube communicates via HTTP. To enforce mandatory HTTPS, the server must sit behind a Reverse Proxy. See Securing behind a proxy for more details. Caution: Self-signed certificates are not recommended as they require extra setup on every CI build agent's JVM trust store. For more information, please refer to these TLS certificates on client side.

Advanced Security

Advanced Security is only available on SonarQube Server v2025.3 or later

To enable Advanced Security , navigate to Administration > Configuration > General > Advanced Security and click "Enable Advanced Security". SonarQube Advanced Security requires an outbound network connection. You can find out more about the connectivity requirements herearrow-up-right.

Develop with Sonar

Now that you have installed SonarQube Server with your DevOps platforms or CI pipeline, managers and tech leads can check out the Security reports and Portfolios features to begin monitoring the security and releasability of projects.

Last updated

Was this helpful?