Skip to content

Instantly share code, notes, and snippets.

@LinuxlinkedBD
Last active July 6, 2021 16:48
Show Gist options
  • Save LinuxlinkedBD/f0bc41264ad4523a0ef78eb8b1334967 to your computer and use it in GitHub Desktop.
Save LinuxlinkedBD/f0bc41264ad4523a0ef78eb8b1334967 to your computer and use it in GitHub Desktop.
How to Install SonarQube
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
@LinuxlinkedBD
Copy link
Author

Screenshot from 2021-07-04 18-40-56
Screenshot from 2021-07-04 18-42-22
Screenshot from 2021-07-04 18-42-46
Screenshot from 2021-07-05 14-07-57
Screenshot from 2021-07-05 14-08-26

@UbuntuEvangelist
Copy link

good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment