![]() ![]() * 3 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual modeĬheck JAVA Version: java -version Output: java -version You will see below choices for the alternative java (providing /usr/bin/java).Ġ /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto modeġ /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual modeĢ /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode ![]() To set default JDK or switch to OpenJDK enter below command, Sudo apt-get install openjdk-11-jre -y SET Default JDK Install OpenJDK and JRE 11 using following command, Sudo apt-get install wget unzip -y Step #1: Install OpenJDK ![]() Sonarqube - nproc 4096 OR If you are using systemd to manage the sonarqube services then add below value in sonarqube unit file under section.īefore installing, Lets update and upgrade System Packages etc/security/nf sonarqube - nofile 65536 Open the below config file and Insert the below value as shown below, To Increase the vm.max_map_count kernal ,file discriptor and ulimit permanently. Sudo sysctl -w vm.max_map_count=262144 sudo sysctl -w fs.file-max=65536 ulimit -n 65536 ulimit -u 4096 Increase the vm.max_map_count kernal ,file discriptor and ulimit for current session at runtime. To know Prerequisite visit sonarqube official page Note: MySQL Support for SonarQube is depricated. ![]() Here, We are installing SonarQube 8.9 version and have to install Oracle JAVA/Open JDK, Postgres/MS-SQL as database and Latest browser before installing SonarQube. Ubuntu 20.04 LTS with minimum 2GB RAM and 1 CPU.It is most widely used in continuous code inspection which performs reviews of code to detect bugs, code smells and vulnerability issues of programming languages such as PHP, C#, JavaScript, C/C++ and Java, Also tracks statistics and creates charts that enable developers to quickly identify problems in their code. Introduction SonarQube is an opensource web based tool to manage code quality and code analysis. Step #3: How to Install SonarQube on Ubuntu 20.04 LTS.Step #2: Install and Setup PostgreSQL 10 Database For SonarQube. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2023
Categories |