Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Moved to Sonarqube.com instead of local server

Installation (Ubuntu)

Pre-requisite

  • Database (We are using the default h2 db)
  • Java 8
  • Both must be pre-installed on your machine

Installing the Web Server

Code Block
languagebash
### As root (or sudo infront of all commands)###
# Create sonar user and set password
adduser --no-create-home --disabled-login --disabled-password sonar
passwd sonar

# Get the latest nexus oss version
mkdir -p /tmp/install/cd 
wget https://sonarsource.bintray.com/Distribution/sonarqube/sonarqube-6.2.zip -P /tmp/install/

# Unzip and point to latest (ex 6.2)
mkdir -p /opt/sonar
unzip --help/tmp/install/sonarqube-6.2.zip -d /opt/sonar/
ln -sfn /opt/sonar/sonarqube-6.2 /opt/sonar/current



#Owned by sonar
chown -R sonar:sonar /opt/sonar

Systemd service

...

languagebash

...

For quality analysis we are using SonarQube at SonarQube.com

UVMS projects