Ability to execute the command-line portion of the installation process.

Ability to verify the Server is running by checking the process table.



Try This:

Run the setup program using all the defaults.





















Ch. 1 of Server Installation Guide

































Be sure to write down the administrative port number. You'll need to use it later.

Installation Walk-Through

 
The instructions on this page assume you're in the nshome directory.

Run Setup

Enter ./setup to start the command-line installation script.   This is what you should see:
 
Welcome to the Netscape Server Family installation program
This program will install Netscape Server products and the
Netscape Console on your computer.

It is recommended that you have "root" privilege to install the
software.

During the installation:
  - Press "Return" to choose the default and go to the next screen
  - Type "Control-B" to go back to the previous screen
  - Type "Control-C" to cancel the installation program
  - Enter comma-separated list of numbers, e.g. 1, 2, 3, for selection
    of multiple items.

Would you like to continue with setup? [Yes]: 

Just hit the Return or Enter key to accept the default selection, Yes.
 

License Statement

 
BY INSTALLING THIS SOFTWARE YOU ARE CONSENTING TO BE BOUND BY
AND ARE BECOMING A PARTY TO THE AGREEMENT FOUND IN THE
LICENCE.TXT FILE. IF YOU DO NOT AGREE TO ALL OF THE TERMS
OF THIS AGREEMENT, PLEASE DO NOT INSTALL OR USE THIS SOFTWARE

Do you agree to the license terms? [No]: YES

Agree to the license statement.  Note the default is "No" so you'll have to enter y or Yes.
 

Select Console And Directory Installation

 
Please select what you would like to install:

   1. Netscape Servers
       Install Netscape Servers and the integrated Netscape Console
       onto your computer.

   2. Netscape Console
       This will install the Netscape Console
       as a stand-alone Java application on your desktop or laptop.

To accept the default shown in brackets, press the Return key.
Please select the component you want to install [1]: 

Accept the default selection,  choice 1 (Install Netscape Servers and the integrated Netscape Console).
 

Select Typical Installation

 
Please select the installation type for this installation:

   1. Express installation
       Allow you to quickly install the servers using the most.
       common options and pre-defined defaults. Useful for quick
       evaluation of the products.

   2. Typical installation
       Allow you to specify common defaults and options.

   3. Custom installation
       Allow you to specify more advanced options. This is only
       recommended for experienced server administrators.

To accept the default shown in brackets, press the Return key.

Choose your installation type [2]: 

Accept the default selection, "Typical installation".
 

Accept Default Location For Server Files

 
This program will extract the server files from the distribution
media and install them into a diretory you specify. This directory
is called the server root and will contain the server programs, the
Administration Server, and the server configuration files.

To accept the default shown in brackets, press the Return key.

Server root [/usr/netscape/server4]: 

Assuming you have enough disk space, you should accept the default selection.  This will install the server software in /usr/netscape/server4, which is probably part of the / partition on your Solaris system.
 

Select All Installation Components

 
Netscape Server Family components:

Components with a number in () contain additional subcomponents
which you can select using subsequent screens.

    1. Netscape Server Family Core Components (3)
    2. Netscape Directory Suite (2)
    3. Administration Services (2)

Specify the components you wish to install [All]: 

Accept the default selection, All.   Note this selection includes the Admin Server.

 

Select Core Components

 
Netscape Server Family Core Components components:

Components with a number in () contain additional subcomponents
which you can select using subsequent screens.

    1. Netscape Server Family Core Components
    2. Netscape Core Java classes
    3. Java Runtime Environment

Specify the components you wish to install [1, 2, 3]: 

Accept the default selection: 1, 2, and 3.
 

Select Directory Suite Components

 
Netscape Directory Suite components:

Components with a number in () contain additional subcomponents
which you can select using subsequent screens.

    1. Netscape Directory Server
    2. Netscape Directory Server Console

Specify the components you wish to install [1, 2]: 

Accept the default selection: 1 and 2.
 

Select Administrative Services Components

 
Administration Services components:

Components with a number in () contain additional subcomponents
which you can select using subsequent screens.

    1. Netscape Administration Server
    2. Netscape Console

Specify the components you wish to install [1, 2]: 

Accept the default selection: 1 and 2.

 

Set  Machine Name

 
Enter the fully qualified domain name of your machine. A fully
qualified domain name is of the type <hostname>.<domainname>
(e.g. foobar.widget.com).

To accept the default shown in brackets, press the Return key.

Machine's name [marksun.mcom.com]:

Accept the default selection which should already be set to the name of your target system.

 

Set System User And Group

 
Choose a UNIX user and group to run individual Netscape
server as.  It is recommended that this user should have no
privileges in the rest of the system.  The Administration
Server will give this group some permissions in the server root
to perform server-specific operations.

You should create this user and group using your native UNIX
system utilities if they do not already exist.

Example for this user:   nobody or  nsuser or your choice ...
Example for this group:  nobody or nsgroup or your choice ...

To accept the default shown in brackets, press the Return key.

System User [nobody]: 
System Group [nobody]: 

Accept the default selections for System User and System Group: nobody.

At this point the installation program may appear to freeze - be prepared to wait about 30 seconds for the next question to appear.

Use The New Directory Server For Configuration Data

 
Netscape server information is stored in the Netscape 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 Netscape
configuration directory administrator.

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

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

Accept the default selection, No.

Use The New Directory Server To Store Data

 
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]: 

Accept the default selection, No.

Set Network Port Number

 
The directory server usually listens to network port 389.  You may
accept this as the default by pressing Enter.  If you want the
directory server to listen to a different port, enter the port number
and press Enter.  Only the superuser may use port numbers less than
1024.

Directory server network port [389]: 

Accept the default selections for main network port number: 389.
 

Enter Directory Server Identifier

 
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 [marksun]: 

Use the default identifier, which is the name of the target system.

 

Enter Administrator's Name And Password

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

Netscape configuration directory server
administrator ID [admin]: 
Password: admin
Password (again): admin

Use the default administrator ID, admin.  We suggest you use the same word for the password: admin.  You'll have to enter the password twice.  Note this is the password you'll use to login to Netscape Console.  If you use anything other than the defaults listed here, be sure to write them down! 

Use The New Directory Server To Store Data

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

Suffix [o=mcom.com]: 

Accept the default selection, which should already be set to the domain of your target system.

Enter The Directory Server Administrator's Name And Password

 
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: dirmanager
Password (again): dirmanager

Accept the default selection for Directory Manager DN.   We suggest you use the password dirmanager.  Note the password must be 8 characters long, so "manager" won't work.  Note that DN stands for "distinguished name" and "cn" stands for "common name".


 

Confirm The  Administrative Domain

 
The Administration Domain is a part of the configuration directory
server used to store information about Netscape 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 [mcom.com]: 

Accept the default selection.

Enter Administrative Port Number

 
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 [29574]: 

 

Set Administrative User Privleges

 
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]: 

 

Observe Server Installation Messages

 
Extracting Netscape core components...
Extracting Netscape Server Family Core Components...
Extracting Netscape Core Java classes...
Extracting Java Runtime Environment...
Extracting Netscape Directory Server...
Extracting Netscape Administration Server...

.....

[slapd-marksun]: starting up server ...
[slapd-marksun]: [12/Jan/1999:09:31:54 -0800] - Netscape-Directory/4.0 B98.349.0306 starting up
[slapd-marksun]: [12/Jan/1999:09:31:58 -0800] - listening on all interfaces port 389 for LDAP requests
[slapd-marksun]: [12/Jan/1999:09:31:58 -0800] - slapd started.
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...
Your parameters are now entered into the Administration Server
database, and the Administration Server will be started.

Changing ownership to admin user root...
Setting up Admininistration Server Instance...
Configuring Administration Tasks in Directory Server...
Configuring Global Parameters in Directory Server...
Netscape-Administrator/4.0 B98.323.0318

startup: listening to http://marksun, port 29574 as root

warning: daemon is running as super-user

Info: Cache expiration set to 600 seconds

Info: Cache expiration set to 600 seconds

Press Return to continue...

Hit the Return key.

 

Don't Remove The installation Cache!

 
The installation cache "install.inf" generated by the setup
program is located in the server root's setup directory. This
file can be used as a silent installation script for installation
of similar servers on other machines. It, however, may contain
sensitive information such as user IDs and passwords you have
entered.

Would you like to remove it? [Yes]: NO

Do not use the default selection here; instead enter No.   The installation cache file would normally be removed at this point because it contains administrative passwords and logins that could be used to compromise the security of your Directory Server.  Since we're just practicing installation, we want to keep this file so we can refer to it later.

Finished!

 
Go to /usr/netscape/server4 and type startconsole to begin
managing your servers.
Don't do that quite yet - let's make sure the Directory Server process is really running.

 Check The Server Process

Use the ps command to look for the slapd process:
ps -ef | grep slapd
You should see a process owned by nobody listed as ./ns-slapd

Copyright © 2000
Sun-Netscape Alliance