Installing Centos Directory Server
Installing Centos-Directory-Server and initial login.
DNS should be properly configured
Add following file to /etc/yum.repos.d/
# vim CentOS-Testing.repo
[c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=0 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testingSave the file and exit
Install the directory server using yum
# yum install centos-ds
Install Supported rpm
# yum install xorg-x11-xauth bitstream-vera-fonts dejavu-lgc-fonts urw-fonts
Setting up java
# mv /usr/bin/java /usr/bin/java_oldDownload the latest vesrion of java to /opt from the Sun and install it
# cd /opt
# tar xvzf jdk-7u5-linux-i586.tar.gz
# vim /etc/profile and add the following lines
JAVA_HOME=/opt/jdk1.7.0_05 export JAVA_HOME PATH=PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
save and exit the file
# source /etc/profile
Configure the directory server using the following command
# setup-ds-admin.pl
After configuration start the services
# /etc/init.d/dirsrv start # /etc/init.d/dirsrv-admin start
Open Directory server administration console
# centos-idm-consoleLogin with the following details in login prompt.
cn=Directory Manager password=********** Administration url=http://localhost:9830If you wan to remove the initial configuration and reconfigure it Please do the below steps
Log files /var/log/dirsrv/slapd-instance Configuration files /etc/dirsrv/slapd-instance Instance directory /usr/lib/dirsrv/slapd-instance Database files /var/lib/dirsrv/slapd-instance
Enjoy !!!!!!
No comments:
Post a Comment