MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Sonarqube Tutorails: Installation & Configuration


Prerequisite: JAVA

SonarQube Java support table: Oracle JRE and OpenJDK 17 work for server and scanners, 11 only for scanners

Install JAVA

Install SonarQube in Linux


# Run commands as Normal User
$ cd
$ wget https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-10.1.0.73491.zip
$ unzip sonarqube-10.1.0.73491.zip
$ mv sonarqube-10.1.0.73491 sonarqube
$ cd sonarqube
$ cd bin
$ cd linux-x86-64
$ ./sonar.sh start
$ ./sonar.sh status
Code language: PHP (php)

How to install SonarQube using docker container?


To install SonarQube using a Docker container, follow these steps:

Ensure that Docker is installed: Make sure you have Docker installed on your machine. You can download Docker from the official website and follow the installation instructions for your specific operating system.

Pull the SonarQube Docker image: Open your terminal or command prompt and execute the following command to pull the SonarQube Docker image from Docker Hub:

$ docker pull sonarqube

Create a Docker container: Once the image is downloaded, run the following command to create a new Docker container for SonarQube:

$ docker run -d --name sonarqube -p 9000:9000 sonarqube

This command will create a new Docker container named "sonarqube" and expose port 9000, which is the default port for accessing SonarQube.

Access SonarQube: After the container starts, you can access SonarQube by opening a web browser and navigating to http://localhost:9000. This will take you to the SonarQube web interface.

Note: If you are running Docker on a remote server or using a different port mapping, replace localhost:9000 with the appropriate IP address and port.

Log in to SonarQube: On the SonarQube login page, use the default credentials:

Username: admin
Password: admin

It is recommended to change the default password after logging in for the first time.Code language: JavaScript (javascript)

How to access SonarQube?

  • http://52.207.239.204:9000/

Log in to SonarQube: On the SonarQube login page, use the default credentials:

Username: admin

Password: admin

SonarQube Projects page showing the DevOpsSchool project with a Passed quality gate

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

SonarQube Masterclass: 2-Day Hands-on Training for Developers, DevOps & Administrators

In modern software delivery, writing code is only one part of the engineering journey. Teams also need to ensure that the code is secure, maintainable, reliable, testable,…

Read More

Top 10 Static Code Analysis Tools: Features, Pros, Cons & Comparison

Introduction Static Code Analysis Tools are software solutions that automatically analyze source code without executing it to identify potential issues such as bugs, security vulnerabilities, performance bottlenecks,…

Read More

Top 10 Static Code Analysis Tools in 2026: Features, Pros, Cons & Comparison

Introduction Static code analysis tools have become a cornerstone of modern software development, helping developers detect bugs, vulnerabilities, and code quality issues before they become major problems….

Read More

Sonarqube: SonarQube Basic Workflow using Scanner CLI

In Workstation Step 1 – Install Java $ sudo apt update$ sudo apt install openjdk-17-jdk$ sudo apt install openjdk-17-jre$ java –version Step 2 – Download a Scanner…

Read More

Static Code Analysis Tools in 2024

The world of static code analysis (SCA) tools is constantly evolving, offering a wide range of options to suit diverse needs and preferences in 2024. Following is…

Read More

Code Quality tools in 2024

The code quality landscape continues to evolve rapidly in 2024, driven by several key trends: Here’s a look at some top code quality tools across categories in…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
rakesh
rakesh
3 years ago

yeterday, i develop the software but i found the no of bugs in my source code so i was searching tool to analyze and monitor the quality of my source codes after visting your blog i found sonarqube to test my source code and i install it my system ,thanks lot rajesh to sharing this blog

1
0
Would love your thoughts, please comment.x
()
x