No edit summary |
(Updated links, console output) |
||
Line 2: | Line 2: | ||
|description= | |description= | ||
This test case tests the installation of 389 Directory Server | This test case tests the installation of 389 Directory Server instance. | ||
NOTE | NOTE: This includes only instance setup testing, not the console. | ||
Full documentation on setting up | Full documentation on setting up 389 Directory Server instance can be found [http://www.port389.org/docs/389ds/legacy/install-guide.html here] if needed. | ||
|actions= | |actions= | ||
1. Install 389 ds package.<br> | 1. Install 389-ds-base package.<br> | ||
<pre> | <pre>dnf install 389-ds-base</pre> | ||
This will 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 setup-ds.pl | 2. Now setup the Directory Server instance using setup-ds.pl | ||
Line 21: | Line 20: | ||
3. At the end of the setup, a message will display as: | 3. At the end of the setup, a message will display as: | ||
<pre>Your new DS instance ' | <pre>Your new DS instance 'example' was successfully created. | ||
Exiting . . . | Exiting . . . | ||
Log file is '/tmp/ | Log file is '/tmp/setupkL4chw.log' | ||
</pre> | |||
This means your DS instance is ready. | This means your DS instance is ready. | ||
Line 31: | Line 31: | ||
#One can check the process by checking slapd process should be running, as:: | #One can check the process by checking slapd process should be running, as:: | ||
<pre>[root@ | <pre>[root@localhost ~]# ps -aef | grep [n]s-slapd | ||
dirsrv 1845 1 11 10:22 ? 00:00:03 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-example -i /var/run/dirsrv/slapd-example.pid | |||
</pre> | |||
}} | }} | ||
[[Category:Package_389-ds-base_test_cases]] | [[Category:Package_389-ds-base_test_cases]] |
Revision as of 14:25, 15 September 2017
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 setup-ds.pl
setup-ds.pl
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:
Your new DS instance 'example' was successfully created. Exiting . . . Log file is '/tmp/setupkL4chw.log'
This means your DS instance is ready.
Expected Results
- Directory Server should be up and running
- One can check the process by checking slapd process should be running, as::
[root@localhost ~]# ps -aef | grep [n]s-slapd dirsrv 1845 1 11 10:22 ? 00:00:03 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-example -i /var/run/dirsrv/slapd-example.pid