O'Reilly logo

Sonar Code Quality Testing Essentials by Charalampos Arapidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing the Sonar web server

Place the downloaded file in the directory to which you want to install Sonar, open the terminal window, and enter the following command to unzip it:

$ unzip sonar-2.11.zip

Important Sonar directories to take a note of are:

  • conf: Sonar, database, and logging configuration in the form of XML and property files are stored here.
  • extensions: JDBC drivers and Sonar plugins are located here.
  • logs: All logging goes to this directory; this is the place to check when something goes wrong with our Sonar instance.
  • bin: This directory contains Sonar startup scripts for different Windows and Linux platforms.

To start the Sonar server in Linux, open a terminal, navigate in to the bin directory, and execute the startup script for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required