[Fedora-directory-users] FDS on Ubuntu / Debian

Richard Megginson rmeggins at redhat.com
Fri Feb 10 15:09:22 UTC 2006


http://directory.fedora.redhat.com/wiki/Howto:DebianUbuntu

Thanks!

Olivier Brugman wrote:

>Hi Folks,
>
>Thank you for this great software. It rocks!
>After installation on FC 3 and X/OS 4, i wanted to install FDS on Ubuntu
>and Debian GNU/Linux (Sarge), my platforms of preference.
>
>FWIW, this is how it worked for me:
>
>
>
>FDS-on-Ubuntu/Debian-howto
>==========================
>
>This document describes howto install the Fedora Directory Server (FDS)
>on Ubuntu 5.10 (Breezy Badger) or Debian GNU/Linux Sarge. I presume you
>already have done a minimal installation of the OS of choise.
>Most steps to Ubuntu and Sarge are equal, however this howto is base on
>the installation of the 'sudo' package. As an alternative you can 'su -'
>on Debian and skip the sudo part of the commands.
>
>1 Get the software
>==================
>Download a prebuild rpm from
>http://directory.fedora.redhat.com/wiki/Download Choose the version
>suitable for Fedora Core 3 and RHEL4. For Debian GNU/Linux Sarge the rpm
>for RHEL3 is required (Ubuntu has libc6 version 2.3.5 while Sarge has
>version 2.3.2).
>
>2 Install alien-package
>=======================
>Alien is a tool that supports converting software in 'rpm' format to
>'deb' format.
>sudo apt-get install alien
>
>3 Build the fedora-ds .deb package
>==================================
>sudo alien /YOURPATH/fedora-ds-1.0.1-1.RHEL4.i386.opt.rpm (Ubuntu)
>sudo alien /YOURPATH/fedora-ds-1.0.1-1.RHEL3.i386.opt.rpm (Debian Sarge)
>
>4 Build dependencies
>====================
>The Fedora Directory Server needs 'libtermcap.so.2', so install it.
>sudo apt-get install termcap-compat
>Install the Sun Java SDK or JRE version 1.4.2. Don't forget to set the
>JAVA_HOME and PATH variables!
>The admin-server of FDS depends on Apache2 compiled conform the worker
>model, so let's install it
>sudo apt-get install apache2-mpm-worker
>As Fedora calls the daemon 'httpd' while Ubuntu calls it 'apache2' (like
>Debian), we want to create a symbolic link to satisfy FDS' setup
>utility.
>sudo ln -s /usr/sbin/apache2 /usr/sbin/httpd
>
>5 Install .deb package
>======================
>sudo dpkg -i /YOURPATH/fedora-ds_1.0.1-2_i386.deb
>
>6 Create a user and group for the daemon
>========================================
>sudo groupadd fds
>sudo useradd -s /bin/false -g fds fds
>
>7 Run the setup program
>=======================
>Now we want to configure the FDS. As the setup utility won't find the
>Apache2 modules on Debian/Ubuntu by default, we'll have to help it.
>First we'll create an install.inf file by running the setup utility with
>the '-k' option.
>sudo /opt/fedora-ds/setup/setup -k
>Choose '1' for as minimal questions as possible.
>Choose 'fds' when asked which user and group apply.
>After finalizing the setup wizard the directory server itself will be
>started as user 'fds'. It listens on the port you just configured (i
>chose port '389', the default LDAP-port).
>When done, copy the install.inf file to /opt
>sudo cp /opt/fedora-ds/setup/install.inf /opt
>sudo chmod 640 /opt/install.inf
>Then add this rule to the [admin] section of the file:
>ApacheRoot=   /usr/lib/apache2
>Afterwards rerun the setup utility with the following options:
>sudo /opt/fedora-ds/setup/setup -s -f /opt/install.inf
>
>8 Adjust the admin-server's httpd.conf
>======================================
>We have to make some changes to the
>'/opt/fedora-ds/admin-serv/config/httpd.conf' file.
>Some modules do not have to be loaded as they are compiled in
>statically. So outcomment these lines:
>...
>#LoadModule access_module /usr/lib/apache2/modules/mod_access.so
>#LoadModule auth_module /usr/lib/apache2/modules/mod_auth.so
>#LoadModule log_config_module /usr/lib/apache2/modules/mod_log_config.so
>#LoadModule env_module /usr/lib/apache2/modules/mod_env.so
>...
>#LoadModule setenvif_module /usr/lib/apache2/modules/mod_setenvif.so
>#LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so
>...
>#LoadModule
>negotiation_module /usr/lib/apache2/modules/mod_negotiation.so
>#LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so
>...
>#LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so
>...
>
>9 Now try to start the admin-server
>===================================
>sudo /opt/fedora-ds/start-admin
>
>
>If it works, Good :-)
>If not, you probably didn't have enough coffee!
>
>Cheers,
>Olivier Brugman
>
>--
>Fedora-directory-users mailing list
>Fedora-directory-users at redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-directory-users
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20060210/9de226d8/attachment.bin>


More information about the Fedora-directory-users mailing list