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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 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 4 หลายเดือนก่อน +1

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

    • @DevOpsCoach
      @DevOpsCoach  4 หลายเดือนก่อน +1

      Glad you liked it!

  • @akash25446
    @akash25446 9 หลายเดือนก่อน +1

    Thank you !! Easy and clear teaching.

    • @DevOpsCoach
      @DevOpsCoach  9 หลายเดือนก่อน

      Glad it was helpful!

  • @blight4519
    @blight4519 ปีที่แล้ว +1

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

  • @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

  • @sathyanarayanareddyparamal9558
    @sathyanarayanareddyparamal9558 ปีที่แล้ว

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

  • @sivamanikanta6612
    @sivamanikanta6612 ปีที่แล้ว +1

    Thank you soo much

  • @rajasenareddy1438
    @rajasenareddy1438 2 หลายเดือนก่อน +1

    how to mount SonarQube volumes.

    • @DevOpsCoach
      @DevOpsCoach  หลายเดือนก่อน

      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