SonarQube 9 Installation on Ubuntu Linux with PostgreSQL : Step-by-Step Guide

preview_player
Показать описание
SonarQube is an open-source tool which can used for analyzing the quality of the source code. It can detect your code bugs, vulnerabilities, security black holes and code smells. SonarQube empowers you to write cleaner and safer codes without breaking standards and code methodologies.

SonarQube is bundled with static code analyzer for more than 27 programming languages. SonarQube performs continues code inspection using thousands of automated static code analysis rules.

In this tutorial, I will guide you through the step-by-step process of installing SonarQube on Ubuntu 22.04 with PostgreSQL 15

We will start by installing PostgreSQL 15 and creating a new user and database for SonarQube. Then, we will install the latest version of Adoptium Temurin JDK 17, which is required for SonarQube to run.

Finally, we will download and install SonarQube 9.9.0, and configure it to use PostgreSQL 15 as its database. We will also set up the necessary kernel limits for SonarQube to run smoothly.

By the end of this tutorial, you will have a fully functional SonarQube instance running on Ubuntu 22.04 with PostgreSQL 15, ready to be used for your code analysis needs.

#SonarQube #CodeAnalysis #CodeQuality #CodeSecurity #DevOps #DevSecOps #Tutorial #StepByStep #guide

Timestamps

0:00 - Introduction
1:34 - What is Sonarqube
2:42 - Updating Ubuntu
4:15 - Installing Postgresql 15
5:15 - Create database for Sonarqube
6:38 - Install Java 17
8:24 - Configure Limits for Virtual Machine
9:55 - Install Sonarqube

Please leave a comment with any questions and I will try my best to answer!
Рекомендации по теме
Комментарии
Автор

If you found this video helpful please consider giving it a thumbs up and subscribing to the channel to be notified of future videos. Also if there is a specific topic or subject you would like me to cover let me know below!

DineshMistry
Автор

Thank you so much. Been struggling for hours before seeing your gist. Finally installed SonarQube !

cyberfactory
Автор

Thank you so much for the gist, after I spent 5 hours trying to set it up, i found your video and everything was up and running in 15 mins. You rock!

denisep.
Автор

Loved it.
very helpful.
Thanks a million.!

qpzcfmn
Автор

Thanks for the great content! Why do you need postgres for sonarqube? I have been using sonarqube just with docker container and it works fine. Sorry you didn't explain why and how postgres works with sonarqube.

jinpark
Автор

your video was so helpful and thanks.. can you help me out with how the sonar community branch plugin works and its installation with sonarqube9

ashokooty