Complete Contents
Introduction
Chapter 1 Preparing for Installation
Chapter 2 Using Express and Typical Install
Chapter 3 Using Custom Install
Chapter 4 Silent Installation
Chapter 5 Installing and Configuring the Synch Service
Chapter 6 Upgrading and Migrating the Directory Server
Chapter 7 Troubleshooting
Previous Next Contents Index


Chapter 2 Using Express and Typical Install

This chapter describes how to perform basic installation activities. This chapter contains the following sections:

It also describes how a 4.x Directory Server can be used with 3.x Netscape servers. For information on performing custom installations, see Chapter  3, "Using Custom Install." For information on performing silent installs, see Chapter  4, "Silent Installation."


Using Express Installation
Use express installation if you are installing the Directory Server to evaluate or test the product. Because express installation does not offer you the choice of selecting your server port number or your directory suffix, you should not use it for production installations.

To perform an express installation, do the following:

  1. On Unix machines, log in as root (root login is required for express installation). On Windows NT machines, login with Administrator privileges.
  2. If you have not already done so, download the product binaries file to the installation directory.
  3. On Unix, unpack the product binaries file using the following command:
  4. # gzip -dc <filename>.tar.gz | tar -xvof-

    where <filename> corresponds to the product binaries that you want to unpack.

    On Windows NT, unzip the product binaries.

  5. Run the setup program. You can find it in the directory to which you untarred or unzipped the installation files.
  6. When you are asked what you would like to install, select the default, Netscape Servers.
  7. When you are asked what type of installation you would like to perform, select Express Installation.
  8. For server root or destination directory, enter a full path to the location where you want to install your server. The location that you enter must be some directory other than the directory from which you are running setup. If the directory that you specify does not exist, setup creates it for you.
  9. For server components, select the default (all components). On Windows NT, you can deselect the NT Synchronization Service component if you are not going to synchronize user and group information between this Windows NT host and your Directory Server. For information on how to install the NT Synchronization Service, see Chapter  5, "Installing and Configuring the Synch Service."
  10. Unix only. For the user and group to run the servers as, enter the identity that you want this server to run as. For more information on the user and groups that you should use when running Netscape servers, see "Decide Which User and Group to Run Netscape Servers As (Unix only)".
  11. For Configuration Directory Administrator ID and password, enter the name and password that you will log in as when you want to authenticate to the console with full privileges (think of this as the root or superuser identity for the Netscape Console).
  12. For Directory Manager DN, enter the distinguished name that you will use when managing the contents of your directory with unlimited privileges (in former releases of the Directory Server, the Directory Manager was labeled the root DN). This is the entry that you bind to the directory as when you want access control to be ignored. This distinguished name does not need to conform to any suffix configured for your directory. It also should not correspond to an actual entry stored in your directory. Examples of possible directory manager DNs are:
  13. cn=Directory Manager

    cn=root

    uid=admin

  14. For Directory Manager password, enter a value that is at least 8 characters in length.
The server is then unpackaged, minimally configured, and started. You are told what host and port number the Administration Server is listening on.

Note the following about your new Directory Server installation:

The Directory Server is listening on port 389.

The server is configured to use the following suffixes:

Do not modify the contents of the directory under the last two suffixes. Either place data under the first suffix, or create a new suffix to be used for this purpose.

When you are asked if you want to delete the install.inf file, select the default (Yes).


Using Typical Installation
Most first time installations of the 4.1 Directory Server can be performed using typical installation. You should also use typical installation when you are upgrading from a previous version of the Directory Server. For information on upgrading from a previous version of the Directory Server, see Chapter  6, "Upgrading and Migrating the Directory Server."

Typical installation differs slightly depending on whether you are installing on Unix or Windows NT. The following sections outline the different procedures.

Using Typical Installation on Unix

