This tutorial describes how to install and configure LDAP server (389-DS) in CentOS 7. About 389-DS Server 389-DS (389 Directory Server) is an open source enterprise class LDAP server for Linux, and is developed by Red Hat community. It is hardened by real-world use, is full-featured, supports multi-master replication, and already handles many of the largest LDAP deployments in the world. The 389 Directory Server can be downloaded for free, and set up in less than an hour using the graphical console.
389-DS can handle thousands of concurrent users more effectively. Add your hostname as shown below. 192.168.1.150 server1.unixmen.local server1 Change the values as per your requirement. Firewall Configuration Allow the following ldap ports to your iptables. Firewall-cmd -permanent -add-port=389/tcp firewall-cmd -permanent -add-port=636/tcp firewall-cmd -permanent -add-port=9830/tcp Restart firewall. Firewall-cmd -reload 3.
Email with Postfix, Dovecot and MariaDB on CentOS 7 The Postfix Mail Transfer Agent ( MTA ) is a high performance open source e-mail server system. This guide will help you get Postfix running on your CentOS 7 Linode, using Dovecot for IMAP/POP3 service, and MariaDB, a drop-in replacement for MySQL, to store information on virtual domains. Jan 29, 2015 - How to Install QMAIL Mail Server Configuration on CentOS/RHEL 6/5 step by step with details. A web based interface to manage Vpopmail virtual domains on your qmail server. In addition, within the Apache master config file you will want to set the “AllowOveride” option to “All”.
Add EPEL and REMI Repository Follow the below links to install and enable EPEL and REMI repositories. Performance and Security tuning for LDAP server Before installing LDAP server, we have to adjust some files for performance and security. Edit file “/etc/sysctl.conf”, vi /etc/sysctl.conf Add the following lines at the end. net.ipv4.tcpkeepalivetime = 300 net.ipv4.iplocalportrange = 1024 65000 fs.file-max = 64000 Edit file “/etc/security/limits.conf”, vi /etc/security/limits.conf Add the following lines at the bottom. soft nofile 8192. hard nofile 8192 Edit file “/etc/profile”, vi /etc/profile Add the line at the end.
ulimit -n 8192 Edit file “/etc/pam.d/login”, vi /etc/pam.d/login Add the line at the end. session required /lib/security/pamlimits.so Now Restart the server. Install 389 Directory Server Create a LDAP user account.
Useradd ldapadmin passwd ldapadmin Install 389-ds-base package using command: yum install 389-ds-base openldap-clients Right now, all required packages for 389-DS server are not available in the CentOS repositories. We have to download and install manually the following packages. Now, install the above packages one by one as shown below.