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

Chapter 2. Installing Sonar

In this chapter, we will install Sonar along with required software in either Linux or Windows. We will need to install MySQL, create a new database to store Sonar data, install Maven to import projects easily into Sonar, configure it to run as a service, and finally secure our instance by creating groups and users. Then, we will go through the process of installing plugins, updating Sonar from the update center, and backing up our data.

In this chapter we will cover:

  • Prerequisites for Sonar
  • Installing the Sonar web server
  • Configuring MySQL
  • Starting Sonar as a service
  • Logging in to Sonar for the first time
  • Securing your Sonar instance
  • Creating users and groups
  • Backing up your data
  • Extending Sonar with plugins
  • Upgrading Sonar

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