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

Get Sonar Code Quality Testing Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.