slackbuilds/development/sonarqube
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README development/sonarqube: Fix README. 2016-11-15 21:41:38 +07:00
doinst.sh
rc.sonarqube
slack-desc development/sonarqube: Fix slack-desc. 2016-11-14 16:47:23 +07:00
sonarqube.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
sonarqube.info

README

SonarQube software (previously called Sonar) is an open source quality
management platform, dedicated to continuously analyze and measure
technical quality, from project portfolio to method.

To create the MariaDB SonarQube database run:

CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'sonar' IDENTIFIED BY 'sonar';
GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar';
GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar';
FLUSH PRIVILEGES;

Then start the service
  /etc/rc.d/rc.sonarqube start

Then point your browser to
  http://localhost:9000/sonarqube/

Then login as:
  user: admin
  password: admin

This requires a "sonar" user and group.
    groupadd -g 287 sonar
    useradd -g 287 -u 287 -r -c 'SonarQube user' \
            -s /bin/bash -d /usr/share/sonarqube sonar