Install and configure SonarQube on CentOS 7
Introduction S onarQube is an open-source platform for continuous inspection of code quality. It is used to perform automatic reviews with static analysis of code to detect bugs, code smells, and security vulnerabilities on more than 20 programming languages. Platform notes If you're running on Linux, you must ensure that: vm.max_map_count is greater or equals to 262144 fs.file-max is greater or equals to 65536 the user running SonarQube can open at least 65536 file descriptors the user running SonarQube can open at least 4096 threads vim /etc/sysctl.d/90-sonarqube.conf vm.max_map_count=262144 fs.file-max=65536 vim /etc/security/limits.conf sonarqube - nofile 65536 sonarqube - nproc 4096 Install OpenJDK yum install -y java-11-openjdk Set Default JDK update-alternatives --config java There is 1 program that provides 'java'. Selection Command ----------------------------------------------- *+ 1 java-11-