Trace: sonarqube

SonarQube on Debian

Table of Contents

Install

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*

Systemd

Create /etc/systemd/system/sonarqube.service:

[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

Restart systemd and start sonarqube:

sudo systemctl daemon-reload
sudo systemctl start sonarqube
sonarqube.txt · Last modified: 2020/05/21 11:12
Public Domain Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain