Installing Sonarqube

Adding Sonarqube User

adduser sonarqube

Downloading & Extracting the binaries

wget https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-9.4.0.54424.zip
unzip *

Modifying the file permissions

chmod -R 755 /home/sonarqube/sonarqube-9.4.0.54424

Changing ownership of directory

chown -R sonarqube:sonarqube /home/sonarqube/sonarqube-9.4.0.54424

Starting SonarQube

circle-info

Execute the below commands as sonarqube user

cd sonarqube-9.4.0.54424/bin/linux-x86-64/
chmod +x sonar.sh
./sonar.sh start

You should now be able to access Sonarqube on https://public_ip:9000

circle-info

The default user is admin and the password is also admin.

Last updated