How to Install SonarQube on Windows | Install Oracle Java on Windows | Run SonarQube on Windows

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Hello friends in this session we are going to learn how to install sonar Cube on window so let's start in this we will cover these topics are here first one what is sonar Cube and its architecture they can use requisite to install sonar Cube on window third download and install Oracle Java 17 version download and install sonar Cube on window start solar Cube on window access sonar Cube on window okay so let's start this step by step these topics so see here here what is mean by sonar Cube sonar Cube It's a core quality assurance tool that collects and Analysis source code okay and provide its reports for the quality code quality of your projects okay so see this is the architecture of the sonar cube in this architecture there are divided into four parts so now scanner sonar analyzer source code database okay so on our database so in the source scanner there are different projects we can using this uh project we can access the source code and this is the analyze it and store in the database for the future reference and it store the okay it is ideally you need to use any of the build in tools such as ADD May 1 or Gradle that invokes the sonar scanner to face the source code it takes the source code from the repository or a configuration parameter is used to set a place from which you want the source code to taken so narcos supports like plugins like ASV and some of other versions so next is Sona source code source code it's a code written by developer or manager this developer this code developer push the opposed to the repository and from this repurchase we are pull the requests are visible in this sonar Cube next one sonar analyzer sonar analyzer takes the source code and go to the all course and user your technical problems and sonar receive the request and start the examing or the source code of the project and the analysis is based on Project sonar file profile activating any additional plugins or reporting capabilities if any and you simply you need to integrate these plugins in your sonar queue we will Analyze This source code you need to add these plugins to sonar analyzer based on language you want to analyze I use here Java language here if you don't want to use Java language you can choose any language okay so when analysis is finished the result store in this database okay it's used for the future reference and see next part is sonar database so not database it will be send database once report is generated from the analysis through the analysis okay so that can be stored in the database and subsequently used for the reporting purpose there is a catching server which is used to hold temporary reports in completes the analysis of the source code then it's going to send to the report to the query where server needs to process those results after the result are processed then reports are data stored in the database sonar Cube have default database and you can integrate your own database over to your sonar cubes and sonar Cube supports a database like EMS SQL Oracle like that okay this is our architecture next one is prerequisites for the Corner Cube so here prerequisites are we have to install Java 17 version here Java 17 version it's important because in latest version of the sonar Cube it supports only Java 17. it's none other than 17 okay so if you install Java 11 or other 15 like that then you get the difficulties okay so be aware of that so so next one is sonar Cube server requires at least 2 GB Ram to run efficiently and 1GB for the OS okay next download the Oracle Java so let me open this Internet Explorer and this is the Java downloads official website click on that and loading this page okay and see this is Java 19 and 17 available here version and we have to go the Java 17 and inside the Java 17 here different os are present here like index Mac OS even those I want to install for the window and from this window I install the MSI file this 64g uh MSI installer click on this link and after that click on the link automatically download this file I have already downloaded this file so see here and click double click on this and you get the welcome page of the jdk okay so this is the welcome page click on the next and if you have to change this path for the installation then from here you can change but I don't want to change this path because it's program file Java jdk 70 okay it's okay for me next and this is a install it installing this Java 17 version okay so after that it's completed installation we will close this window okay now it's completely installed now let me over check this Java 17 version is installed or not properly for that let me open this command prompt and using the Java space hyphen version command we can check this Java version installer not properly so see Java version 17 it's installed properly okay so now let's see next topic download and install or sonar Cube on window so go to this official website let me open this Internet Explorer and see this is the first download this is the official website click on that loading this page okay now see this is a different editions here present here so I want to use this Community Edition in that Community Edition I click on this download for free okay and it's automatically downloaded let's wait for this download this file okay it's downloaded open this folder [Music] for that right click on this and extract all and if you want to change this part I want to change this browse and use this C drive and select folder okay browse this extract okay now it's completely extracted so we are go to the bin folder in that build folder there are for the different OS here for folders are present here for the linear connect OS I want to use this window go inside that and here are two type two ways of the installation of sonar Cube first one is right click on this and run as admination here window is we get the pop-up here or open this window click on this more info and run anyway okay so I don't want to do this way I want to go to the command prompt okay so firstly we have to go inside the this part okay I want to go inside this path that's why I copy and in the command form CD and paste here this path and go inside this okay and now we have to use this starts on our batch file this starts on our specifying so copy and Dot patch now it's starting the installation that's right for this few minutes okay here we gives us process of message it's take a few minutes for two to three minutes taking for the installation here here is process is up okay means installation is going on oh let's wait okay see here again process it up message gear here and now it's taking two minutes now now end of this we will get process is up and sonar cube is operational okay so means it's a completely installed of the sonar two on our window so now how it's access this so let me open this Internet Explorer okay so now we will open new tab no window or new tab on the Internet Explorer okay and Here Local post 900 use for this nine thousand sorry nine thousand it is used for the person access so see enter the now open this okay here so replace this page okay here spelling mistake is here that's why it's not open so look okay now let's look again enter and let's check this is a loading now and we get the login page here okay now it's a by default of login ID and login password is admin admin okay so I write the admin again password is admin and login and we get the reset the password never and give the old password admit as your requirement you give you set the new password okay and update it so like that we will install on our window and from that here we will see prompting it a widget lab green bucket cloud or manually you can create a project okay so today's session we will learn how to install sonar coupon window so thank you for the watching video
Info
Channel: DevOps Hint
Views: 7,321
Rating: undefined out of 5
Keywords: What is SonarQube, SonarQube Architecture, Download and Install Oracle Java 17 on Windows, How to Install SonarQube on Windows, Start SonarQube on Windows, Access SonarQube on Windows, download sonarqube on windows
Id: arbDl7YOIyM
Channel Id: undefined
Length: 16min 43sec (1003 seconds)
Published: Wed Mar 22 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.