Last active
July 6, 2021 16:48
-
-
Save LinuxlinkedBD/f0bc41264ad4523a0ef78eb8b1334967 to your computer and use it in GitHub Desktop.
How to Install SonarQube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you need complete SonarQube setup, ping me on below contacts: | |
Telegram: linuxlinked | |
email: [email protected] | |
WhatsApp: +8801720903155 | |
Skype:live:.cid.c0dc316b9d727d5e | |
YouTube: https://youtu.be/QRkc535cwPQ | |
######################################################################################################################################## | |
#!/bin/bash | |
sudo apt-get update | |
sudo apt update | |
sudo apt-get install software-properties-common | |
sudo apt update | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt update | |
sudo apt -y install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
sudo apt update | |
apt-cache policy docker-ce | |
sudo apt -y install docker-ce | |
sudo systemctl status docker | |
nano /etc/security/limits.d/99-sonarqube.conf | |
root - nofile 65536 | |
root - nproc 7610 | |
#save and close | |
sudo reboot | |
mkdir /sonarqube | |
ln -s /var/lib/docker/volumes/sonarqube-conf/_data /sonarqube/conf | |
ln -s /var/lib/docker/volumes/sonarqube-data/_data /sonarqube/data | |
ln -s /var/lib/docker/volumes/sonarqube-logs/_data /sonarqube/logs | |
ln -s /var/lib/docker/volumes/sonarqube-extensions/_data /sonarqube/extensions | |
#browse http://localhost:9000/ | |
#sonarqube #sonarqubetutorial #sonarqubecinstallation #sonarqubedemo #sonarqubeubuntu #sonarqubecentos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
good