All commands are executed as root unless otherwise noted.
1. Always check if the latest available packages are installed on your system
2. Check whether OpenLDAP Server is already installed or not.
This tutorial applies only if OpenLDAP is not already installed and we are performing a fresh install of OpenLDAP.
3. Install OpenLDAP server
4. Recheck the list of OpenLDAP packages:
5. Start the openLDAP server:
6. (OPTIONAL) Enable OpenLDAP server to be automatically started at boot: