fedora Directory Server

Installation

Fertige RPM Pakete gibt es unter http://directory.fedora.redhat.com/wiki/Download.

Installation

yum -y install httpd
rpm -Uvh fedora-ds-1.0.2-1.RHEL4.i386.opt.rpm
yum install xorg-x11-deprecated-libs
rpm -Uvh rpm -Uvh jdk-1_5_0_06-linux-i586.rpm
cd /usr/share/
ln -s /usr/java/jdk1.5.0_06 java

/etc/profile.d/java.sh

export JAVA_HOME="/usr/share/java"
export JAVA_PATH="$JAVA_HOME"
export PATH="$PATH:$JAVA_HOME/bin"

/etc/ld.so.conf.d

/opt/fedora-ds/shared/lib

Initiale Konfiguration

initial setup

/opt/fedora-ds/setup/setup 

setup messages

Fedora Directory Server system tuning analysis version 04-APRIL-2005.

NOTICE : System is i686-unknown-linux2.6.9-11.ELsmp (1 processor).

WARNING: 375MB 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 file descriptors (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.  

install mode

Please select the install mode:
  1 - Express - minimal questions
  2 - Typical - some customization (default)
  3 - Custom - lots of customization

Please select 1, 2, or 3 (default: 2) 

Hostname to use (default: kickstart.test) thomasba.intra.tiri

Server user ID to use (default: nobody) 

Server group ID to use (default: nobody) 
Fedora server information is stored in the Fedora configuration
directory server, which you may have already set up.  If so, you
should configure this server to be managed by the configuration
server.  To do so, the following information about the configuration
server is required: the fully qualified host name of the form
<hostname>.<domainname>(e.g. hostname.domain.com), the port number,
the suffix, and the DN and password of a user having permission to
write the configuration information, usually the Fedora
configuration directory administrator.

If you want to install this software as a standalone server, or if you
want this instance to serve as your Fedora configuration directory
server, press Enter.


Do you want to register this software with an existing
Fedora configuration directory server? [No]: 

If you already have a directory server you want to use to store your
data, such as user and group information, answer Yes to the following
question.  You will be prompted for the host, port, suffix, and bind
DN to use for that directory server.

If you want this directory server to store your data, answer No.


Do you want to use another directory to store your data? [No]: 

The standard directory server network port number is 389.  However, if
you are not logged as the superuser, or port 389 is in use, the
default value will be a random unused port number greater than 1024.
If you want to use port 389, make sure that you are logged in as the
superuser, that port 389 is not in use, and that you run the admin
server as the superuser.


Directory server network port [389]: 

Each instance of a directory server requires a unique identifier.
Press Enter to accept the default, or type in another name and press
Enter.


Directory server identifier [thomasba]: 

Please enter the administrator ID for the Fedora configuration
directory server.  This is the ID typically used to log in to the
console.  You will also be prompted for the password.


Fedora configuration directory server
administrator ID [admin]: 
password: ******


The suffix is the root of your directory tree.  You may have more than
one suffix.


Suffix [dc=intra, dc=tiri]:


Certain directory server operations require an administrative user.
This user is referred to as the Directory Manager and typically has a
bind Distinguished Name (DN) of cn=Directory Manager.  Press Enter to
accept the default value, or enter another DN.  In either case, you
will be prompted for the password for this user.  The password must
be at least 8 characters long.


Directory Manager DN [cn=Directory Manager]: 
password: (min. 8 characters)


The Administration Domain is a part of the configuration directory
server used to store information about Fedora software.  If you are
managing multiple software releases at the same time, or managing
information about multiple domains, you may use the Administration
Domain to keep them separate.

If you are not using administrative domains, press Enter to select the
default.  Otherwise, enter some descriptive, unique name for the
administration domain, such as the name of the organization responsible
for managing the domain.


Administration Domain [intra.tiri]:

The Administration Server is separate from any of your application
servers since it listens to a different port and access to it is
restricted.

Pick a port number between 1024 and 65535 to run your Administration
Server on. You should NOT use a port number which you plan to
run an application server on, rather, select a number which you
will remember and which will not be used for anything else.

The default in brackets was randomly selected from the available
ports on your system. To accept the default, press return.

Administration port [60000]: 

The Administration Server program runs as a certain user on your
system. This user should be different than the one which your
application servers run as. Only the user you select will be
able to write to your configuration files. If you run the
Administration Server as "root", you will be able to use the Server
Administration screen to start and stop your application servers.

Run Administration Server as [root]: 

The Administration Server runs on the Apache web server. Please provide the
directory where the Apache binary (httpd or httpd.worker) may be found. The
Administration Server needs an Apache compiled with the worker model.


Apache Directory [/usr/sbin/]: 

[slapd-thomasba]: starting up server ...
[slapd-thomasba]:    Fedora-Directory/1.0.2 B2006.060.1928
[slapd-thomasba]:    thomasba.thomasbaumann.com:389 (/opt/fedora-ds/slapd-thomasba)
[slapd-thomasba]: 
[slapd-thomasba]: [20/Jun/2006:09:03:45 +0200] - Fedora-Directory/1.0.2 B2006.060.1928 starting up
[slapd-thomasba]: [20/Jun/2006:09:03:46 +0200] - slapd started.  Listening on All Interfaces port 389 for LDAP requests
Your new directory server has been started.
Created new Directory Server
Start Slapd Starting Slapd server configuration.
Success Slapd Added Directory Server information to Configuration Server.
Configuring Administration Server...
Setting up Administration Server Instance...
Configuring Administration Tasks in Directory Server...
Configuring Global Parameters in Directory Server...

You can now use the console.  Here is the command to use to start the console:
cd /opt/fedora-ds
./startconsole -u admin -a http://thomasba.thomasbaumann.com:60000/

INFO Finished with setup, logfile is setup/setup.log
 
wissen/gpl/ldap/fedora_directory_server_an_alternative_to_openldap.txt · Zuletzt geändert: 05.09.2010 20:31
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de