389-DS Server Installation on Ubuntu 22.04
From Notes_Wiki
Home > Ubuntu > Ubuntu 22.04 > Ubuntu 22.04 389-DS server setup > 389-DS Server Installation on Ubuntu 22.04
389 Directory Server Installation and Configuration
Install Required Packages
a) Install utility and dependency packages
sudo apt install cockpit-doc cockpit-pcp cockpit-sosreport xdg-utils udisks2-lvm2 sssd-dbus apache2 pcscd lm-sensors snmp-mibs-downloader m4-doc make-doc avahi-autoipd libteam-utils python-networkx-doc python3-gdal python3-matplotlib python3-pydot python3-pygraphviz python3-scipy gcc gfortran python-numpy-doc python3-dev subversion python-pygments-doc ttf-bitstream-vera setools-gui wpagui libengine-pkcs11-openssl
b) Install the 389 Directory Server
sudo apt-get install 389-ds-base
Prepare Directory Server Instance Configuration
a) Create the instance configuration file
vim instance.inf
Paste the following content:
[general] full_machine_name = ldap.example.com [slapd] root_password = Your_Strong_Password cn = Directory instance_name = ldap [backend-userRoot] suffix = dc=example,dc=com sample_entries = no [backend-NetscapeRoot] suffix = o=example sample_entries = no
Create the Directory Server Instance
a) Run the below command to create the instance
dscreate from-file instance.inf
This sets up the instance slapd-ldap.
Home > Ubuntu > Ubuntu 22.04 > Ubuntu 22.04 389-DS server setup > 389-DS Server Installation on Ubuntu 22.04