gitlab+Runners+sonarQube(CICD)

gitlab+Runners+sonarQube(CICD)

  1. 安装sonarQube
    提示:sonarQube需MySQL打通
    [root@15b09cc997f1 test]# unzip sonarqube-7.6.zip
    [root@15b09cc997f1 /]# useradd sonar
    #创建系统用户
    [root@15b09cc997f1 /]# chown -R sonar.sonar /data/sonarqube
    CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
    #MySQL使用5.7版本(高版本不支持)
    [root@15b09cc997f1 /]# cd /usr/local/sonarqube/conf/
    16 sonar.jdbc.username=root
    17 sonar.jdbc.password=1234.Com
    26 sonar.jdbc.url=jdbc:mysql://192.126.30.3:3306/sonar?useUnicode=true&characte rEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSS L=false
    [root@15b09cc997f1 conf]# su - sonar -c “/usr/local/sonarqube/bin/linux-x86-64/sonar.sh start”
    #启动该服务
    测试链接:http://192.126.30.2:9000
    用户密码默认:admin admin

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值