教育-SonarQube 部署:启动和测试

时间:2025-02-12 14:52:59

启动和测试

  1. 切换到普通用户(heyuqiang)启动SonarQube Web Server
    $ /home/heyuqiang/sonarqube/bin/linux-x86-64/sonar.sh start

    初次启动会自动建表和做相应的初始化

  1. 查看日志
    $ tail -f /home/heyuqiang/sonarqube/logs/sonar.log

  1. 浏览器访问:http://192.168.1.180:9000/sonarqube/
    图6 启动服务

    看到上图页面说明sonarqube服务启动了。

support.huaweicloud.com/tcrc-education/tcrc_21.html