In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
I. description of system software
Centos-7.6 mysql-5.7.25 jdk-1.8.0_152 apache-maven-3.6.0 sonarqube-7.5
II. Skip installation of jdk and mysql
School time, selinux, iptables, time zone, swap, openfile_limit, jdk, mysql find documents to deal with themselves
Create a sonar library and authorize it to sonar users
Third, install sonarqube
Modify the configuration file sonar.properties
Sonar.jdbc.url=jdbc:mysql://192.168.8.88:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=falsesonar.jdbc.username=sonar # mysql username sonar.jdbc.password=sonar # mysql password sonar.web.javaOpts=-Xmx512m-Xms128m-XX:+HeapDumpOnOutOfMemoryErrorsonar.web.context=/sonarsonar.web.port=9000sonar.log.level=INFOsonar.log.level.es=INFO
Startup program
> useradd sonar > chown-R sonar.sonar / usr/local/sonarqube > su-soanr > / usr/local/sonarqube/elasticsearch/bin/elasticsearch-d > / usr/local/sonarqube/bin/linux-x86-64/sonar.sh start
Check
Tail-200f / usr/local/sonarqube/logs/es.logtail-200f / usr/local/sonarqube/logs/sonar.lognetstat-lnpt | egrep "9000 | 9001 | 9200 | 9300 | 3306"
4. Integrate into maven
Add the following to the maven profile setting.xml
Org.sonarsource.scanner.mavensonartrue http://192.168.8.88:9000/sonar
Add the following to the project pom.xml
Org.sonarsource.scanner.mavensonar-maven-plugin3.6.0.1398
Pass in the sonar:sonar parameter at compile time
Mvn clean package sonar:sonar
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.