Instalasi Fedora Directory Server

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Instalasi Fedora Directory Server

Postby ilham2930 » 24 Feb 2011, 15:42

Berbekal tutorial dari ubuntu community akhirnya berhasil juga install FDS.

oke, langsung aja ke step-stepnya.

Langkah pertama tambahkan repository FDS dengan cara

di terminal ketik : sudo gedit /etc/apt/sources.lst

tambahkan

Code: Select all

    deb http://ppa.launchpad.net/ubuntu-389-directory-server/ppa/ubuntu/ karmic main
    deb-src http://ppa.launchpad.net/ubuntu-389-directory-server/ppa/ubuntu/ karmic main

Kemudian update

Code: Select all

apt-get update


Jika terdapat error pada public key, ketikan

Code: Select all

    sudo apt-key adv �keyserver keyserver.ubuntu.com �recv-keys 07B8937284F281ED
    sudo apt-get update

Langkah selanjutnya kita install paket FDSnya

install dependency paket

Code: Select all

    sudo apt-get install libmozilla-ldap-perl

Download dan install libicu40

Code: Select all

    wget http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu40_4.0.1-2ubuntu2_i386.deb
    sudo dpkg -i libicu40_4.0.1-2ubuntu2_i386.deb

Oke, sekarang install FDS dan Javanya

Code: Select all

    sudo apt-get install dirsrv dirsrv-admin 389-ds-admin-console 389-ds-console 389-idm-console libadminutil1 libapache2-mod-nss libidm-console-framework-java libjss-java libldap-java libsvrcore0 openjdk-6-jdk

saat proses instalasi paket tersebut terdapat warning �* /var/run/dirsrv is not writable for �
edit file /etc/init.d/dirsrv-admin cari baris ini

Code: Select all

    owner=`grep \^sysuser /etc/dirsrv/admin-serv/admserv.conf | awk �{print $2}� �

ubah menjadi

Code: Select all

    owner=`grep \^User /etc/dirsrv/admin-serv/console.conf | awk �{print $2}� �

langkah selanjutnya take ownership

Code: Select all

    sudo chown -R dirsrv /var/run/dirsrv

stop service sebagai berikut

Code: Select all

    /etc/init.d/dirsrv-admin stop
    /etc/init.d/dirsrv-admin start

next step
jika kita mendapatkan error saat start FDS admin seperti ini :

Code: Select all

�apache2: Syntax error on line 123 of /etc/dirsrv/admin-serv/httpd.conf: module log_config_module is built-in and can�t be loaded�

santai aja bro, g usah panik, cukup edit file httpd.conf, kasih simbol �#� pada log_config_module (edit di /etc/dirsrv/admin-serv/httpd.conf) biar ga di baca.

setelah itu ada beberapa link yang ilang dari java, kita bikin link lagi biar bisa nyambung, caranya:

Code: Select all

    cd /usr/share/java
    sudo ln -s fedora-admin-1.1.3.jar 389-admin-1.1.jar
    sudo ln -s fedora-admin-1.1.3_en.jar 389-admin-1.1_en.jar
    sudo ln -s fedora-ds-1.2.0.jar 389-ds-1.2.jar
    sudo ln -s fedora-ds-1.2.0_en.jar 389-ds-1.2_en.jar
    cd /usr/share/dirsrv/html/java/jars
    sudo ln -s ../../../../java/389-admin-1.1.jar
    sudo ln -s ../../../../java/389-admin-1.1_en.jar
    sudo ln -s ../../../../java/389-ds-1.2.jar
    sudo ln -s ../../../../java/389-ds-1.2_en.jar

untuk mengecek apakah java telah terinstalasi dengan baik di komputer kita, jalankan perintah ini

Code: Select all

    java -version

cek nss_module pada /etc/dirsrv/admin-serv/httpd.conf
lokasinya harus disini : �LoadModule nss_module /usr/lib/apache2/modules/mod_nss.so�
klo bukan�ya di edit dong..

Code: Select all

    sudo gedit /etc/dirsrv/admin-serv/httpd.conf
    cari baris ini, kemudian uncomment
    # LoadModule nss_module /usr/lib/apache2/modules/libmodnss.so
    rubah menjadi :
    LoadModule nss_module /usr/lib/apache2/modules/mod_nss.so

harusnya sampe sini sudah bisa jalan..
oke kita cross-check dulu apakah saat instalasi paket FDS ikut di buat juga.
coba di cek:

Code: Select all

    ls /etc/dirsrv/
    jika terdapat directory ini :
    /etc/dirsrv/slapd-<yourserver>/

berarti sudah ke install, klo gitu di delete dulu, caranya :

Code: Select all

    sudo /etc/init.d/dirsrv stop
    sudo rm -R /etc/dirsrv/slapd-<yourserver>/
    sudo setup-ds-admin

siip dah, semuanya selesai,saatnya configure FDS
sekarang coba buka FDS Consolenya, ketikin di terminal :

Code: Select all

    fedora-idm-console
    atau di menu->system tools->389 IDM console

isikan pada saat login data2 anda

Code: Select all

    username : cn=Directory Manager
    password :<yourpassword>
    URL : http://localhost:9830

untuk screenshotnya bisa di liat di blog ane ...
Visit My Blog : Instalasi Fedora DS di Ubuntu 9.10
User avatar
aztek
Posts: 43
Joined: 11 Feb 2011, 17:26
Location: pekanbaru
Contact:

Re: Instalasi Fedora Directory Server

Postby aztek » 24 Feb 2011, 20:48

apa keunggulannya pakai FDS tu bro?
User avatar
ninja
Posts: 2260
Joined: 27 Jan 2010, 16:23
Location: Tangerang, Banten, indonesia
Contact:

Re: Instalasi Fedora Directory Server

Postby ninja » 24 Feb 2011, 20:55

ubuntu rasa fedora :)
thanks sharenya bro
User avatar
aztek
Posts: 43
Joined: 11 Feb 2011, 17:26
Location: pekanbaru
Contact:

Re: Instalasi Fedora Directory Server

Postby aztek » 25 Feb 2011, 09:04

oooo. mksh info na
User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Re: Instalasi Fedora Directory Server

Postby ilham2930 » 25 Feb 2011, 14:02

aztek wrote:apa keunggulannya pakai FDS tu bro?

FDS mirip AD nya si windows, confignya juga sama gampangnya bro
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: Instalasi Fedora Directory Server

Postby blackshirt » 25 Feb 2011, 17:21

free implementation of directory service, aka ldap, by fedora developer...
saya rasa mirip OpenLDAP :grin:
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Instalasi Fedora Directory Server

Postby zitux » 02 Mar 2011, 00:09

blackshirt wrote:free implementation of directory service, aka ldap, by fedora developer...
saya rasa mirip OpenLDAP :grin:


bahasa yg mudah dimengerti pak :grin:

penasaran ini :blush:

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 6 guests