安装中如遇到困难可以加微信联系远程协助安装
一、官网下载最新稳定企业版sonarque 9.8
https://www.sonarsource.com/products/sonarqube/downloads/
二、安装postgresql 数据库
1、官方安装文档:http://www.postgresql.org/download/linux/redhat/
sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
sudo yum install -y postgresql14-server
sudo /usr/pgsql-14/bin/postgresql-14-setup initdb
sudo systemctl enable postgresql-14
sudo systemctl start postgresql-14
create user sonarqube with password ‘Sonar123′;
create database sonarqube owner sonarqube ENCODING=’UTF8’;
grant all privileges on database sonarqube to sonarqube;
三、破解程序激活企业版(请支持正版)
四、安装中文插件
sonar-l10n-zh-plugin-9.8.jar #下载中文插件
mv sonar-l10n-zh-plugin-9.8.jar /home/sonarqube/extensions/plugins/