From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test case tests the installation of 389 Directory Server |setup= |actions= <ol> <li>Install 389 packages i.e. 389-ds-base and 389-ds-base-libs...")
 
(Update installation instructions)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests the installation of 389 Directory Server
|description=
|setup=
 
This test case tests the installation of 389 Directory Server instance.
 
NOTE: This includes only instance setup testing, not the console.
Full documentation on setting up 389 Directory Server instance can be found [https://www.port389.org/docs/389ds/howto/quickstart.html here] if needed.
 
|actions=
|actions=
<ol>
1. Install 389-ds-base package.<br>  
<li>Install 389 packages i.e. 389-ds-base and 389-ds-base-libs for minimal installation</li>
<pre>dnf install 389-ds-base</pre>
<li>Execute setup-ds.pl for configuring an Instance of Directory Server </li>
This will install 389-ds-base, 389-ds-base-libs and their dependencies.
<li>It will prompt for various options like port, suffix, hostname etc. One can make answer file or select the option on each prompt.</li>
 
</ol>
2. Now setup the Directory Server instance using `dscreate`
 
<pre>dscreate interactive</pre>
 
This will ask you for some configuration questions, carefully read and answer. Optionally you can make answer file to setup the instance.
 
3. At the end of the setup, a message will display as:
 
<pre>
Starting installation ...
Validate installation settings ...
Create file system structures ...
Create self-signed certificate database ...
Perform SELinux labeling ...
Create database backend: dc=example,dc=com ...
Perform post-installation tasks ...
Completed installation for instance: slapd-localhost
</pre>
 
This means your DS instance is ready.
 
|results=
|results=
<ol>
#Directory Server should be up and running  
<li>Directory Server should be up and running</li>
#One can check the process by checking slapd process should be running, as::
<li>One can check the process by checking slapd process should be running.</li>
 
</ol>
<pre>dsctl localhost status
Instance "localhost" is running
</pre>
 
}}
}}
[[Category:Package_389_ds_base_setup_testcase]]
 
[[Category:Package_389-ds-base_test_cases]]

Latest revision as of 12:22, 30 July 2024

Description

This test case tests the installation of 389 Directory Server instance.

NOTE: This includes only instance setup testing, not the console. Full documentation on setting up 389 Directory Server instance can be found here if needed.


How to test

1. Install 389-ds-base package.

dnf install 389-ds-base

This will install 389-ds-base, 389-ds-base-libs and their dependencies.

2. Now setup the Directory Server instance using dscreate

dscreate interactive

This will ask you for some configuration questions, carefully read and answer. Optionally you can make answer file to setup the instance.

3. At the end of the setup, a message will display as:

Starting installation ...
Validate installation settings ...
Create file system structures ...
Create self-signed certificate database ...
Perform SELinux labeling ...
Create database backend: dc=example,dc=com ...
Perform post-installation tasks ...
Completed installation for instance: slapd-localhost

This means your DS instance is ready.

Expected Results

  1. Directory Server should be up and running
  2. One can check the process by checking slapd process should be running, as::
dsctl localhost status
Instance "localhost" is running