The first thing that you need to do is visit https://www.sonarqube.org/downloads/ and download the latest community edition. Get the LTS if you are worried about having issues in the future.
![](http://tylerslemke.com/wp-content/uploads/2019/01/Screenshot-at-Jan-03-20-44-57-1024x729.png)
The next thing you will want to do is download JDK version 8. Make sure that you only download version 8 because it is the only supported version. SonarQube recommends getting the CPU versions of the JRE/JDK.
![](http://tylerslemke.com/wp-content/uploads/2019/01/Screenshot-at-Jan-03-21-11-58.png)
![](http://tylerslemke.com/wp-content/uploads/2019/01/Screenshot-at-Jan-03-21-20-10.png)
Set up your SQL database as outlined here. Don’t use the embedded database or you will be stuck like this guy.
![](http://tylerslemke.com/wp-content/uploads/2019/01/Screenshot-at-Jan-04-13-15-02-1024x282.png)
Go to C:/SonarQube/conf/sonar.properties and do the following:
- Put in the credentials and url to your database in the appropriate section
- Setup elastic search to be on a high-performing drive that is used only for this purpose (for performant server)
- Configure the host and port for the app
- Uncomment the line: sonar.web.javaOpts=-server (for performant server)
![](http://tylerslemke.com/wp-content/uploads/2019/01/Screenshot-at-Jan-04-16-42-09-1024x318.png)
![](http://tylerslemke.com/wp-content/uploads/2019/01/Screenshot-at-Jan-04-16-44-15-1024x252.png)
![](http://tylerslemke.com/wp-content/uploads/2019/01/Screenshot-at-Jan-04-16-47-55.png)
This article heavily references the links below. For more information please visit them:
- https://docs.sonarqube.org/latest/requirements/requirements/
- https://docs.sonarqube.org/latest/setup/install-server/