This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== SonarQube on Debian ===== ==== Install ==== <code> sudo apt-get install postgresql openjdk-11-jre unzip cd /opt sudo wget https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-8.3.1.34397.zip sudo unzip sonarqube-8.3.1.34397.zip sudo ln -s sonarqube-8.3.1.34397 sonarqube sudo chown emonge.emonge sonarqube* </code> ==== Systemd ==== Create /etc/systemd/system/sonarqube.service: <code> [Unit] Description=Star ISP Scheduler Service [Service] Type=Simple #ExecStart=/bin/bash -c "for i in $(cat /opt/tivoli/tsm/client/ba/bin/dsm.sys|grep -i servername|awk '{print $2}'); do /opt/tivoli/tsm/client/ba/bin/dsmc sched -servername=$i; done" ExecStart=/opt/tivoli/tsm/client/ba/bin/dsmc sched -servername=%i [Install] WantedBy=default.target </code> Restart systemd and start sonarqube: <code> sudo systemctl daemon-reload sudo systemctl start sonarqube </code>