Showing posts with the label Sonarqube

How to Install SonarQube in Ubuntu 20.04 LTS

Introduction       SonarQube is an open source web based tool to manage code quality and code analysis. 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.   Prerequisites Ubuntu 20.04 LTS with minimum 2GB RAM and 1 CPU. PostgreSQL Version 9.3 or higher. Apache Tomcat. SSH access with root privileges. Firewall Port: 9000. Install Java & Configure Java $ sudo apt-get update $ sudo apt install openjdk-11-jdk $ java -version $ sudo gedit /etc/profile             Note: add the below 2 line on end of the profile file                    export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64             export PATH=$JAVA_HOME/bin:$PATH $source /etc/profile or source ~/.bashrc $echo $JAVA_HOME Configure VM Map count & S