-
Notifications
You must be signed in to change notification settings - Fork 47
SonarQube
Somkiat Puisungnoen edited this page Apr 19, 2021
·
1 revision
sonarqube-8.8.0.42792
unzip sonarqube-8.7.0.41497.zip -d /opt/
mv /opt/sonarqube{-8.7.0.41497,}
useradd -M -d /opt/sonarqube/ -r -s /bin/bash sonarqube
chown -R sonarqube: /opt/sonarqube
vi /etc/systemd/system/sonarqube.service
[Unit]
Description=SonarQube service
After=syslog.target network.target
[Service]
Type=forking
ExecStart=/opt/sonarqube/bin/linux-x86-64/sonar.sh start
ExecStop=/opt/sonarqube/bin/linux-x86-64/sonar.sh stop
User=sonarqube
Group=sonarqube
Restart=always
LimitNOFILE=65536
LimitNPROC=4096
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
echo 'vm.max_map_count=262144' >> /etc/sysctl.conf
sysctl -p
systemctl enable --now sonarqube
systemctl status sonarqube.service
https://kifarunix.com/install-sonarqube-on-ubuntu/