To perform a typical installation on Unix:

  1. Log in as root.
  2. If you have not already done so, download the product binaries file to the installation directory
  3. Unpack the product binaries file using the following command:
  4. # gzip -dc <filename>.tar.gz | tar -xvof-

    where <filename> corresponds to the product binaries that you want to unpack.

  5. Run the setup program. You can find it in the directory where you untarred installation files.
  6. When you are asked what you would like to install, select the default, Netscape Servers.
  7. When you are asked what type of installation you would like to perform, select the default, Typical Installation.
  8. For server root, enter a full path to the location where you want to install your server. The location that you enter must be some directory other than the directory from which you are running setup. If the directory that you specify does not exist, setup creates it for you.
  9. For Netscape Server Family, Netscape Server Family Core Components, Netscape Directory Suite, and Administration Services components, select the default (all components).
  10. For hostname, select the default (which is the local host).
  11. For the user and group to run the servers as, enter the identity that you want this server to run as. For more information on the user and groups that you should use when running Netscape servers, see "Decide Which User and Group to Run Netscape Servers As (Unix only)".
  12. For configuration directory, select the default if this directory will host your o=NetscapeRoot tree. Otherwise, enter Yes. You will then be asked for the contact information for the configuration directory. If the server you are currently installing is not the configuration directory, then the configuration directory must exist before you can continue this installation.
  13. For the server that will host your user data, you must decide if this Directory Server will store your enterprise's data. For most cases, you can select the default. However, if this server instance is intended to be only a configuration directory, then you should enter Yes.
  14. For the Directory Server port, select the default (389) unless you already have another application using that port.
  15. For server identifier, enter some unique value (normally the default is sufficient). This value is used as part of the name of the directory in which the Directory Server instance is installed. For example, if your machine's host name is phonebook then this name is the default and selecting it will cause the Directory Server instance to be installed into a directory labeled slapd-phonebook.
  16. For Configuration Directory Administrator ID and password, enter the name and password that you will log in as when you want to authenticate to the console with full privileges.
  17. For a directory suffix, enter a distinguished name meaningful to your enterprise. This string is used to form the name of all your organization's directory entries. Therefore, pick some name that is representative of your organization. It is recommended that you pick a suffix that corresponds to your internet DNS name.
  18. For example, if your organization uses the DNS name airius.com, then enter o=airius.com here.

  19. For Directory Manager DN, enter the distinguished name that you will use when managing the contents of your directory with unlimited privileges (in former releases of the Directory Server, the Directory Manager was known as the root DN). This is the entry that you bind to the directory as when you want access control to be ignored. This distinguished name can be short and does not have to conform to any suffix configured for your directory. It also should not correspond to an actual entry stored in your directory. Examples of possible directory manager DNs are:
  20. cn=Directory Manager

    cn=root

    uid=admin

  21. For Directory Manager password, enter a value that is at least 8 characters long.
  22. For Administration Domain, enter the domain that you want this server to belong to. The name that you enter should be a unique string that is descriptive of the organization responsible for administering the domain. For information on administration domains, see "Determine the Administration Domain".
  23. For administration port number, enter a value that is not in use. Be sure to record this value.
  24. For the user you want to run the Administration Server as, enter Root. This is the default. For information on why you should run the Administration Server as root, see "Decide Which User and Group to Run Netscape Servers As (Unix only)".
The server is then unpackaged, minimally configured, and started. You are told what host and port number the Administration Server is listening on.

The server is configured to use the following suffixes:

Do not modify the contents of the directory under the last two suffixes. Instead, place your directory data under the suffix that you created, or create a new suffix for this purpose. For details on how to create a new suffix for use by your Directory Server, see the Netscape Directory Server Administrator's Guide.

When you are asked if you want to delete the install.inf file (or installation cache), for security reasons you should select Yes.

Using Typical Installation on Windows NT

