How to Install SonarQube in Azure Linux VM | Setup SonarQube with Docker Compose in Linux VM

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • www.coachdevop...
    Pre-requisites:
    Instance should have at least 4 GB RAM. Make sure port 9000 is opened as port 9000 is default port for SonarQube.
    Make sure below is taken care off.
    Login to instance where you will be installing SonarQube, perform the below command:
    sudo vi /etc/sysctl.conf
    Add the following lines to the bottom of that file:
    vm.max_map_count=262144
    fs.file-max=65536
    Install Docker-compose
    Create docker-compose.yml
    sudo docker-compose up -d
    Make sure SonarQube is up and running by checking the logs

КОМЕНТАРІ • 15

  • @zuao76
    @zuao76 3 місяці тому +1

    Thanks. Very easy to follow. Clean and direct to the point :)

  • @akash25446
    @akash25446 8 місяців тому +1

    Thank you !! Easy and clear teaching.

  • @blight4519
    @blight4519 Рік тому +1

    Amazing. Great tutorial with a clear explanation. Keep it up man you got yourself a sub.

  • @sivamanikanta6612
    @sivamanikanta6612 Рік тому +1

    Thank you soo much

  • @sathyanarayanareddyparamal9558

    Nice video It useful for me and please suggest me how to integrate Sql server DB existing DB projects

  • @Odessa1991
    @Odessa1991 Рік тому

    Great Presentation! Thank you very much!
    Now a question: What if I have SonarQube older version already installed?
    How would you suggest to go about the upgrade as opposed to the clean install?
    The description on their site is not very clear to me and a video on this topic would be very helpful.
    The setup is Azure, Sonar VM for app and a Azure PAS PostgreSQL
    Trying to avoid many manual steps.
    What would you say?

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      i know it is not that straight forward, refer this page.. sonarqube.ow2.org/documentation/setup/upgrading/

    • @Odessa1991
      @Odessa1991 Рік тому

      @@DevOpsCoach Thanks a lot and though I have seen this page, is it possible just to install it fresh, the latest and greatest and then upgrade the database separately and somehow preserve the existing data?

    • @sivalakshmanakumar8701
      @sivalakshmanakumar8701 Рік тому +1

      i'm also looking for that please use azure vm, azure pas postgre sql to run ansible role

  • @rajasenareddy1438
    @rajasenareddy1438 24 дні тому +1

    how to mount SonarQube volumes.

    • @DevOpsCoach
      @DevOpsCoach  18 днів тому

      check the docker compose yaml given in the web page.
      www.coachdevops.com/2023/02/how-to-setup-sonarqube-on-vm-in-azure.html
      volumes:
      - sonarqube_data:/opt/sonarqube/data
      - sonarqube_extensions:/opt/sonarqube/extensions
      - sonarqube_logs:/opt/sonarqube/logs