Below mentioned steps and implement the SonarQube server in your local workspace and It will act as local server.
1.Download the SonarQube from this link ( https://www.sonarqube.org/downloads/ ) and unzip the folder.
2.You can able to find bat file from bin folder from windows section and run the startSonar.bat. The default password will be admin/admin.
3.After run the bat file, you will get the command prompt and showing the status of local server status for Sonar with default port as 9000.
Open this link to check whether sonar server is UP ? http://loacalhost:9000