Wiki source code of Guide d'installation Windows
Last modified by Aurelie Bertrand on 2025/06/12 11:56
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Vous trouverez dans ce guide les instructions d'installation et de configuration sous Windows. | ||
| 2 | |||
| 3 | (% class="box warningmessage" %) | ||
| 4 | ((( | ||
| 5 | ❗Il est recommandé d'utiliser OpenDJ à la place d'OpenLDAP (déprécié). Les 2 installations sont décrites ici mais nous préconisons désormais d'utiliser OpenDJ. | ||
| 6 | ))) | ||
| 7 | |||
| 8 | ---- | ||
| 9 | |||
| 10 | {{ddtoc/}} | ||
| 11 | |||
| 12 | ---- | ||
| 13 | |||
| 14 | (% class="box warningmessage" %) | ||
| 15 | ((( | ||
| 16 | Java est requis pour pouvoir lancer DigDash. Actuellement, la version 17 de java n'est pas supportée et ne fonctionnera pas. Nous recommandons d'utiliser java 11 (les versions 12 à 16 n'étant pas des versions LTS) pour le moment. | ||
| 17 | ))) | ||
| 18 | |||
| 19 | (% class="box infomessage" %) | ||
| 20 | ((( | ||
| 21 | __Vocabulaire__ | ||
| 22 | |||
| 23 | Dans toutes les pages de documentation, les "**applications**" font références aux fichiers **.war **présents dans le serveur DigDash Enterprise (digdash_enterprise_202XRX_pXXXXXXXX_64\apache-tomcat\webapps) : | ||
| 24 | |||
| 25 | * **Serveur** : ddenterpriseapi.war | ||
| 26 | * **Tableau de bord** : digdash_dashboard.war | ||
| 27 | * **Web Studio** : studio.war | ||
| 28 | * **Page d'accueil** : adminconsole.war | ||
| 29 | |||
| 30 | Cet ensemble d'applications constitue un domaine. Selon les besoins ce domaine peut être dupliqué pour par exemple disposer d'un contexte de développement et un autre de production. | ||
| 31 | ))) | ||
| 32 | |||
| 33 | Ce document décrit comment installer DigDash sur Windows. | ||
| 34 | |||
| 35 | Pour l'installation sur Linux, se reporter au document [[Guide d'Installation Linux>>doc:Digdash.deployment.installation.install_guide_ubuntu.WebHome]]. | ||
| 36 | |||
| 37 | Pour une mise à jour d'une installation existante, se reporter au document [[Guide de mise à jour>>doc:Digdash.deployment.installation.upgrade_dde.WebHome]]. | ||
| 38 | |||
| 39 | = Terminologie = | ||
| 40 | |||
| 41 | (% id="H1.1.Acronymes" %) | ||
| 42 | == Acronymes == | ||
| 43 | |||
| 44 | ((( | ||
| 45 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:1004px" %) | ||
| 46 | |(% style="background-color:#069394; border-bottom:1px solid #36525b; border-left:1px solid #36525b; border-right:1px solid #36525b; border-top:1px solid #36525b; padding:7px 7px 7px 7px; vertical-align:top; width:257px" %)((( | ||
| 47 | (% style="line-height:1.2; margin-left:-5px; text-align:center" %) | ||
| 48 | (% style="color:#f8f7f7; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Acronyme | ||
| 49 | )))|(% style="background-color:#069394; border-color:#36525b; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:746px" %)((( | ||
| 50 | (% style="line-height:1.2; margin-left:-5px; margin-right:-8px; text-align:center" %) | ||
| 51 | (% style="color:#f8f7f7; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Signification | ||
| 52 | ))) | ||
| 53 | |(% style="border-color:#36525b; border-style:solid; border-width:1px; padding:7px; text-align:center; vertical-align:top; width:257px" %)Digdash|(% style="border-color:#36525b; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:746px" %)((( | ||
| 54 | <DD Install> : dossier à avoir ( exemple : digdash_enterprise_2022R2_p20230103_64) qui permet l'installation Digdash | ||
| 55 | |||
| 56 | [[image:1674038202679-522.png]] | ||
| 57 | ))) | ||
| 58 | |(% style="border-bottom:1px solid #36525b; border-left:1px solid #36525b; border-right:1px solid #36525b; border-top:1px solid #36525b; padding:7px 7px 7px 7px; vertical-align:top; width:257px" %)((( | ||
| 59 | (% style="line-height:1.2; margin-left:9px; text-align:center" %) | ||
| 60 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)OS | ||
| 61 | )))|(% style="border-color:#36525b; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:746px" %)((( | ||
| 62 | (% style="line-height:1.2; margin-left:9px; text-align:justify" %) | ||
| 63 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Operating System ( Windows, Ubuntu ect..) (environ 20G) | ||
| 64 | ))) | ||
| 65 | |(% style="border-bottom:1px solid #36525b; border-left:1px solid #36525b; border-right:1px solid #36525b; border-top:1px solid #36525b; padding:7px 7px 7px 7px; vertical-align:top; width:257px" %)((( | ||
| 66 | (% style="line-height:1.2; margin-left:9px; text-align:center" %) | ||
| 67 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Lecteur data | ||
| 68 | )))|(% style="border-color:#36525b; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:746px" %)((( | ||
| 69 | (% style="line-height:1.2; margin-left:9px; text-align:justify" %) | ||
| 70 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)E: Dans cette documentation , | ||
| 71 | |||
| 72 | (% style="line-height:1.2; margin-left:9px; text-align:justify" %) | ||
| 73 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Partition ou disque différent du système ( taille dépend du projet) | ||
| 74 | ))) | ||
| 75 | |(% style="border-bottom:1px solid #36525b; border-left:1px solid #36525b; border-right:1px solid #36525b; border-top:1px solid #36525b; padding:7px 7px 7px 7px; vertical-align:top; width:257px" %)((( | ||
| 76 | (% style="line-height:1.2; margin-left:9px; text-align:center" %) | ||
| 77 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Lecteur ROOT | ||
| 78 | )))|(% style="border-color:#36525b; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:746px" %)((( | ||
| 79 | (% style="line-height:1.2; margin-left:9px; text-align:justify" %) | ||
| 80 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)C: Dans cette documentation , | ||
| 81 | |||
| 82 | (% style="line-height:1.2; margin-left:9px; text-align:justify" %) | ||
| 83 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Partition ou disque qui héberge les données de l’OS | ||
| 84 | ))) | ||
| 85 | |(% style="border-bottom:1px solid #36525b; border-left:1px solid #36525b; border-right:1px solid #36525b; border-top:1px solid #36525b; padding:7px 7px 7px 7px; vertical-align:top; width:257px" %)((( | ||
| 86 | (% style="line-height:1.2; margin-left:9px; text-align:center" %) | ||
| 87 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Lecteur logs | ||
| 88 | )))|(% style="border-color:#36525b; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:746px" %)((( | ||
| 89 | (% style="line-height:1.2; margin-left:9px; text-align:justify" %) | ||
| 90 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)L: Dans cette documentation , | ||
| 91 | |||
| 92 | (% style="line-height:1.2; margin-left:9px; text-align:justify" %) | ||
| 93 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Partition ou disque qui héberge les fichiers de Logs (allouer une taille de 5 G) idéalement dédié | ||
| 94 | ))) | ||
| 95 | ))) | ||
| 96 | |||
| 97 | = Protocole d’installation = | ||
| 98 | |||
| 99 | == Listes des modules en dehors de DigDash == | ||
| 100 | |||
| 101 | (% style="line-height:1.2; text-indent:0.15354330708661657pt; text-align:justify" %) | ||
| 102 | L’ensemble des serveurs doit avoir à minima les installations suivantes : | ||
| 103 | |||
| 104 | * Système de fichier | ||
| 105 | * Installation Microsoft JDK 11 | ||
| 106 | * Tomcat 9 | ||
| 107 | * WebApps DigDash | ||
| 108 | |||
| 109 | Liste des composants de production: | ||
| 110 | |||
| 111 | * Remplacer ADSWRAPPER par OpenDJ ( Pour les environnements de production) | ||
| 112 | * Remplacer H2 par une Base de données: PostGres ou MariaDB | ||
| 113 | |||
| 114 | Liste des composants optionnels: | ||
| 115 | |||
| 116 | * Reverse Proxy : Apache pour Windows | ||
| 117 | |||
| 118 | = Versions supportées = | ||
| 119 | |||
| 120 | Les versions supportées sont les suivantes : | ||
| 121 | |||
| 122 | * Tomcat 9 : dernier patch | ||
| 123 | * OpenDJ (recommandé) : version 4.6.2 et ultérieure | ||
| 124 | * OpenLDAP (non recommandé) : dernier patch 2.5.x au dernier patch 2.6.x par défaut du gestionnaire de package | ||
| 125 | * MariaDB : version de l'OS ou dernière version LTS dernier patch | ||
| 126 | * Apache2 : dernier patch | ||
| 127 | |||
| 128 | (% style="line-height:1.2; text-align:justify; margin-bottom:4px" %) | ||
| 129 | = Installations = | ||
| 130 | |||
| 131 | (% id="H3.1.SystE8medefichier" %) | ||
| 132 | == Système de fichiers == | ||
| 133 | |||
| 134 | 1. Créer un répertoire “logs” à la racine du répertoire souhaité (L): | ||
| 135 | 1*. logs : héberge les fichiers de log des applications qui tourne sur le serveur en local | ||
| 136 | 1. Créer un répertoire “digdash” à la racine du E. | ||
| 137 | 1. Dans le répertoire digdash, créer 4 répertoires : | ||
| 138 | 1*. tools : héberge les outils livrés par DigDash qui peuvent interagir avec lui (import tool, backup tools) | ||
| 139 | 1*. webapps : les modules DigDash applicatifs: (studio, adminconsole, dashboard, ddenterpriseapi) | ||
| 140 | 1*. ldapdigdash : héberge la configuration et les données du LDAP | ||
| 141 | 1*. appdata : héberge les données DigDash | ||
| 142 | 1. Dans chaque répertoire créé aux étapes précédentes, créer un répertoire default | ||
| 143 | 1. Copier le fichier digdash.properties à la racine du répertoire digdash du E: | ||
| 144 | |||
| 145 | [[image:1674039152023-715.png||data-xwiki-image-style-alignment="center"]] | ||
| 146 | |||
| 147 | |||
| 148 | === digdash.properties === | ||
| 149 | |||
| 150 | * Ouvrir le fichier digdash.properties et rajouter les lignes suivantes : | ||
| 151 | |||
| 152 | ((( | ||
| 153 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:1040px" %) | ||
| 154 | |(% style="background-color:#333333; padding:7px; vertical-align:top; width:1043px" %)((( | ||
| 155 | (% style="line-height: 1.38;" %) | ||
| 156 | (% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) Ajouter ces lignes au début du fichier(%%) | ||
| 157 | \\(% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) Emplacement des logs(%%) | ||
| 158 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ddenterpriseapi.ddlog4j.properties.file=E:/digdash/log4j2_api.properties(%%) | ||
| 159 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)studio.ddlog4j.properties.file=E:/digdash/log4j2_studio.properties(%%) | ||
| 160 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)digdash_dashboard.ddlog4j.properties.file=E:/digdash/log4j2_dash.properties(%%) | ||
| 161 | \\(% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) Emplacement du appadata(%%) | ||
| 162 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ddenterpriseapi.AppDataPath=E:/digdash/appdata/default(%%) | ||
| 163 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)digdash_dashboard.AppDataPath=E:/digdash/appdata/default(%%) | ||
| 164 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)studio.AppDataPath=E:/digdash/appdata/default(%%) | ||
| 165 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)adswrapper.ads.instance.name=E:/digdash/appdata/default/ldapdigdash(%%) | ||
| 166 | \\(% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)adminconsole.adminconsole_domain=adminconsole(%%) | ||
| 167 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)adminconsole.webstudio_domain=studio(%%) | ||
| 168 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)adminconsole.server_domain_list=ddenterpriseapi(%%) | ||
| 169 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)adminconsole.dashboard_domain=digdash_dashboard(%%) | ||
| 170 | \\(% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)studio.DOMAIN=ddenterpriseapi(%%) | ||
| 171 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)studio.FORCEDOMAIN=true(%%) | ||
| 172 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)studio.SERVERURL=http:~/~/localhost:8080(%%) | ||
| 173 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)studio.FORCESERVERURL=true(%%) | ||
| 174 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)studio.adminconsole_domain=adminconsole(%%) | ||
| 175 | \\(% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)digdash_dashboard.DOMAIN=ddenterpriseapi(%%) | ||
| 176 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)digdash_dashboard.FORCEDOMAIN=true(%%) | ||
| 177 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)digdash_dashboard.SERVERURL=http:~/~/localhost:8080(%%) | ||
| 178 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)digdash_dashboard.FORCESERVERURL=true(%%) | ||
| 179 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)digdash_dashboard.adminconsole_domain=adminconsole(%%) | ||
| 180 | \\(% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#888888; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)~#~#~#~#~#~#~#~#~#~# Nettoyage automatique des fichiers programmé(%%) | ||
| 181 | (% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#888888; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)~#~#~#~#~#~#~#~#~#~# Scheduled automatic file cleaning(%%) | ||
| 182 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ddenterpriseapi.startCleaner=true(%%) | ||
| 183 | \\(% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#888888; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)~#~#~#~#~#~#~#~#~#~# Nettoyage des fichiers inutilisés au démarrage du serveur(%%) | ||
| 184 | (% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#888888; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)~#~#~#~#~#~#~#~#~#~# Clean up unused files on server startup(%%) | ||
| 185 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ddenterpriseapi.cleanOnStart=false(%%) | ||
| 186 | \\(% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#888888; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)~#~#~#~#~#~#~#~#~#~# Sauvegarde automatique programmée(%%) | ||
| 187 | (% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#888888; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)~#~#~#~#~#~#~#~#~#~# Scheduled automatic backup(%%) | ||
| 188 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ddenterpriseapi.autoBackup=true(%%) | ||
| 189 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ddenterpriseapi.autoBackupKeepDays=7(%%) | ||
| 190 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)digdash_dashboard.CANCHANGEPASSWORD=true | ||
| 191 | |||
| 192 | |||
| 193 | (% style="line-height: 1.38;" %) | ||
| 194 | (% style="background-color:#333333; color:#fc9b9b; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#(% style="background-color:#333333; color:#888888; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)~#~#~#~#~#~#~#~#~#~# Adresse de redirection après la déconnexion | ||
| 195 | |||
| 196 | (% style="line-height: 1.38;" %) | ||
| 197 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)#ddenterpriseapi.urlLogout=http:~/~/localhost:8080 | ||
| 198 | ))) | ||
| 199 | ))) | ||
| 200 | |||
| 201 | (% style="font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Créer les fichiers de logs à la racine du répertoire digdash :(% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; text-decoration:none; white-space:pre-wrap" %)**E** | ||
| 202 | |||
| 203 | === log4j2_api.properties === | ||
| 204 | |||
| 205 | (% style="line-height:1.38" %) | ||
| 206 | (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Créer le fichier log4j2_api.properties à la racine du répertoire. | ||
| 207 | |||
| 208 | (% style="line-height:1.38" %) | ||
| 209 | (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Copier le code suivant : | ||
| 210 | |||
| 211 | ((( | ||
| 212 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:1040px" %) | ||
| 213 | |(% style="background-color:#333333; padding:7px; vertical-align:top; width:1035px" %)((( | ||
| 214 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Niveau de log de log4j2 | ||
| 215 | status = warn | ||
| 216 | |||
| 217 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Variables emplacement et nom de la webapp | ||
| 218 | property.basePath = L:/logs | ||
| 219 | property.webAppName = ddenterpriseapi | ||
| 220 | property.shortWebAppName = ddapi | ||
| 221 | |||
| 222 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Definition du logger.app | ||
| 223 | logger.app.name = com.digdash | ||
| 224 | # Niveau de log de la webapplication trace, debug, info, warn, error, fatal | ||
| 225 | logger.app.level = debug | ||
| 226 | logger.app.additivity = false | ||
| 227 | |||
| 228 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Definition du appender RollingFile | ||
| 229 | appender.rolling.type = RollingFile | ||
| 230 | appender.rolling.name = RollingFile | ||
| 231 | appender.rolling.fileName = ${basePath}/${webAppName}.log | ||
| 232 | appender.rolling.filePattern = ${basePath}/${webAppName}-%i.log.gz | ||
| 233 | appender.rolling.layout.type = PatternLayout | ||
| 234 | appender.rolling.layout.pattern = %d %-5p [${shortWebAppName}] [%t] ~(%F:%L) - %m%n | ||
| 235 | appender.rolling.policies.type = Policies | ||
| 236 | appender.rolling.policies.size.type = SizeBasedTriggeringPolicy | ||
| 237 | appender.rolling.policies.size.size = 200MB | ||
| 238 | appender.rolling.strategy.type = DefaultRolloverStrategy | ||
| 239 | appender.rolling.strategy.max = 15 | ||
| 240 | |||
| 241 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Liaison du logger.app au appender RollingFile | ||
| 242 | logger.app.appenderRef.rolling.ref = RollingFile | ||
| 243 | ))) | ||
| 244 | ))) | ||
| 245 | |||
| 246 | === log4j2_dash.properties === | ||
| 247 | |||
| 248 | (% style="line-height:1.38" %) | ||
| 249 | (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Créer le fichier log4j2_dash.properties à la racine du répertoire. | ||
| 250 | |||
| 251 | (% style="line-height:1.38" %) | ||
| 252 | (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Copier le code suivant: | ||
| 253 | |||
| 254 | ((( | ||
| 255 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:1040px" %) | ||
| 256 | |(% style="background-color:#333333; padding:7px 7px 7px 7px; vertical-align:top" %)((( | ||
| 257 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Niveau de log de log4j2 | ||
| 258 | status = warn | ||
| 259 | |||
| 260 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Variables emplacement et nom de la webapp | ||
| 261 | property.basePath = L:/logs | ||
| 262 | property.webAppName = dashboard | ||
| 263 | property.shortWebAppName = dash | ||
| 264 | |||
| 265 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Definition du logger.app | ||
| 266 | logger.app.name = com.digdash | ||
| 267 | # Niveau de log de la webapplication trace, debug, info, warn, error, fatal | ||
| 268 | logger.app.level = debug | ||
| 269 | logger.app.additivity = false | ||
| 270 | |||
| 271 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Definition du appender RollingFile | ||
| 272 | appender.rolling.type = RollingFile | ||
| 273 | appender.rolling.name = RollingFile | ||
| 274 | appender.rolling.fileName = ${basePath}/${webAppName}.log | ||
| 275 | appender.rolling.filePattern = ${basePath}/${webAppName}-%i.log.gz | ||
| 276 | appender.rolling.layout.type = PatternLayout | ||
| 277 | appender.rolling.layout.pattern = %d %-5p [${shortWebAppName}] [%t] ~(%F:%L) - %m%n | ||
| 278 | appender.rolling.policies.type = Policies | ||
| 279 | appender.rolling.policies.size.type = SizeBasedTriggeringPolicy | ||
| 280 | appender.rolling.policies.size.size = 200MB | ||
| 281 | appender.rolling.strategy.type = DefaultRolloverStrategy | ||
| 282 | appender.rolling.strategy.max = 15 | ||
| 283 | |||
| 284 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Liaison du logger.app au appender RollingFile | ||
| 285 | logger.app.appenderRef.rolling.ref = RollingFile | ||
| 286 | ))) | ||
| 287 | ))) | ||
| 288 | |||
| 289 | === log4j2_studio.properties === | ||
| 290 | |||
| 291 | (% style="line-height:1.38" %) | ||
| 292 | (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Créer le fichier log4j2_studio.properties à la racine du répertoire. | ||
| 293 | |||
| 294 | (% style="line-height:1.38" %) | ||
| 295 | (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Copier le code suivant: | ||
| 296 | |||
| 297 | ((( | ||
| 298 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:1040px" %) | ||
| 299 | |(% style="background-color:#333333; padding:7px 7px 7px 7px; vertical-align:top" %)((( | ||
| 300 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) Niveau de log de log4j2 | ||
| 301 | status = warn | ||
| 302 | |||
| 303 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Variables emplacement et nom de la webapp | ||
| 304 | property.basePath = L:/logs | ||
| 305 | property.webAppName = studio | ||
| 306 | property.shortWebAppName = studio | ||
| 307 | |||
| 308 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Definition du logger.app | ||
| 309 | logger.app.name = com.digdash | ||
| 310 | # Niveau de log de la webapplication trace, debug, info, warn, error, fatal | ||
| 311 | logger.app.level = debug | ||
| 312 | logger.app.additivity = false | ||
| 313 | |||
| 314 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Definition du appender RollingFile | ||
| 315 | appender.rolling.type = RollingFile | ||
| 316 | appender.rolling.name = RollingFile | ||
| 317 | appender.rolling.fileName = ${basePath}/${webAppName}.log | ||
| 318 | appender.rolling.filePattern = ${basePath}/${webAppName}-%i.log.gz | ||
| 319 | appender.rolling.layout.type = PatternLayout | ||
| 320 | appender.rolling.layout.pattern = %d %-5p [${shortWebAppName}] [%t] ~(%F:%L) - %m%n | ||
| 321 | appender.rolling.policies.type = Policies | ||
| 322 | appender.rolling.policies.size.type = SizeBasedTriggeringPolicy | ||
| 323 | appender.rolling.policies.size.size = 200MB | ||
| 324 | appender.rolling.strategy.type = DefaultRolloverStrategy | ||
| 325 | appender.rolling.strategy.max = 15 | ||
| 326 | |||
| 327 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)# Liaison du logger.app au appender RollingFile | ||
| 328 | logger.app.appenderRef.rolling.ref = RollingFile | ||
| 329 | ))) | ||
| 330 | ))) | ||
| 331 | |||
| 332 | == Déploiement des WebApps == | ||
| 333 | |||
| 334 | 1. Aller dans <DD Install>\apache-tomcat\webapps et copier les webapps de DigDash et le répertoire ROOT dans E:/digdash/webapps/default. | ||
| 335 | 1. Supprimer le war adswrapper.war | ||
| 336 | |||
| 337 | == Installation Microsoft JDK 11 (optionnel si déjà installé) == | ||
| 338 | |||
| 339 | 1. Télécharger Microsoft JDK 11 : [[https:~~/~~/docs.microsoft.com/fr-fr/java/openjdk/download>>url:https://docs.microsoft.com/fr-fr/java/openjdk/download]] ou utiliser le binaire disponible dans le Zip d’installation partenaire_installation_initial.zip. | ||
| 340 | 1. Lancer l’installation. | ||
| 341 | |||
| 342 | (% class="box warningmessage" %) | ||
| 343 | ((( | ||
| 344 | Rappel : Actuellement, la version 17 de java n'est pas supportée et ne fonctionnera pas | ||
| 345 | ))) | ||
| 346 | |||
| 347 | (% class="box infomessage" %) | ||
| 348 | ((( | ||
| 349 | Pour vérifier que l'installation a réussie, aller dans l'invite de commandes et taper : java -version [[image:1674047814503-785.png]] | ||
| 350 | ))) | ||
| 351 | |||
| 352 | |||
| 353 | == Installation de Tomcat 9{{id name="Tomcat_windows"/}} == | ||
| 354 | |||
| 355 | ((( | ||
| 356 | 1. Télécharger TomCat 9 : [[https:~~/~~/tomcat.apache.org/download-90.cgi>>url:https://tomcat.apache.org/download-90.cgi]] (Binary Distributions - > Core -> 32-bit/64-bit Windows Service Installer). | ||
| 357 | 1. Lancer apache-tomcat-9.X.XX.exe. | ||
| 358 | 1. Accepter le contrat de licence. | ||
| 359 | 1. Choisir le composant Tomcat (Service Startup & Native) et le Start Menu Item. | ||
| 360 | (% style="border:none; color:#000000; display:inline-block; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; height:243px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:312px" %)[[image:Tomcat1||data-xwiki-image-style-alignment="start"]] | ||
| 361 | ))) | ||
| 362 | |||
| 363 | (% start="5" %) | ||
| 364 | 1. Laisser les paramètres de configuration par défaut. | ||
| 365 | |||
| 366 | (% style="line-height: 1.38; margin-left: 48px;" %) | ||
| 367 | (% style="border:none; color:#000000; display:inline-block; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; height:215px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:315px" %)[[image:Tomcat2.png]] | ||
| 368 | |||
| 369 | (% start="6" %) | ||
| 370 | 1. Renseigner le chemin de l’installation de l’openjdk installé à l’étape 1. | ||
| 371 | |||
| 372 | (% style="line-height: 1.38; margin-left: 48px;" %) | ||
| 373 | (% style="border:none; color:#000000; display:inline-block; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; height:226px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:350px" %)[[image:Tomcat3.png]] | ||
| 374 | |||
| 375 | (% start="7" %) | ||
| 376 | 1. Définir le répertoire d’installation de TomCat 9. | ||
| 377 | |||
| 378 | (% style="line-height: 1.38; margin-left: 48px;" %) | ||
| 379 | (% style="border:none; color:#000000; display:inline-block; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; height:265px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:352px" %)[[image:Tomcat4.png]] | ||
| 380 | |||
| 381 | (% start="8" %) | ||
| 382 | 1. Lancer l’installation de TomCat 9. | ||
| 383 | 1. Lancer la page [[http:~~/~~/localhost:8080>>url:http://localhost:8080]] afin de vérifier le bon fonctionnement de TomCat. | ||
| 384 | 1. Aller dans le répertoire d’installation de TomCat 9 puis dans le répertoire bin et lancer tomcat9w.exe. | ||
| 385 | 1. ((( | ||
| 386 | Modifier les paramètres dans l’onglet Java. | ||
| 387 | [[image:Tomcat5.png]]* | ||
| 388 | |||
| 389 | ((( | ||
| 390 | * Adapter les chemins aux futurs répertoires digdash : | ||
| 391 | Ddigdash.properties.path=E:\digdash\digdash.properties | ||
| 392 | |||
| 393 | ))) | ||
| 394 | |||
| 395 | * Pour que les caractères spéciaux soient bien pris en compte, ajouter le paramètre **-Dfile.encoding=UTF-8 **à la fin de la variable JAVA_OPTS comme ci-dessous : | ||
| 396 | [[image:Dfile.png]] | ||
| 397 | |||
| 398 | |||
| 399 | ))) | ||
| 400 | |||
| 401 | (% class="box warningmessage" style="line-height: 1.38;" %) | ||
| 402 | ((( | ||
| 403 | (% style="color:#ff0000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:700; text-decoration:none; white-space:pre-wrap" %)**Important : Ne pas oublier d’augmenter la mémoire du tomcat**(%%) | ||
| 404 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Mettre la même valeur dans les champs “Initial memory” et “Maximum memory pool” en MB (exemple : “3000”) | ||
| 405 | ))) | ||
| 406 | |||
| 407 | (% style="color:#000000; font-family:Arial; font-size:16pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)server.xml | ||
| 408 | |||
| 409 | 1. Ouvrir le fichier server.xml présent dans le répertoire \Apache Software Foundation\Tomcat 9.0\conf. | ||
| 410 | |||
| 411 | ((( | ||
| 412 | (% cellspacing="0" class="table-bordered" style="border-collapse:collapse; border:none; width:1040px" %) | ||
| 413 | |(% style="background-color:#333333; padding:7px; vertical-align:top; width:1007px" %)((( | ||
| 414 | (% style="line-height: 1.38;" %) | ||
| 415 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)<(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Connector**(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) port=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"8080"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) protocol=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"HTTP/1.1"(%%) | ||
| 416 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) connectionTimeout=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"20000"(%%) | ||
| 417 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) maxConnections=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"30000"(%%) | ||
| 418 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) maxParameterCount=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"100000" | ||
| 419 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) maxThreads=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"10000"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) maxPostSize=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"62914560"(%%) | ||
| 420 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) redirectPort=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"8443"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) compression=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"on"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) /> | ||
| 421 | ))) | ||
| 422 | |||
| 423 | [[image:Tomcat6.png]] | ||
| 424 | ))) | ||
| 425 | |||
| 426 | (% start="2" %) | ||
| 427 | 1. Remplacer le chemin des webapp à déployer. | ||
| 428 | |||
| 429 | ((( | ||
| 430 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:1040px" %) | ||
| 431 | |(% style="background-color:#333333; padding:7px 7px 7px 7px; vertical-align:top" %)((( | ||
| 432 | (% style="line-height:1.38" %) | ||
| 433 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)<(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Host**(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) name=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"localhost"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) appBase=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"E:/digdash/webapps/default"(%%) | ||
| 434 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) unpackWARs=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"true"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) autoDeploy=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"true"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)>(%%) | ||
| 435 | (% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)<(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Alias**(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)>(% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)digdash.client.com(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)</(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Alias**(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)> | ||
| 436 | ))) | ||
| 437 | ))) | ||
| 438 | |||
| 439 | (% start="3" %) | ||
| 440 | 1. Ajouter la valve de log et la valve sécurisation à la suite. | ||
| 441 | |||
| 442 | ((( | ||
| 443 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:1040px" %) | ||
| 444 | |(% style="background-color:#333333; padding:7px 7px 7px 7px; vertical-align:top" %)((( | ||
| 445 | (% style="line-height:1.38" %) | ||
| 446 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)<(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Valve**(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) className=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"org.apache.catalina.valves.ErrorReportValve"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) showReport=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"false"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) showServerInfo=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"false"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) />(% style="background-color:#333333; color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) | ||
| 447 | |||
| 448 | |||
| 449 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)<(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Valve**(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) className=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"org.apache.catalina.valves.RemoteIpValve"(%%) | ||
| 450 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) internalProxies=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"127\.0\.[0-1]\.1"(%%) | ||
| 451 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) remoteIpHeader=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"X-Forwarded-For"(%%) | ||
| 452 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) requestAttributesEnabled=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"true"(%%) | ||
| 453 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) protocolHeader=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"X-Forwarded-Proto"(%%) | ||
| 454 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) protocolHeaderHttpsValue=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"https"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)/> | ||
| 455 | ))) | ||
| 456 | ))) | ||
| 457 | |||
| 458 | (% style="color:#000000; font-family:Arial; font-size:16pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)context.xml | ||
| 459 | |||
| 460 | 1. Ouvrir le fichier context.xml présent dans le répertoire \Apache Software Foundation\Tomcat 9.0\conf. | ||
| 461 | 1. Ajouter la balise XML suivante dans la section Context : | ||
| 462 | |||
| 463 | ((( | ||
| 464 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:1040px" %) | ||
| 465 | |(% style="background-color:#333333; padding:7px 7px 7px 7px; vertical-align:top" %)((( | ||
| 466 | (% style="line-height:1.38" %) | ||
| 467 | (% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)<(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Resources**(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) cachingAllowed=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"true"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) cacheMaxSize=(% style="background-color:#333333; color:#a2fca2; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)"100000"(% style="background-color:#333333; color:#62c8f3; font-family:Consolas,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)/> | ||
| 468 | ))) | ||
| 469 | |||
| 470 | == Installation d'OpenDJ (recommandé){{id name="OpenDJ"/}} == | ||
| 471 | ))) | ||
| 472 | |||
| 473 | === Paramétrage initial === | ||
| 474 | |||
| 475 | 1. Télécharger le fichier d'installation (**opendj-4.x.x.msi**) de OpenDJ à l’adresse suivante : [[__https:~~/~~/github.com/OpenIdentityPlatform/OpenDJ/releases__>>url:https://github.com/OpenIdentityPlatform/OpenDJ/releases]] | ||
| 476 | 1. Lancer l’installation en double-cliquant sur le fichier **opendj-4.x.x.msi**. | ||
| 477 | 1. Pour le répertoire d’installation, conserver l’emplacement par défaut (C:/Program Files (x86)/opendj). | ||
| 478 | 1. Aller dans le repertoire d’installation **C:\Program Files (x86)\OpenDJ** et lancer le “setup.bat” en tant qu’administrateur. | ||
| 479 | 1. Remplir les **Paramètres serveur** en veillant à enregistrer le mot de passe saisi. | ||
| 480 | [[image:Capture d’écran du 2024-01-23 09-17-28.png]] | ||
| 481 | |||
| 482 | 1. Dans les **Options de topologie**, laisser la valeur par défaut **Il s’agira d’un serveur autonome**. | ||
| 483 | [[image:Capture d’écran du 2024-01-23 09-09-00.png]] | ||
| 484 | |||
| 485 | 1. Remplir les **Données de répertoire** et cocher la case **Créer uniquement une entrée de base (dc=digdash,dc=com).** | ||
| 486 | [[image:OpenDJ7.png]] | ||
| 487 | |||
| 488 | 1. Vérifier les valeurs saisies et cocher **Exécuter le serveur en tant que service Windows. | ||
| 489 | [[image:Capture d’écran du 2024-01-23 09-11-07.png]]** | ||
| 490 | |||
| 491 | 1. Cliquez sur **Terminer**. | ||
| 492 | [[image:Capture d’écran du 2024-01-23 09-46-12.png]] | ||
| 493 | |||
| 494 | Quand l’installation est finie, vérifier si le service est lancé puis lancer un terminal en administrateur pour le paramétrage supplémentaire. | ||
| 495 | |||
| 496 | === Paramétrage supplémentaire === | ||
| 497 | |||
| 498 | 1. Se placer dans le répertoire d’installation d’openDJ((( | ||
| 499 | |(% style="background-color:black" %)(% style="color:#ffffff" %)cd C:\Program Files (x86)\OpenDJ\bat | ||
| 500 | ))) | ||
| 501 | 1. Les fichiers LDIF peuvent être téléchargés en cliquant sur le lien suivant [[LDIF_OpenDJ.zip>>attach:LDIF_OpenDJ.zip]]. | ||
| 502 | 1. Créer les organisations grâce au fichier “neworganisation.ldif” ci-dessous((( | ||
| 503 | |(% style="background-color:black" %)(% style="color:#ffffff" %)ldapmodify.bat ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 "C:\Users\digdash\Downloads\neworganisation.ldif" | ||
| 504 | |||
| 505 | |(% style="background-color:black" %)((( | ||
| 506 | (% style="color:#ffffff" %)dn: ou=default,dc=digdash,dc=com | ||
| 507 | |||
| 508 | (% style="color:#ffffff" %)objectClass: organizationalUnit | ||
| 509 | |||
| 510 | (% style="color:#ffffff" %)ou: default | ||
| 511 | ))) | ||
| 512 | ))) | ||
| 513 | |||
| 514 | (% start="4" %) | ||
| 515 | 1. Pour créer un vérificateur de mot de passe : | ||
| 516 | 1*. Utiliser la commande //dsconfig.bat//, puis se connecter avec les identifiants du Directory Manager et accepter les certificats. | ||
| 517 | 1*. Aller dans le menu 29 puis sélectionner “create a new Password Validator” > sélectionner “Character Set Password Validator” > saisir “Custom Character-set Password Validator” > “true” > “true” > puis configurer 4 character-set comme suit : ((( | ||
| 518 | |(% style="background-color:black" %)(% style="color:#ffffff" %)1:abcdefghijklmnopqrstuvwxyz | ||
| 519 | 1:ABCDEFGHIJKLMNOPQRSTUVWXYZ | ||
| 520 | 1:0123456789 | ||
| 521 | 1:!"#$%&'()*+,-./:;\<=>?@[]^_`{~|}~~ | ||
| 522 | |||
| 523 | ➡ Le résultat doit ressembler à cela : | ||
| 524 | [[image:Résultat.png]] | ||
| 525 | ))) | ||
| 526 | 1*. Une fois la configuration terminée, faire “finish” puis quitter le “dsconfig”. | ||
| 527 | |||
| 528 | (% start="5" %) | ||
| 529 | 1. Pour le second vérificateur de mot de passe, nous pouvons utiliser une ligne de commande car celle-ci ne contient pas de caractères spéciaux : ((( | ||
| 530 | |(% style="background-color:black" %)(% style="color:#ffffff" %)dsconfig create-password-validator ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 ~-~-validator-name "Custom length Password Validator" ~-~-set min-password-length:12 ~-~-set enabled:true ~-~-type length-based ~-~-no-prompt | ||
| 531 | ))) | ||
| 532 | |||
| 533 | (% start="6" %) | ||
| 534 | 1. Appliquer les deux vérificateurs de mot de passe : ((( | ||
| 535 | |(% style="background-color:black" %)(% style="color:#ffffff" %)dsconfig set-password-policy-prop ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 ~-~-policy-name "Default Password Policy" ~-~-set password-validator:"Custom Character-set Password Validator" ~-~-set password-validator:"Custom length Password Validator" ~-~-no-prompt | ||
| 536 | ))) | ||
| 537 | |||
| 538 | (% start="7" %) | ||
| 539 | 1. Définir la politique de mot de passe pour les utilisateurs grâce au fichier “ppolicy.ldif” ci-dessous((( | ||
| 540 | |(% style="background-color:black" %)(% style="color:#ffffff" %)ldapmodify.bat ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 "C:\Users\digdash\Downloads\ppolicy.ldif" | ||
| 541 | |||
| 542 | |(% style="background-color:black" %)((( | ||
| 543 | (% style="color:#ffffff" %)dn: cn=ppolicy,ou=default,dc=digdash,dc=com | ||
| 544 | |||
| 545 | (% style="color:#ffffff" %)objectClass: top | ||
| 546 | |||
| 547 | (% style="color:#ffffff" %)objectClass: subentry | ||
| 548 | |||
| 549 | (% style="color:#ffffff" %)objectClass: pwdPolicy | ||
| 550 | |||
| 551 | (% style="color:#ffffff" %)cn: ppolicy | ||
| 552 | |||
| 553 | (% style="color:#ffffff" %)pwdAttribute: userPassword | ||
| 554 | |||
| 555 | (% style="color:#ffffff" %)pwdAllowUserChange: TRUE | ||
| 556 | |||
| 557 | (% style="color:#ffffff" %)pwdCheckQuality: 1 | ||
| 558 | |||
| 559 | (% style="color:#ffffff" %)pwdExpireWarning: 600 | ||
| 560 | |||
| 561 | (% style="color:#ffffff" %)pwdFailureCountInterval: 30 | ||
| 562 | |||
| 563 | (% style="color:#ffffff" %)pwdGraceAuthNLimit: 5 | ||
| 564 | |||
| 565 | (% style="color:#ffffff" %)pwdInHistory: 5 | ||
| 566 | |||
| 567 | (% style="color:#ffffff" %)pwdLockout: TRUE | ||
| 568 | |||
| 569 | (% style="color:#ffffff" %)pwdLockoutDuration: 900 | ||
| 570 | |||
| 571 | (% style="color:#ffffff" %)pwdMaxAge: 0 | ||
| 572 | |||
| 573 | (% style="color:#ffffff" %)pwdMaxFailure: 5 | ||
| 574 | |||
| 575 | (% style="color:#ffffff" %)pwdMinAge: 0 | ||
| 576 | |||
| 577 | (% style="color:#ffffff" %)pwdMustChange: FALSE | ||
| 578 | |||
| 579 | (% style="color:#ffffff" %)pwdSafeModify: FALSE | ||
| 580 | |||
| 581 | (% style="color:#ffffff" %)subtreeSpecification: {base "ou=users", specificationFilter "!(uid=admin)" } | ||
| 582 | ))) | ||
| 583 | ))) | ||
| 584 | |||
| 585 | (% start="8" %) | ||
| 586 | 1. Définir une seconde politique de mot de passe pour l’admin grâce au fichier “ppolicy-admin.ldif” ci-dessous((( | ||
| 587 | |(% style="background-color:black" %)(% style="color:#ffffff" %)ldapmodify.bat ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 "C:\Users\digdash\Downloads\ppolicy-admin.ldif" | ||
| 588 | |||
| 589 | |(% style="background-color:black" %)((( | ||
| 590 | (% style="color:#ffffff" %)dn: cn=ppolicy-admin,ou=default,dc=digdash,dc=com | ||
| 591 | |||
| 592 | (% style="color:#ffffff" %)objectClass: top | ||
| 593 | |||
| 594 | (% style="color:#ffffff" %)objectClass: subentry | ||
| 595 | |||
| 596 | (% style="color:#ffffff" %)objectClass: pwdPolicy | ||
| 597 | |||
| 598 | (% style="color:#ffffff" %)cn: ppolicy-admin | ||
| 599 | |||
| 600 | (% style="color:#ffffff" %)pwdAttribute: userPassword | ||
| 601 | |||
| 602 | (% style="color:#ffffff" %)pwdAllowUserChange: TRUE | ||
| 603 | |||
| 604 | (% style="color:#ffffff" %)pwdCheckQuality: 1 | ||
| 605 | |||
| 606 | (% style="color:#ffffff" %)pwdFailureCountInterval: 30 | ||
| 607 | |||
| 608 | (% style="color:#ffffff" %)pwdGraceAuthNLimit: 5 | ||
| 609 | |||
| 610 | (% style="color:#ffffff" %)pwdInHistory: 5 | ||
| 611 | |||
| 612 | (% style="color:#ffffff" %)pwdLockout: FALSE | ||
| 613 | |||
| 614 | (% style="color:#ffffff" %)pwdMaxAge: 0 | ||
| 615 | |||
| 616 | (% style="color:#ffffff" %)pwdMinAge: 0 | ||
| 617 | |||
| 618 | (% style="color:#ffffff" %)pwdMustChange: FALSE | ||
| 619 | |||
| 620 | (% style="color:#ffffff" %)pwdSafeModify: FALSE | ||
| 621 | |||
| 622 | (% style="color:#ffffff" %)subtreeSpecification: {base "ou=users", specificationFilter "(uid=admin)" } | ||
| 623 | ))) | ||
| 624 | ))) | ||
| 625 | |||
| 626 | (% start="9" %) | ||
| 627 | 1. Modifier la politique de mot de passe pour autoriser les mots de passe pré encodés (utile pour les restaurations dans digdash).((( | ||
| 628 | |(% style="background-color:black" %)(% style="color:#ffffff" %)dsconfig.bat set-password-policy-prop ~-~-policy-name "Default Password Policy" ~-~-set allow-pre-encoded-passwords:true ~-~-hostname localhost ~-~-trustAll ~-~-bindDN "cn=directory manager" ~-~-bindPassword adminOpenDJ1 ~-~-no-prompt | ||
| 629 | ))) | ||
| 630 | 1. Créer un utilisateur admin pour digdash via le fichier “create_user_admin.ldif” ci-dessous :((( | ||
| 631 | |(% style="background-color:black" %)(% style="color:#ffffff" %)ldapmodify.bat ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 "C:\Users\digdash\Downloads\create_user_admin.ldif" | ||
| 632 | |||
| 633 | |(% style="background-color:black" %)((( | ||
| 634 | (% style="color:#ffffff" %)dn: uid=admin,ou=default,dc=digdash,dc=com | ||
| 635 | |||
| 636 | (% style="color:#ffffff" %)objectClass: shadowAccount | ||
| 637 | |||
| 638 | (% style="color:#ffffff" %)objectClass: inetOrgPerson | ||
| 639 | |||
| 640 | (% style="color:#ffffff" %)cn: Admin Domain Default | ||
| 641 | |||
| 642 | (% style="color:#ffffff" %)sn: Default | ||
| 643 | |||
| 644 | (% style="color:#ffffff" %)uid: admin_default | ||
| 645 | ))) | ||
| 646 | ))) | ||
| 647 | |||
| 648 | (% start="11" %) | ||
| 649 | 1. Lui affecter les droits nécessaires en utilisant les fichiers “add_admin_right.ldif” et “add_admin_right2.ldif” ci-dessous((( | ||
| 650 | |(% style="background-color:black" %)(% style="color:#ffffff" %)ldapmodify.bat ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 "C:\Users\digdash\Downloads\add_admin_right.ldif" | ||
| 651 | |||
| 652 | |(% style="background-color:black" %)((( | ||
| 653 | (% style="color:#ffffff" %)dn: ou=default,dc=digdash,dc=com | ||
| 654 | |||
| 655 | (% style="color:#ffffff" %)changetype: modify | ||
| 656 | |||
| 657 | (% style="color:#ffffff" %)add: aci | ||
| 658 | |||
| 659 | (% style="color:#ffffff" %)aci: (target ="ldap:~/~//ou=default,dc=digdash,dc=com")(targetattr = "userpassword || shadowlastchange")(version 3.0; acl "allow write on userpassword and shadowlastchange for admin"; allow(write) (userdn = "ldap:~/~//uid=admin,ou=default,dc=digdash,dc=com"){{{;)}}} | ||
| 660 | |||
| 661 | (% style="color:#ffffff" %)aci: (target ="ldap:~/~//ou=default,dc=digdash,dc=com")(targetattr = "userpassword || shadowlastchange")(version 3.0; acl "allow read,write on userpassword and shadowlastchange for auth users"; allow(read) (userdn = "ldap:~/~//all"){{{;)}}} | ||
| 662 | |||
| 663 | |||
| 664 | (% style="color:#ffffff" %)aci: (target ="ldap:~/~//ou=default,dc=digdash,dc=com")(targetattr = "userpassword || shadowlastchange")(version 3.0; acl "allow read on userpassword and shadowlastchange for anonymous"; allow(selfwrite) (userdn = "ldap:~/~//anyone"){{{;)}}} | ||
| 665 | |||
| 666 | |||
| 667 | (% style="color:#ffffff" %)aci: (target ="ldap:~/~//ou=default,dc=digdash,dc=com")(targetattr = "*")(version 3.0; acl "allow write on * for admin"; allow(all) (userdn = "ldap:~/~//uid=admin,ou=default,dc=digdash,dc=com"){{{;)}}} | ||
| 668 | |||
| 669 | |||
| 670 | (% style="color:#ffffff" %)aci: (target ="ldap:~/~//ou=default,dc=digdash,dc=com")(targetattr = "*")(version 3.0; acl "allow read on * for anonymous"; allow(read) (userdn = "ldap:~/~//all"){{{;)}}} | ||
| 671 | ))) | ||
| 672 | |||
| 673 | |(% style="background-color:black" %)(% style="color:#ffffff" %)ldapmodify.bat ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 "C:\Users\digdash\Downloads\add_admin_right2.ldif" | ||
| 674 | |||
| 675 | |(% style="background-color:black" %)((( | ||
| 676 | (% style="color:#ffffff" %)dn: uid=admin,ou=default,dc=digdash,dc=com | ||
| 677 | |||
| 678 | (% style="color:#ffffff" %)changetype: modify | ||
| 679 | |||
| 680 | (% style="color:#ffffff" %)add: ds-privilege-name | ||
| 681 | |||
| 682 | (% style="color:#ffffff" %)ds-privilege-name: config-read | ||
| 683 | |||
| 684 | (% style="color:#ffffff" %)ds-privilege-name: password-reset | ||
| 685 | |||
| 686 | (% style="color:#ffffff" %)ds-privilege-name: unindexed-search | ||
| 687 | ))) | ||
| 688 | ))) | ||
| 689 | |||
| 690 | (% start="12" %) | ||
| 691 | 1. Générer un mot de passe pour l’administrateur et le conserver en mémoire pour plus tard((( | ||
| 692 | |(% style="background-color:black" %)((( | ||
| 693 | (% style="color:#ffffff" %)ldappasswordmodify.bat ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 ~-~-authzID "uid=admin,ou=default,dc=digdash,dc=com" | ||
| 694 | ))) | ||
| 695 | ))) | ||
| 696 | |||
| 697 | (% class="box infomessage" %) | ||
| 698 | ((( | ||
| 699 | 💡 Si l'on souhaite définir son propre mot de passe pour l'utilisateur admin, il faut utiliser une variante de la commande précédente : | ||
| 700 | |||
| 701 | {{code language="shell"}} | ||
| 702 | ldappasswordmodify.bat --port 389 --bindDN "cn=Directory Manager" --bindPassword "adminOpenDJ1" --authzID "uid=admin,ou=default,dc=digdash,dc=com" --newPassword "mdpAdmin" | ||
| 703 | {{/code}} | ||
| 704 | ))) | ||
| 705 | |||
| 706 | |||
| 707 | === Fonction utile === | ||
| 708 | |||
| 709 | L'opération ci-dessous ne fait pas partie de l'installation. | ||
| 710 | Il peut néanmoins être utile de la connaître pour une utilisation ultérieure. | ||
| 711 | |||
| 712 | ==== Étendre la limite pour les recherches LDAP ==== | ||
| 713 | |||
| 714 | Il est possible d'étendre la limite de recherche du LDAP à plus de 1000 utilisateurs avec le fichier “extend_search_limit.ldif” ci-dessous | ||
| 715 | |||
| 716 | |(% style="background-color:black" %)(% style="color:#ffffff" %)ldapmodify.bat ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 "C:\Users\digdash\Downloads\extend_search_limit.ldif" | ||
| 717 | |||
| 718 | |(% style="background-color:black" %)((( | ||
| 719 | (% style="color:#ffffff" %)dn: uid=admin,ou=default,dc=digdash,dc=com | ||
| 720 | |||
| 721 | (% style="color:#ffffff" %)changetype: modify | ||
| 722 | |||
| 723 | (% style="color:#ffffff" %)add: ds-rlim-size-limit | ||
| 724 | |||
| 725 | (% style="color:#ffffff" %)ds-rlim-size-limit: 10000 | ||
| 726 | ))) | ||
| 727 | |||
| 728 | == Installation de OpenLDAP (Non recommandé) == | ||
| 729 | |||
| 730 | (% class="box warningmessage" %) | ||
| 731 | ((( | ||
| 732 | ❗** (% style="text-align:center" %)Si possible, préférez l’utilisation d’OpenDJ plutôt qu’OpenLDAP (%%)**❗ | ||
| 733 | ))) | ||
| 734 | |||
| 735 | === Exécution de l’installer === | ||
| 736 | |||
| 737 | (% style="line-height:1.2; text-indent:0.15354330708661657pt; text-align:justify" %) | ||
| 738 | Télécharger le fichier : [[https:~~/~~/www.maxcrc.de/en/download-en/>>url:https://www.maxcrc.de/en/download-en/]] | ||
| 739 | |||
| 740 | Documentation de référence : [[https:~~/~~/www.maxcrc.de/en/openldap-for-windows-installation-en/>>url:https://www.maxcrc.de/en/openldap-for-windows-installation-en/]] | ||
| 741 | |||
| 742 | (% style="line-height: 1.38;" %) | ||
| 743 | (% style="border:none; color:#000000; display:inline-block; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; height:143px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:602px" %)[[image:OpenLDAP0.png]] | ||
| 744 | |||
| 745 | 1. Lancer le .exe. | ||
| 746 | (% style="border:none; color:#000000; display:inline-block; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; height:228px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:340px" %)[[image:OpenLDAP1.png]] | ||
| 747 | 1. Accepter la licence. | ||
| 748 | 1. Sélectionner le répertoire de destination. | ||
| 749 | 1. Laisser la personnalisation de la configuration sélectionnée par défaut. | ||
| 750 | [[image:OpenLDAP2.png]] | ||
| 751 | |||
| 752 | 1. Définir l’adresse du server name/IP Address en 127.0.0.1 | ||
| 753 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)[[image:OpenLDAP3.png]](%%) | ||
| 754 | \\Définir un mot de passe fort pour le Password : éviter les coats (“; “) dans le mot de passe | ||
| 755 | |||
| 756 | 1. Choisir le format BDB. | ||
| 757 | (% style="border:none; color:#000000; display:inline-block; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; height:225px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:340px" %)[[image:OpenLDAP4.png]](%%) | ||
| 758 | |||
| 759 | 1. Définir un mot de passe ROOT fort : éviter les coats (“; “) dans le mot de passe. | ||
| 760 | (% style="color:#36525b; font-family:~"Open Sans~",sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)[[image:OpenLDAP5.png]](%%) | ||
| 761 | |||
| 762 | 1. Lancer l’installation. | ||
| 763 | 1. Vérifier si le service est bien lancé. | ||
| 764 | [[image:OpenLDAP6.png]] | ||
| 765 | |||
| 766 | 1. Arrêter le service OpenLDAP. | ||
| 767 | 1. Accéder au dossier d’installation. | ||
| 768 | 1. Ouvrir le fichier slapd.conf. | ||
| 769 | [[image:OpenLDAP7.png]] | ||
| 770 | |||
| 771 | 1. Récupérer le mot de passe ROOT. | ||
| 772 | [[image:1699544963490-838.png||queryString="width=535&height=149" height="149" width="535"]] | ||
| 773 | 1. Récupérer le dossier des fichiers OpenLDAP ici : [[Fichier zip>>attach:openldap -Fichier config.zip]]. | ||
| 774 | \\[[image:OpenLDAP9.png]] | ||
| 775 | 1. Ouvrir le fichier slapd. | ||
| 776 | 1. Remplacer le mot de passe ROOT par celui sauvegardé à l’étape précédente. | ||
| 777 | 1. Copier le fichier slapd et le dossier ldifdata dans le répertoire d’installation de l’OPENLDAP. | ||
| 778 | 1. Relancer le service LDAP. | ||
| 779 | |||
| 780 | === Vérification du fonctionnement de l’OpenLDAP et création du domaine digdash et du compte admin === | ||
| 781 | |||
| 782 | 1. Ouvrir une console Windows en mode administrateur | ||
| 783 | 1. Accéder au répertoire d'installation en ligne de commande ( cd MonRepertoireDinstallation) | ||
| 784 | 1. Vérifier le lancement du OpenLDAP : | ||
| 785 | |||
| 786 | {{code language="shell"}} | ||
| 787 | ClientTools\ldapsearch.exe -H ldap://localhost -D cn=admin,dc=digdash,dc=com -x -W | ||
| 788 | {{/code}} | ||
| 789 | |||
| 790 | (% start="4" %) | ||
| 791 | 1. Créer l’organisation digdash | ||
| 792 | |||
| 793 | {{code language="shell"}} | ||
| 794 | ClientTools\ldapmodify -H ldap://localhost -D cn=admin,dc=digdash,dc=com -x -W -f ldifdata\neworganization.ldif | ||
| 795 | {{/code}} | ||
| 796 | |||
| 797 | (% start="5" %) | ||
| 798 | 1. Définir la politique de password | ||
| 799 | |||
| 800 | {{code language="shell"}} | ||
| 801 | ClientTools\ldapmodify -H ldap://localhost -D cn=admin,dc=digdash,dc=com -x -W -f ldifdata\ppolicy-defaut.ldif | ||
| 802 | {{/code}} | ||
| 803 | |||
| 804 | (% start="6" %) | ||
| 805 | 1. Créer le user admin | ||
| 806 | |||
| 807 | {{code language="shell"}} | ||
| 808 | ClientTools\ldapmodify -H ldap://localhost -D cn=admin,dc=digdash,dc=com -x -W -f ldifdata\create_user_admin.ldif | ||
| 809 | {{/code}} | ||
| 810 | |||
| 811 | (% start="7" %) | ||
| 812 | 1. Créer le mot de passe admin | ||
| 813 | |||
| 814 | {{code language="shell"}} | ||
| 815 | ClientTools\ldappasswd -H ldap://localhost -D cn=admin,dc=digdash,dc=com -x -W -S "uid=admin,ou=default,dc=digdash,dc=com" | ||
| 816 | {{/code}} | ||
| 817 | |||
| 818 | (% start="8" %) | ||
| 819 | 1. Relancer OPENLDAP pour s’assurer du bon fonctionnement. | ||
| 820 | |||
| 821 | === Fonction utile === | ||
| 822 | |||
| 823 | L'opération ci-dessous ne fait pas partie de l'installation. | ||
| 824 | Il peut néanmoins être utile de la connaître pour une utilisation ultérieure. | ||
| 825 | |||
| 826 | ==== Étendre la limite pour les recherches LDAP ==== | ||
| 827 | |||
| 828 | 1. Accéder au dossier d’installation. | ||
| 829 | 1. Ouvrir le fichier slapd.conf. | ||
| 830 | [[image:OpenLDAP7.png]] | ||
| 831 | 1. Ajouter la ligne : | ||
| 832 | |||
| 833 | {{{sizelimit 10000}}} | ||
| 834 | |||
| 835 | == Installation de MariaDB{{id name="DB_windows"/}} == | ||
| 836 | |||
| 837 | PostgreSQL et MySQL sont aussi compatibles. | ||
| 838 | |||
| 839 | === Exécution de l’installer === | ||
| 840 | |||
| 841 | 1. (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Accéder au site (%%)[[(% style="-webkit-text-decoration-skip:none; color:#1155cc; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration-skip-ink:none; text-decoration:underline; white-space:pre-wrap" %)__https:~~/~~/mariadb.com/downloads/__>>url:https://mariadb.com/downloads/||style="text-decoration:none"]](% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %) et télécharger la dernière version du logiciel en choisissant comme OS : MS Windows (64-bit)(%%) | ||
| 842 | [[image:MariaDB.png]] | ||
| 843 | |||
| 844 | 1. (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Exécuter le fichier .msi pour lancer l’installation et cliquer sur suivant(%%) | ||
| 845 | [[image:MariaDB2.png]] | ||
| 846 | |||
| 847 | 1. (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Choisir le mot de passe root de la base de données : | ||
| 848 | [[image:MariaSettings.png]] | ||
| 849 | 1. (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Cliquer sur suivant et installer MariaDB(%%) | ||
| 850 | [[image:MariaDB4.png]] | ||
| 851 | 1. (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Vérifier la sécurité du dossier C:/Program Files/MariaDB 10.10 pour ne donner que les droits : Lecture et exécution; affichage du contenu du dossier; lecture aux utilisateurs.(%%) | ||
| 852 | [[image:MariaDB5.png]] | ||
| 853 | |||
| 854 | === Configuration des bases de données === | ||
| 855 | |||
| 856 | 1. (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Ouvrir l’invite de commande en tant qu’administrateur et lancer MariaDB | ||
| 857 | |||
| 858 | {{code language="c"}} | ||
| 859 | cd "C:/Program Files/MariaDB 10.9/bin" | ||
| 860 | mariadb.exe -u root -p | ||
| 861 | {{/code}} | ||
| 862 | |||
| 863 | [[image:MariaDB6.png||queryString="width=704&height=215" height="215" width="704"]] | ||
| 864 | |||
| 865 | (% start="2" %) | ||
| 866 | 1. (% style="font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Créer les bases de données nécessaires domaine_module (exemple de domaine : default, dev, prod) | ||
| 867 | |||
| 868 | {{code language="shell"}} | ||
| 869 | CREATE DATABASE default_ddaudit; | ||
| 870 | CREATE DATABASE default_comment; | ||
| 871 | CREATE DATABASE default_ddentry; | ||
| 872 | {{/code}} | ||
| 873 | |||
| 874 | (% class="wikigeneratedid" %) | ||
| 875 | [[image:MariaDB7.png]] | ||
| 876 | |||
| 877 | === Création des utilisateurs et assignation des droits === | ||
| 878 | |||
| 879 | 1. Créer un utilisateur pour chaque base de données domaine_user_module | ||
| 880 | |||
| 881 | {{code language="shell"}} | ||
| 882 | #Le mot de passe “mynewpassword” est à changer | ||
| 883 | |||
| 884 | CREATE USER 'default_user_ddaudit'@'localhost' IDENTIFIED BY 'mynewpassword'; | ||
| 885 | CREATE USER 'default_user_comment'@'localhost' IDENTIFIED BY 'mynewpassword'; | ||
| 886 | CREATE USER 'default_user_ddentry'@'localhost' IDENTIFIED BY 'mynewpassword'; | ||
| 887 | {{/code}} | ||
| 888 | |||
| 889 | 1. Attribuer les droits aux utilisateurs sur les bases de données | ||
| 890 | |||
| 891 | {{code language="shell"}} | ||
| 892 | GRANT ALL PRIVILEGES ON default_comment.* TO 'default_user_comment'@'localhost'; | ||
| 893 | GRANT ALL PRIVILEGES ON default_ddaudit.* TO 'default_user_ddaudit'@'localhost'; | ||
| 894 | GRANT ALL PRIVILEGES ON default_ddentry.* TO 'default_user_ddentry'@'localhost'; | ||
| 895 | {{/code}} | ||
| 896 | |||
| 897 | === Mise à jour de MariaDB === | ||
| 898 | |||
| 899 | Pour une mise à jour mineure (10.10.1 vers 10.10.2 par exemple), il faut : | ||
| 900 | |||
| 901 | 1. S’assurer via la release note de la nouvelle version, qu’il n’ y pas à se préoccuper des données | ||
| 902 | 1. Télécharger la nouvelle version (exemple : 10.10.2) et l’exécuter, la mise à jour devrait se faire automatiquement | ||
| 903 | 1. Redémarrer le serveur MariaDB | ||
| 904 | |||
| 905 | = Configuration DigDash après installation = | ||
| 906 | |||
| 907 | == Lancement de Digdash == | ||
| 908 | |||
| 909 | 1. Redémarrer le Service Tomcat. | ||
| 910 | 1. Ouvrir le répertoire d'installation de Tomcat (\Apache Software Foundation\Tomcat 9.0\bin\Tomcat9w.exe), puis double cliquer sur le fichier Tomcat9w.exe, cliquer sur Stop et Start. | ||
| 911 | 1. Vérifier le déploiement des war dans le dossier d’installation E:/digdash/webapps/default. | ||
| 912 | [[image:Vérif_déploiement_war.png]] | ||
| 913 | |||
| 914 | (% start="4" %) | ||
| 915 | 1. Accéder à DigDash sur l’adresse suivante : [[http:~~/~~/localhost:8080/adminconsole>>url:http://localhost:8080/adminconsole]] | ||
| 916 | Le login/ mot de passe sera admin/ admin. | ||
| 917 | [[image:homepagewithoutversion.png||alt="Page d'accueil" height="366" width="595"]] | ||
| 918 | |||
| 919 | == Branchement de Digdash au serveur OpenDJ (ou OpenLDAP) installé == | ||
| 920 | |||
| 921 | 1. Aller dans [[http:~~/~~/localhost:8080/adminconsole/>>http://localhost:8080/adminconsole/]], **Configuration -> Paramètres serveur -> Serveurs -> LDAP**. | ||
| 922 | |||
| 923 | * Port : 389 | ||
| 924 | * Utilisateur : uid=admin, ou=default,dc=digdash,dc=com | ||
| 925 | * Mot de passe : mot de passe admin de OpenDJ (ou OpenLDAP) | ||
| 926 | |||
| 927 | [[image:image (8).png]] | ||
| 928 | |||
| 929 | |||
| 930 | (% start="2" %) | ||
| 931 | 1. Cliquer ensuite sur Requêtes LDAP, et renseigner les champs comme ci-dessous : | ||
| 932 | |||
| 933 | [[image:image (9).png]] | ||
| 934 | |||
| 935 | == Modification du mot de passe superviseur et création du compte LDAP == | ||
| 936 | |||
| 937 | === Modification du mot de passe superviseur === | ||
| 938 | |||
| 939 | Aller dans **Configuration -> Paramètres serveur > Serveurs -> Serveur Enterprise** et entrer un nouveau mot de passe dans le champ **Mot de passe du Superviseur**. | ||
| 940 | [[image:Serveur_enterprise.png||alt="Serveur entreprise"]] | ||
| 941 | |||
| 942 | === Création du compte LDAP === | ||
| 943 | |||
| 944 | 1. Aller dans **Configuration -> Gestion des utilisateurs -> Utilisateurs**. | ||
| 945 | 1. Créer un nouvel utilisateur admin et lui attribuer tous les rôles et groupes d'autorisation. | ||
| 946 | 1. Dans le champ **Mot de passe**, entrer le nouveau mot de passe du superviseur défini ci-dessus. | ||
| 947 | |||
| 948 | [[image:MDP.png||alt="Utilisateur"]] | ||
| 949 | |||
| 950 | == Configuration des bases de données == | ||
| 951 | |||
| 952 | === Base de données Données d'audit === | ||
| 953 | |||
| 954 | Aller dans **Configuration -> Paramètres serveur -> Base de données -> Données d'audit** et renseigner ici l’URL, l’utilisateur et le mot de passe. | ||
| 955 | |||
| 956 | **URL **: //jdbc:mariadb:~/~/localhost:3306/default_ddaudit// | ||
| 957 | |||
| 958 | Cette solution permet de sécuriser l’accès à la base de données d'audit. | ||
| 959 | |||
| 960 | [[image:Données_audit.png||alt="Données d'audit"]] | ||
| 961 | |||
| 962 | === Base de données Commentaires === | ||
| 963 | |||
| 964 | Aller dans **Configuration -> Paramètres serveur -> Base de données -> Commentaires** et renseigner ici l’URL, l’utilisateur et le mot de passe. | ||
| 965 | |||
| 966 | **URL** ~:// jdbc:mariadb:~/~/localhost:3306/default_comment// | ||
| 967 | |||
| 968 | Cette solution permet de sécuriser l’accès à la base de données de commentaires. | ||
| 969 | |||
| 970 | [[image:Commentaires.png||alt="Commentaires"]] | ||
| 971 | |||
| 972 | === Base de données Saisie de données === | ||
| 973 | |||
| 974 | Aller dans **Configuration -> Paramètres serveur -> Base de données -> Saisie des données**. | ||
| 975 | |||
| 976 | Cocher la case **Activer la saisir de données** et sélectionner une base de données dans la liste déroulante. | ||
| 977 | |||
| 978 | [[image:Saisie_données.png||alt="Saisie de données"]] | ||
| 979 | |||
| 980 | Il faut, au préalable, avoir créé une connexion à la base de données depuis le **Gestionnaire des connexions aux de données** dans le Studio. Consultez la page [[Gestionnaire des connexions aux bases de données>>doc:Digdash.user_guide.studio.managers.dbconnections.WebHome]] pour plus de détails. | ||
| 981 | Entrer default.user.ddentry pour l'utilisateur et le mot de passe défini à l'étape précédente. | ||
| 982 | Le nom défini dans le champ **Nom de connexion **est celui qui apparaîtra dans la liste déroulante de sélection de la base de données. | ||
| 983 | |||
| 984 | (% style="line-height: 1.2; margin-bottom: 4px;" %) | ||
| 985 | == Services DigDash == | ||
| 986 | |||
| 987 | (% style="line-height:1.2; text-indent:0.15354330708661657pt; text-align:justify" %) | ||
| 988 | [[(% style="font-size:11pt; font-variant:normal; white-space:pre-wrap" %)__http:~~/~~/localhost:8080/ddenterpriseapi/serverstatus?adminDomain=adminconsole&serverDomain=ddenterpriseapi__>>url:http://localhost:8080/ddenterpriseapi/serverstatus?adminDomain=adminconsole&serverDomain=ddenterpriseapi||style="text-decoration:none"]] | ||
| 989 | |||
| 990 | Vérifier que les services DigDash sont activés et que la mémoire maximale est bien adaptée à la capacité du serveur, il faut laisser au moins 4 Go pour le système. | ||
| 991 | |||
| 992 | [[image:Etat_serveur.png]] |