Created
August 20, 2018 11:11
-
-
Save SecurityIsIllusion/ee7f62c3c1e982409515fb77767f0fb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SonarQube_Server_Setup | |
Tutorials Followed: | |
https://github.com/SonarSource/sonar-.net-documentation/blob/master/doc/installation-and-confi guration.md | |
https://github.com/SonarSource/sonar-.net-documentation/blob/master/doc/additional-configurat ions.md | |
https://docs.sonarqube.org/display/SONAR/Installing+the+Server | |
System Requirements: | |
Windows Server 2012 RAM: 8GB | |
Software Requirements: | |
Java (JDK/JRE) | |
MSSQL Server/ SQL Server | |
Visual Studio (for testing connection) SonarQube | |
Step 1: | |
Install Java (JDK/JRE) | |
Step 2: | |
Install MSSQL Server/SQL Server | |
Step 3: | |
https://github.com/SonarSource/sonar-.net-documentation/blob/master/doc/additional-configurat ions.md | |
Install NT Service: | |
C:\Users\Administrator\Downloads\sonarqube-7.3\sonarqube-7.3\bin\windows-x86-64\InstallNT Service.bat | |
Un-Install NT Service: | |
C:\Users\Administrator\Downloads\sonarqube-7.3\sonarqube-7.3\bin\windows-x86-64\Uninstall NTService.bat | |
SonarQube_Server_Setup | |
Start NT Service: | |
C:\Users\Administrator\Downloads\sonarqube-7.3\sonarqube-7.3\bin\windows-x86-64\StartNTS ervice.bat | |
Step 4: | |
Press Windows Key and search for SSMS & Click SSMS icon | |
SQL Server Console Opens | |
Login with Windows Authentication & set up SQL Authentication | |
https://github.com/SonarSource/sonar-.net-documentation/blob/master/doc/additional-configurat ions.md | |
Step 5: | |
Setting Up Database: | |
After connecting to SQL Server via Windows authentication, setup access via SQL authentication. | |
SonarQube_Server_Setup Select Radio button SQL Server & Windows Authentication Mode | |
Select Collation provided in image. | |
SonarQube_Server_Setup Insert Login credentials for access via SQL | |
Select access level of DB as public & sysadmin. | |
SonarQube_Server_Setup Provide User mappings & click OK | |
Step 6: | |
Test connection via Visual Studio. | |
SonarQube_Server_Setup Insert correct values as shown and click Test Connection. | |
Step 7: | |
Before starting SonarQube server, make below mentioned changes. | |
Step 8: | |
Start Sonar | |
SonarQube_Server_Setup | |
P.S ⇒ Always make sure that SQL Server is running before running SonarQube | |
SonarQube_Server_Setup Login via id: admin/pass: admin | |
Step 9: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment