How to install Sonarqube CE - jrcloudsolutions/tidbits GitHub Wiki

It can be installed on any version of Windows and 64-bit architecture

SonarQube CE has several requirements, including:

  1. Java: The SonarQube server requires Java version 17, and the scanners require Java version 11 or 17.
  2. RAM: 16 GB of RAM
  3. Cores: 8 cores to run multiple compute engine workers
  4. Database: PostgreSQL or Microsoft SQL Server
  5. Browser: Microsoft Internet Explorer 11, Microsoft Edge, Mozilla Firefox, or Google Chrome
  6. Docker Engine: Version 20.10 or later
  7. Java Runtime (JRE): Version 17 or later for SonarQube for IDE language server
  8. Hard drive performance: Excellent read and write performance
  9. I/O scheduler: Use the deadline or NOOP scheduler instead of the CFQ scheduler

After downloading the .zip Sonarqube installation package, then edit the "sonar" config file in the "conf" folder to set the DB username/pwd, encryption, and SSL

Then, access the C:\ SQ installation folder, switch to \bin, and Windows subdirectory and run the sonarqube.bat file

Access SQ by opening my browser on https://localhost/9000 - SQ uses port 9000

For username/pwd use the "admin" default username and the default "admin" p/w.

It is recommended to configure the SonarQube Windows Service.

For troubleshooting, access the installation directory, then under logs find the "sonar" and "web" log files to inspect.