To perform a typical installation on Windows NT:

  1. Log in as administrator.
  2. If you have not already done so, download the product binaries file to the installation directory.
  3. Unzip the product binaries files and run the setup program.
  4. When you are asked what you would like to install, select the default, Netscape Servers.
  5. When you are asked what type of installation you would like to perform, select the default, Typical.
  6. For server installation root, enter a full path to the location where you want to install your server. The location that you enter must be some directory other than the directory from which you are running setup. If the directory that you specify does not exist, setup creates it for you.
  7. For Components, select the default (all components). Do not select the NT Synchronization Service component if you are not going to synchronize user and group information between this Windows NT host and your Directory Server. For information on how to install the NT Synchronization Service, see Chapter  5, "Installing and Configuring the Synch Service."
  8. For configuration directory, select the default if this directory will host your o=NetscapeRoot tree. Otherwise, enter the appropriate contact information for the configuration directory. If this Directory Server is not the configuration directory, then the configuration directory must exist and be running before you can continue this installation.
  9. For the directory to store data in, you must decide if this Directory Server instance will store your enterprise's data. For most cases, you can select the default, "Store data in this Directory Server". However, if this server instance is intended to be only a configuration directory, then you should select "Store data in an existing Directory Server."
  10. For server identifier, enter some unique value (normally the default is sufficient). This value is used as part of the name of the directory in which the Directory Server instance is installed. For example, if your machine's hostname is phonebook then this name is the default and selecting it will cause the Directory Server instance to be installed into a directory labeled slapd-phonebook.
  11. For a directory suffix, enter a distinguished name meaningful to your enterprise. This string is used to form the name of all your organization's directory entries. Therefore, pick some name that is representative of your organization. It is recommended that you pick a suffix that corresponds to your Internet DNS name.
  12. For example, if your organization uses the DNS name airius.com, then enter o=airius.com here.

  13. For the Directory Server port, select the default (389) unless you already have another application using that port.
  14. For Configuration Directory Administrator ID and password, enter the name and password that you will log in as when you want to authenticate to the console with full privileges.
  15. For Administration Domain, enter the domain that you want this server to belong to. The name that you enter should be a unique string that is descriptive of the organization responsible for administering the domain. For information on administration domains, see "Determine the Administration Domain".
  16. For Directory Manager DN, enter the distinguished name that you will use when managing the contents of your directory with unlimited privileges (in former releases of the Directory Server, the Directory Manager was known as the root DN). This is the entry that you bind to the directory as when you want access control to be ignored. This distinguished name can be short and does not have to conform to any suffix configured for your directory. It also should not correspond to an actual entry stored in your directory. Examples of possible directory manager DNs are
  17. cn=Directory Manager

    cn=root

    uid=admin

  18. For Directory Manager password, enter a value that is at least 8 characters long.
  19. For administration port number, enter a value that is not in use. Be sure to record this value.
The server is then unpackaged, minimally configured, and started. You are told which host and port number the Administration Server is listening on.

The server is configured to use the following suffixes:

Do not modify the contents of the directory under the last two suffixes. Instead, place your directory data under the suffix that you created, or create a new suffix for this purpose. For details on how to create a new suffix for use by your Directory Server, see the Netscape Directory Server Administrator's Guide.

When you are asked if you want to delete the install.inf file (or installation cache), for security reasons you should select Yes.


Creating a Directory Tree
During installation, a simple directory database was created for you. In addition, a simple directory structure was placed in the database for you to use. This directory structure contained basic access control and the major branch points for the recommended directory structure.

At this time, you must populate your database with user entries. There are several ways you can create a directory:

As you are populating your directory, consider your access control needs and set access control accordingly. If you do not set any access control for your directory, you will be able to access your directory only as the root DN. For more information on access control, see the Netscape Directory Server Deployment Guide and the Netscape Directory Server Administrator's Guide.


Using Netscape SuiteSpot 3.x Servers with a Netscape 4.x Directory Server
The Netscape 3.x Directory Server used to contain functionality to automatically include SuiteSpot settings in the directory. This functionality was available both during installation and through the directory manager forms. The 4.x Directory Server no longer includes any such functionality for automatic integration with SuiteSpot 3.x servers. However, there are work-arounds available.

First, if you are migrating from Netscape 3.x Directory Server to 4.x, then all you need to do is complete the migration process. All your SuiteSpot settings will be preserved during the migration, and your 3.x Netscape servers should continue to work flawlessly with your new 4.x Directory Server. For information on migrating Directory Servers to 4.x, see Chapter  6, "Upgrading and Migrating the Directory Server."

If, however, you are installing a brand-new 3.x SuiteSpot server and you want that server to work with a 4.x Directory Server that has never before been used by a 3.x server, then you need to add a few additional entries to your 4.x Directory Server. A template for these entries is available in the following file:

<NSHOME>/slapd-<server ID>/ldif/suitespot3.ldif

This file contains the basic entries and permissions necessary to allow a 3.x SuiteSpot server to work with the 4.x Directory Server. Use the ldapmodify command-line tool to add the contents of this file to your already running 4.x Directory Server. Doing so adds the same directory entries to your 4.x Directory Server as if you had used the "Database Management" | "SuiteSpot Settings" form in the 3.x Directory Server manager.

For information on how to add LDIF to a Directory Server with ldapmodify, see the Netscape Directory Server Administrator's Guide. For details on managing SuiteSpot integration, see the "Managing SuiteSpot Integration" section in chapter 4 of the Netscape Directory Server 3.x Administrator's Guide.

 

© Copyright 1999 Netscape Communications Corporation, All Rights Reserved.