Changes for page Guide d'installation Linux
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
on 2024/07/10 15:32
Change comment:
There is no comment for this version
To version 1.2
edited by Aurelie Bertrand
on 2024/07/10 16:20
on 2024/07/10 16:20
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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 -=== Activati ondel'autorisationd'écrituredeslogspar tomcat ===185 +=== Activating log write permission for tomcat === 186 186 187 187 {{code language="shell"}} 188 -# Cr éerledossierdans/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 éerle fichier191 +# Create the file 192 192 sudo vi /etc/systemd/system/tomcat9.service.d/logging-allow.conf 193 193 194 -# A jouterleslignessuivantes194 +# Add the following lines 195 195 [Service] 196 196 ReadWritePaths=/var/log/digdash/ 197 197 198 -# rechargerla configurationdes "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 -=== Activationdu lancement automatiqueduserviceaudé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 éploiementdeDigdash Version 24R1 ==210 +== Deploying Digdash Version 24R1 == 211 211 212 212 {{warning}} 213 - Téléchargerla versionde Digdash213 +Download Digdash version. 214 214 215 - Dézipperlaversionque vousvenezdetélécharger215 +Unzip the version you have just downloaded. 216 216 {{/warning}} 217 217 218 -=== Fichiers properties ===218 +=== Properties files === 219 219 220 -Place rle fichierdigdash.properties (contenuà laracinedudossierdézippé)dansledossier// /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 éerlesfichierssuivants dansledossier /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 - Modifierle fichierdigdash.properties précédemmentcopié228 +Edit the digdash.properties file previously copied. 229 229 230 230 {{code language="shell"}} 231 -# A jouter ces lignes audébutdufichier231 +# Add these lines at the beginning of the file 232 232 233 -# Emplacement des logs233 +# 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 appadata238 +# 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 -=== Emplacementdeswar===277 +=== Deploying WebApps === 278 278 279 -Place rleséléments suivants(contenu dans lerépertoire//apache_tomcat/webappps//du dossierdézippé)dansledossier///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 dossierROOT/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 parrécupérerladernièreversiondufichier**opendj-4.x.x_all.deb**surle 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. Lancerl’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 initial300 +(% style="color:inherit; font-family:inherit; font-size:26px" %)Initial setup 301 301 ))) 302 302 303 -Lanc erl’utilitairedeparamétrage puissuivrelesé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 -[Ent rer]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 -[Ent rer]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 -[Ent rer]338 +[Enter] 339 339 340 340 341 341 [[image:7.png]] 342 342 343 343 (% style="line-height:1.38" %) 344 -[Ent rer]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 - yes357 +oui 358 358 359 359 360 360 [[image:11.png]] 361 361 362 362 (% style="line-height:1.38" %) 363 -[Ent rer]363 +[Enter] 364 364 365 365 366 366 [[image:12.png]] 367 367 368 -[Ent rer]368 +[Enter] 369 369 370 370 371 371 [[image:13.png]] 372 372 373 -[Ent rer]373 +[Enter] 374 374 375 375 376 376 [[image:14.png]] 377 377 378 -[Ent rer]378 +[Enter] 379 379 380 380 381 381 [[image:15.png]] 382 382 383 383 (% style="line-height:1.38" %) 384 -[Ent rer]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étragesupplémentaire==387 +== Additional settings == 388 388 389 -1. Seplacerdans lerépertoired’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 -L esfichiersLDIF peuventêtretéléchargésencliquantsur le liensuivant[[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 éerlesorganisationsgrâce aufichier“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ésultatdoitressemblerà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. Pourle secondvérificateur de mot depasse nouspouvons utiliserunelignede commande car celle-cine contientpasdecaractèresspé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. Appl iquerles deux vérificateurs de motdepasse:(((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 politiquede motde passe pour lesutilisateursgrâce aufichier“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 secondepolitiquede motdepasse pour l’admingrâce aufichier“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" %)(((