Home | Forum| About | Contact | Subscribe| Followme
Linux Mail Server Setup and Howto Guide
389 Directory Server Setup Howto for RHEL/CentOS 5
389 Directory Server formerlythe Fedora Directory Server is an enterprise -class opensource LDAP server for Linux Thisarticlewillshow you how . to setup the 389 DirectoryServer.
Make sure that your host nameis properlyregisteredinyour DNS or /etc/hosts file Check ifyour hostnameis registeredproperlyby executing .
ina terminalwindow replace mailacme.localwithyour own host name. If it returns127.0.0.1 or unknownhost that meansit is not registeredproperly ,. .
Installing 389 Directory Server
1. Typeinthe commandbelow to update your Red Hat EnterpriseLinux5 or CentOS 5 to version5.3 or higher .
Version5.3 and above is requiredto run the 389 DirectoryServer.
389 Directory Server Setup Howto for RHEL/CentOS 5 ‹‹ Linux Mail ServerSetup and Howto Guide
2. Install389 DirectoryServer by typinginthe commandsbelow ina terminalwindow Thisis the contentof fedora-ds.repo. .
cd /etc/yum.repos.d wget www.linuxmail.info/files/fedora-ds.repo yum install 389-ds openldap-clients
3. Create a new user and group namedfds. This accountwillbe used to run the fds service Learn how to create a new user. .
setup 389DirectoryServer. Most of the time the defaultis simplyaccepted indicatedby the ,
[root@mail ~]# setup-ds-admin.pl
4. Typein setup-ds-admin.pl ina terminalwindowto inthe samplesessionbelow.
389 Directory Server Setup Howto for RHEL/CentOS 5 ‹‹ Linux Mail Server Setup and Howto Guide============================================================================== This program will set up the 389 Directory and Administration Servers. It is recommended that you have "root" privilege to set up the software. Tips for using this program: - Press "Enter" to choose the default and go to the next screen - Type "Control-B" then "Enter" to go back to the previous screen - Type "Control-C" to cancel the setupprogram Would you like to continue with set up? [yes]: ============================================================================== BY SETTING UP AND USING THIS SOFTWARE YOU ARE CONSENTING TO BE BOUND BY AND ARE BECOMING A PARTY TO THE AGREEMENT FOUND IN THE LICENSE.TXT FILE. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, PLEASE DO NOT SET UP OR USE THIS SOFTWARE. Do you agree to thelicense terms? [no]: yes ============================================================================== Your system has been scanned for potential problems, missing patches, etc. The following output is a report of the items found that need to be addressed before running this software in a production environment. 389 Directory Server system tuning analysis version 10-AUGUST-2007.
Página 3NOTICE : System is i686-unknown-linux2.6.18-53.el5 (1 processor). WARNING: 376MB of physical memory is available on the system. 1024MB is recommended for best performance on large production system. NOTICE : The net.ipv4.tcp_keepalive_time is set to 7200000 milliseconds (120 minutes). This may cause temporary server congestion from lost client connections. WARNING: There are only 1024 filedescriptors (hard limit) available, which limit the number of simultaneous connections. WARNING: There are only 1024 file descriptors (soft limit) available, which limit the number of simultaneous connections. Would you like to continue? [no]: yes ============================================================================== Choose a setup type: 1. Express Allows you to quickly set up the servers using...