How to install Sonarqube on AWS EC2

First step: After login in the Ec2 instance, we have to update the java to version 8. (See requirements of Sonarqube)

$ sudo yum install java-1.8.0

Let’s test it if the current Java version is 8.

$ java -version