Last modified by Aurelie Bertrand on 2024/11/25 11:18

From version 1.1
edited by Aurelie Bertrand
on 2024/07/10 15:32
Change comment: There is no comment for this version
To version 1.4
edited by Aurelie Bertrand
on 2024/07/10 16:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -182,60 +182,60 @@
182 182  # It is recommended to use the same value for Xms and Xmx.
183 183  {{/code}}
184 184  
185 -=== Activation de l'autorisation d'écriture des logs par tomcat ===
185 +=== Activating log write permission for tomcat ===
186 186  
187 187  {{code language="shell"}}
188 -# Créer le dossier dans /etc/systemd/system/
188 +# Create the folder in /etc/systemd/system/
189 189  sudo mkdir -p /etc/systemd/system/tomcat9.service.d
190 190  
191 -# Créer le fichier
191 +# Create the file
192 192  sudo vi /etc/systemd/system/tomcat9.service.d/logging-allow.conf
193 193  
194 -# Ajouter les lignes suivantes
194 +# Add the following lines
195 195  [Service]
196 196  ReadWritePaths=/var/log/digdash/
197 197  
198 -#recharger la configuration des "daemon"
198 +# Reload the "daemon" configuration
199 199  sudo systemctl daemon-reload
200 200  
201 201  sudo systemctl restart tomcat9.service
202 202  {{/code}}
203 203  
204 -=== Activation du lancement automatique du service au démarrage ===
204 +=== Enabling automatic start service on startup ===
205 205  
206 206  {{code language="shell"}}
207 207  sudo systemctl enable tomcat9
208 208  {{/code}}
209 209  
210 -== Déploiement de Digdash Version 24R1 ==
210 +== Deploying Digdash Version 24R1 ==
211 211  
212 212  {{warning}}
213 -lécharger la version de Digdash
213 +Download Digdash version.
214 214  
215 -zipper la version que vous venez de télécharger
215 +Unzip the version you have just downloaded.
216 216  {{/warning}}
217 217  
218 -=== Fichiers properties ===
218 +=== Properties files ===
219 219  
220 -Placer le fichier digdash.properties (contenu à la racine du dossier zippé) dans le dossier// /etc/digdash//.
220 +Place the digdash.properties file (located at the root of the unzipped folder) in the folder// /etc/digdash//.
221 221  
222 -Créer les fichiers suivants dans le dossier /etc/digdash :
222 +Create the following file in the folder /etc/digdash :
223 223  
224 224  * [[log4j2_api.properties>>attach:log4j2_api.properties]]
225 225  * [[log4j2_dash.properties>>attach:log4j2_dash.properties]]
226 226  * [[log4j2_studio.properties>>attach:log4j2_studio.properties]]
227 227  
228 -Modifier le fichier digdash.properties précédemment copié
228 +Edit the digdash.properties file previously copied.
229 229  
230 230  {{code language="shell"}}
231 -# Ajouter ces lignes au début du fichier
231 +# Add these lines at the beginning of the file
232 232  
233 -# Emplacement des logs
233 +# Log files location
234 234  ddenterpriseapi.ddlog4j.properties.file=/etc/digdash/log4j2_api.properties
235 235  studio.ddlog4j.properties.file=/etc/digdash/log4j2_studio.properties
236 236  digdash_dashboard.ddlog4j.properties.file=/etc/digdash/log4j2_dash.properties
237 237  
238 -# Emplacement du appadata
238 +# Appadata location
239 239  ddenterpriseapi.AppDataPath=/home/digdash/appdata/default
240 240  digdash_dashboard.AppDataPath=/home/digdash/appdata/default
241 241  studio.AppDataPath=/home/digdash/appdata/default
... ... @@ -274,15 +274,15 @@
274 274  
275 275  {{/code}}
276 276  
277 -=== Emplacement des war ===
277 +=== Deploying WebApps ===
278 278  
279 -Placer les éléments suivants (contenu dans le répertoire //apache_tomcat/webappps// du dossier dézippé) dans le dossier ///home/digdash/webapps/default ~://
279 +Place the following (contained in the <DD Install>\apache-tomcat\webapps directory) in the folder ///home/digdash/webapps/default ~://
280 280  
281 281  * adminconsole.war
282 282  * ddenterpriseapi.war
283 283  * digdash_dashboard.war
284 284  * studio.war
285 -* le dossier ROOT/
285 +* ROOT/ folder
286 286  
287 287  = OpenDJ{{id name="OpenDJ"/}} =
288 288  
... ... @@ -289,18 +289,18 @@
289 289  (% style="line-height:1.2" %)
290 290  == Installation ==
291 291  
292 -1. Commencer par récupérer la dernière version du fichier **opendj-4.x.x_all.deb** sur le site [[https:~~/~~/github.com/OpenIdentityPlatform/OpenDJ/releases>>url:https://github.com/OpenIdentityPlatform/OpenDJ/releases]]  :(((
292 +1. Start by getting the latest version of the **opendj-4.x.x_all.deb **file from the website [[https:~~/~~/github.com/OpenIdentityPlatform/OpenDJ/releases>>url:https://github.com/OpenIdentityPlatform/OpenDJ/releases]]  :(((
293 293  |(% style="background-color:black" %)(% style="color:#ffffff" %)wget https:~/~/github.com/OpenIdentityPlatform/OpenDJ/releases/download/4.x.x/opendj-4.x.x_all.deb
294 294  )))
295 -1. Lancer l’installation : (((
295 +1. Run the installation : (((
296 296  |(% style="background-color:black" %)(% style="color:#ffffff" %)sudo dpkg -i opendj_4.x.x_all.deb
297 297  )))
298 298  
299 299  (((
300 -(% style="color:inherit; font-family:inherit; font-size:26px" %)Paramétrage initial
300 +(% style="color:inherit; font-family:inherit; font-size:26px" %)Initial setup
301 301  )))
302 302  
303 -Lancer l’utilitaire de paramétrage puis suivre les étapes :
303 +Launch the settings utility to follow the steps:
304 304  
305 305  (((
306 306  |(% style="background-color:black" %)(% style="color:#ecf0f1" %)sudo /opt/opendj/setup
... ... @@ -308,7 +308,7 @@
308 308  
309 309  (% style="line-height:1.38" %)
310 310  (% style="border:none; color:#000000; display:inline-block; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; height:49px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:602px" %)[[image:1.png]](%%)
311 -[Entrer]
311 +[Enter]
312 312  
313 313  
314 314  [[image:2.png]]
... ... @@ -320,7 +320,7 @@
320 320  [[image:3.png]]
321 321  
322 322  (% style="line-height:1.38" %)
323 -[Entrer]
323 +[Enter]
324 324  
325 325  
326 326  [[image:4.png]]
... ... @@ -335,13 +335,13 @@
335 335  
336 336  [[image:6.png]]
337 337  
338 -[Entrer]
338 +[Enter]
339 339  
340 340  
341 341  [[image:7.png]]
342 342  
343 343  (% style="line-height:1.38" %)
344 -[Entrer]
344 +[Enter]
345 345  
346 346  
347 347  [[image:8.png]]
... ... @@ -354,45 +354,45 @@
354 354  
355 355  
356 356  (% style="border:none; color:#000000; display:inline-block; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; height:42px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:445px" %)[[image:https://lh7-us.googleusercontent.com/gs7BVYjtXGYivvccymzaxjIwiLn_ld-xJryFXxP8_aqZekStBkjWRjqRG-isbpEk97CVrMOFCsyCy-uzdIoltTdVWhurhNF_ycRAHaBeARw25JvamLrGFXuc-TIL7h6NQEb5iwhIMZIJOblCKog-n5c||height="42" width="445"]](%%)
357 -yes
357 +oui
358 358  
359 359  
360 360  [[image:11.png]]
361 361  
362 362  (% style="line-height:1.38" %)
363 -[Entrer]
363 +[Enter]
364 364  
365 365  
366 366  [[image:12.png]]
367 367  
368 -[Entrer]
368 +[Enter]
369 369  
370 370  
371 371  [[image:13.png]]
372 372  
373 -[Entrer]
373 +[Enter]
374 374  
375 375  
376 376  [[image:14.png]]
377 377  
378 -[Entrer]
378 +[Enter]
379 379  
380 380  
381 381  [[image:15.png]]
382 382  
383 383  (% style="line-height:1.38" %)
384 -[Entrer]
384 +[Enter]
385 385  
386 386  (% style="line-height:1.38; text-indent:-14.173228346456689pt; margin-top:13px; margin-bottom:13px; padding:0pt 0pt 0pt 14.173228346456689pt" %)
387 -== Paramétrage supplémentaire ==
387 +== Additional settings ==
388 388  
389 -1. Se placer dans le pertoire d’installation d’OpenDJ(((
389 +1. Go to the OpenDJ installation directory:(((
390 390  |(% style="background-color:black" %)(% style="color:#ffffff" %)cd /opt/opendj/bin/
391 391  )))
392 392  1. (((
393 -Les fichiers LDIF peuvent être léchargés en cliquant sur le lien suivant [[LDIF_OpenDJ>>attach:LDIF_OpenDJ.zip]].
393 +LDIF files can be downloaded by clicking the following link [[LDIF_OpenDJ>>attach:LDIF_OpenDJ.zip]].
394 394  )))
395 -1. Créer les organisations grâce au fichier “neworganisation.ldif” ci-dessous :(((
395 +1. Create the organizations using the “neworganization.ldif” file below:(((
396 396  |(% style="background-color:black" %)(% style="color:#ffffff" %)/opt/opendj/bin/ldapmodify ~-~-port 389 ~-~-bindDN(%%) (% style="color:#2ecc71" %)"cn=Directory Manager" (% style="color:#ffffff" %)~-~-bindPassword adminOpenDJ1 neworganisation.ldif
397 397  
398 398  |(% style="background-color:black" %)(((
... ... @@ -408,28 +408,32 @@
408 408  )))
409 409  
410 410  (% start="4" %)
411 -1. Pour créer un vérificateur de mot de passe, il faut passer par dsconfig, puis se connecter avec les identifiants du Directory Manager. 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 les character-set comme suit : (((
411 +1. To create a password checker:
412 +1*. Use the dsconfig.bat command, then log in with the Directory Manager credentials and accept the certificates.
413 +1*. Go to menu 29 then select “create a new Password Validator” > select “Character Set Password Validator” > enter “Custom Character Set Password Validator” > “true” > “true” > then configure 4 character-set as follows :
414 +
415 +(((
412 412  |(% style="background-color:black" %)(% style="color:#ffffff" %)1:abcdefghijklmnopqrstuvwxyz
413 413  1:ABCDEFGHIJKLMNOPQRSTUVWXYZ
414 414  1:0123456789
415 415  1:!"#$%&'()*+,-./:;\<=>?@[]^_`{~|}~~
416 416  
417 -➡ Le résultat doit ressembler à cela :
421 +➡ The result should look like this :
418 418  (% style="border:none; color:#000000; display:inline-block; font-family:Consolas,sans-serif; font-size:10pt; font-style:italic; font-variant:normal; font-weight:400; height:114px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:454px" %)//[[image:Resultats.png]]//
419 419  )))
420 420  
421 421  (% start="5" %)
422 -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 : (((
426 +1. For the second password checker, we can use a command line because it does not contain special characters: (((
423 423  |(% style="background-color:black" %)(% style="color:#ffffff" %)/opt/opendj/bin/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
424 424  )))
425 425  
426 426  (% start="6" %)
427 -1. Appliquer les deux vérificateurs de mot de passe :(((
431 +1. Apply both password checkers:(((
428 428  |(% style="background-color:black" %)(% style="color:#ffffff" %)/opt/opendj/bin/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
429 429  )))
430 430  
431 431  (% start="7" %)
432 -1. Définir la politique de mot de passe pour les utilisateurs grâce au fichier “ppolicy.ldif” ci-dessous :(((
436 +1. Set the password policy for users using the “ppolicy.ldif” file below:(((
433 433  |(% style="background-color:black" %)(% style="color:#ffffff" %)/opt/opendj/bin/ldapmodify ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 ppolicy.ldif
434 434  
435 435  |(% style="background-color:black" %)(((
... ... @@ -496,7 +496,7 @@
496 496  )))
497 497  
498 498  (% start="8" %)
499 -1. Définir une seconde politique de mot de passe pour l’admin grâce au fichier “ppolicy-admin.ldif” ci-dessous :(((
503 +1. Set a second password policy for the admin using the “ppolicy-admin.ldif” file below:(((
500 500  |(% style="background-color:black" %)(% style="color:#ffffff" %)/opt/opendj/bin/ldapmodify ~-~-port 389 ~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 ppolicy-admin.ldif
501 501  
502 502  |(% style="background-color:black" %)(((
... ... @@ -552,10 +552,10 @@
552 552  (% style="color:#ffffff; font-family:Consolas,sans-serif; font-size:11pt; font-style:italic; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)//subtreeSpecification: {base "ou=users", specificationFilter "(uid=admin)" }//
553 553  )))
554 554  )))
555 -1. Modifier la politique de mot de passe pour autoriser les mots de passe pré encodé (utile pour les restaurations dans Digdash) :(((
559 +1. Change the password policy to allow pre-encoded passwords (useful for restores in digdash) :(((
556 556  |(% style="background-color:black" %)(% style="color:#ecf0f1" %)/opt/opendj/bin/dsconfig 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
557 557  )))
558 -1. Créer un utilisateur admin pour digdash via le fichier “create_user_admin.ldif” ci-dessous(((
562 +1. Create an admin user for digdash via the “create_user_admin.ldif” file below(((
559 559  |(% style="background-color:black" %)(% style="color:#ecf0f1" %)/opt/opendj/bin/ldapmodify (% style="color:#ffffff" %)~-~-port 389 (% style="color:#ecf0f1" %)~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 create_user_admin.ldif
560 560  
561 561  |(% style="background-color:black" %)(((
... ... @@ -580,7 +580,7 @@
580 580  )))
581 581  
582 582  (% start="11" %)
583 -1. Lui affecter les droits nécessaires en utilisant les fichiers “add_admin_right.ldif” et “add_admin_right2.ldif” ci-dessous(((
587 +1. Assign the admin user the necessary rights using the “add_admin_right.ldif” and “add_admin_right2.ldif” files below:(((
584 584  |(% style="background-color:black" %)(% style="color:#ecf0f1" %)/opt/opendj/bin/ldapmodify (% style="color:#ffffff" %)~-~-port 389 (% style="color:#ecf0f1" %)~-~-bindDN "cn=Directory Manager" ~-~-bindPassword adminOpenDJ1 add_admin_right.ldif
585 585  
586 586  |(% style="background-color:black" %)(((