Difference between sonarstart and installntservice
Answers
Setup SonarQube Server
Download
Download SonarQube 5.1from the SonarQube downloads.

As mentioned in the Prerequisites section, a Java virtual machine (JVM) is required.
If the installed JVM meets the version requirements listed, you can skip this section. Otherwise, follow the steps below to install Java.
Download Java SE Runtime Environment and make sure you select the one corresponding to your current operation system.

>> NOTE >> SonarQube does not require the full Java JDK (Java SE Development Kit) to run- you only need the JRE (Java SE Runtime Environment).
Install
Copy sonarqube-5.1.zipand jre-8u45-windows-xXX.exe to your Team Foundation Server.
Install Java SE Runtime Environment on the destination server.

Extract
>> NOTE >> Before installing and configuring SonarQube install and configure SQL Server according to the instructions in the section Additional Configurations.
Right-click on sonarqube-5.1.zip, select Properties and then click on the Unblock button 
Unzip SonarQube-x.x.zipon to a drive, for example use C:\SonarQube\SonarQube-5.1.

At this point, the installation is complete. Yes, it is that easy.
Proceed to the next