教育-SonarQube 部署:配置sonarqube
时间:2025-02-12 14:52:59
配置sonarqube
$ cd /home/heyuqiang/sonarqube/conf$ vi sonar.propertiessonar.jdbc.username=rootsonar.jdbc.password=heyuqiang#----- MySQL 5.6 or greater# Only InnoDB storage engine is supported (not myISAM).# Only the bundled driver is supported. It can not be changed.sonar.jdbc.url=jdbc:mysql://192.168.1.181:3306/sonarqube?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=falsesonar.web.host=0.0.0.0sonar.web.context=/sonarsonar.web.port=9000
保存以上配置(注意,要看看默认的 9000 端口是否已被占用)
support.huaweicloud.com/tcrc-education/tcrc_21.html