In the following sections, we will see the steps involved in installing 389-ds.
When installing OpenLDAP or 389-DS, it is imperative that you can resolve the hostname of the system on which you install the directory. My system is named ldap1.tup.com
, and I have a local DNS record for this but it can also be maintained by an entry in the local /etc/hosts
file on the host system. I can verify the name is correct by using the host
command or something similar:
$ host ldap1.tup.com
You should see the IP address being returned. You can see the result of this command when executed on my system in the following screenshot:
The default timeout of TCP connections is 120 minutes. We will configure it for five minutes. In doing so, we will reduce the overhead caused by dropped TCP connections; they will be closed much more quickly. Edit the /etc/sysctl
file to include the following line:
net.ipv4.tcp_keepalive_time = 300
Load the...