当前位置:网站首页>Procédures d'introduction et d'installation de sonarqube
Procédures d'introduction et d'installation de sonarqube
2022-06-11 23:32:00 【Jiang Xiaonan】
1. sonarqubeIntroduction
Site officiel:https://www.sonarqube.org/
SonarQube Est une plateforme d'analyse de code open source, Utilisé pour analyser et évaluer continuellement la qualité du code source du projet.AdoptionSonarQubeNous pouvons détecter des codes dupliqués dans le projet,Potentielbug,Spécification du Code,Problèmes de sécurité, etc,Et à traversSonarQube web UIMontre - le..

Nous utilisons ici le premier(Édition communautaire)
2. sonarqubeInstallation
sonarqubeL'installation doit être basée surPostgreSQLBase de données
Télécharger les images associées
# PostgreSQLMiroir de base de données
docker pull postgres
# sonarqubeMiroir
docker pull sonarqube:8.9.8-community
Compilationdocker-compose.ymlDocumentation
version: '3.1'
services:
postgres:
image: postgres
container_name: postgres
ports:
- 5432:5432
networks:
- sonarnet
environment:
POSTGRES_USER: sonar
POSTGRES_PASSWORD: sonar
sonarqube:
image: sonarqube:8.9.8-community
container_name: sonarqube
depends_on:
- postgres
ports:
- 9000:9000
networks:
- sonarnet
environment:
SONAR_JDBC_URL: jdbc:postgresql://postgres:5432/sonar
SONAR_JDBC_USERNAME: sonar
SONAR_JDBC_PASSWORD: sonar
networks:
sonarnet:
driver: bridge
Démarrage
docker-compose up -d

Erreur trouvée comme indiqué ci - dessus , Modifier en fonction de l'invite du Journal
vi /etc/sysctl.confDocumentation, Ajouter une ligne .

vm.max_map_count = 262144
# Et exécuter la commande rafraîchir
[[email protected] sonarqube_docker]# sysctl -p
vm.swappiness = 0
net.core.somaxconn = 1024
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_max_syn_backlog = 1024
vm.max_map_count = 262144
[[email protected] sonarqube_docker]#
Accès à

Le nom d'utilisateur et le mot de passe par défaut sontadmin.

Jusqu'ici.sonarqube L'introduction et l'installation de .
边栏推荐
- 2022年安全員-A證考題模擬考試平臺操作
- 2022年安全员-A证考题模拟考试平台操作
- 2022年起重机司机(限桥式起重机)考试题模拟考试题库及模拟考试
- Analysis on the market prospect of smart home based on ZigBee protocol wireless module
- 删除收货地址【项目 商城】
- Live broadcast preview | featurestore meetup V3 is coming!
- 【BBC learningenglish】with Tango
- mysql5和mysql8同时安装
- Wake up wrist - neural network and deep learning (tensorflow application) updating
- 帝国理工等最新《胶囊网络综述》论文,29页pdf阐述胶囊的概念、方法与应用
猜你喜欢

Lake Shore - supertran continuous flow cryogenic thermostat system

Software installation and use, etc

【Day6-7 文献精读】A unifying Bayesian framework accounting for spatiotemporal interferences with a ...

One to one correspondence of multiple schematic diagrams and PCB diagrams under Altium designer project

2022 safety officer-b certificate theoretical question bank and simulation test

2022年低压电工上岗证题目及在线模拟考试

Zigbee3.0 wireless packet capturing installation method based on e18-2g4u04b

Application of Lora wireless communication module Lora technology in smart home light control

商品热销排行【项目 商城】

Wechat applet Bluetooth development
随机推荐
Two ways of using reuqests in RF
Unity3d C#开发微信小游戏音频/音效播放问题解决过程分享
2022 high place installation, maintenance and removal of simulated examination platform for operation certificate examination question bank
SDNU_ ACM_ ICPC_ 2022_ Weekly_ Practice_ 1st (supplementary question)
VS code 编写汇编代码【微机原理】
Unity3d C # development of wechat games audio / sound playback problem solving process sharing
ETF operation record: March 1, 2022
Implementation scheme of iteration and combination pattern for general tree structure
Common problems of Converged Communication published in February | Yunxin small class
【Day13-14 文献精读】Cross-dimensional magnitude interactions arise from memory interference
Postgresql10 process
Queue (C language)
Wireless communication comparison of si4463, si4438 and Si4432 schemes of wireless data transmission module
El select drop-down box style combined with El table (pseudo) combined with drop-down selection
[Day2 intensive literature reading] time in the mind: using space to think about time
[day1/5 literature intensive reading] speed constancy or only slowness: what drives the kappa effect
Mysql5 and mysql8 are installed at the same time
Live broadcast preview | featurestore meetup V3 is coming!
[Day8 literature extensive reading] space and time in the child's mind: evidence for a cross dimensional symmetry
Here we go! Dragon lizard community enters PKU classroom