README 831 B

123456789101112131415161718192021222324252627
  1. SonarQube software (previously called Sonar) is an open source quality
  2. management platform, dedicated to continuously analyze and measure
  3. technical quality, from project portfolio to method.
  4. To create the MariaDB SonarQube database run:
  5. CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
  6. CREATE USER 'sonar' IDENTIFIED BY 'sonar';
  7. GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar';
  8. GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar';
  9. FLUSH PRIVILEGES;
  10. Then start the service
  11. /etc/rc.d/rc.sonarqube start
  12. Then point your browser to
  13. http://localhost:9000/sonarqube/
  14. Then login as:
  15. user: admin
  16. password: admin
  17. This requires a "sonar" user and group.
  18. groupadd -g 287 sonar
  19. useradd -g 287 -u 287 -r -c 'SonarQube user' \
  20. -s /bin/bash -d /usr/share/sonarqube sonar