|
|
A full installation of CSRC requires these software packages to operate properly. This chapter provides installation-specific information you will need as you install the following software packages:
In addition to a copy of the "CSRC Installation Worksheet" (see Figure 2-1), Table 3-1 lists the installation kits, utilities, and files you need to install the CSRC required software packages.
| Software Package | What You Need |
|---|---|
Perl installation kit for Solaris 2.6, included on the CSRC distribution media. The gunzip utility included in the GNU gzip package.The gunzip utility must be installed in your search path. The README.txt file on the CSRC CD-ROM in the Perl/ directory. | |
Cisco Network Registrar | CNR installation kit, included on the CSRC distribution media. |
Web server | Web server installation kit for Solaris 2.6. The CSRC distribution media contains an installation kit for the Apache Web server. The gunzip utility included in the GNU gzip package. The gunzip utility must be installed in your search path. The README.txt file on the CSRC CD-ROM in the Apache/ directory. |
LDAP directory server | LDAP directory server software. Note For information about what you will need for the Netscape Directory Server, see "Netscape Directory Server." |
Netscape Application Server (NAS) | NAS installation kit for Solaris 2.6, included on the CSRC distribution media. |
The following sections describe the installation requirements for Perl and how to install the binary distribution and source distribution of Perl.
All of the CSRC software packages require that you install Perl on the same host on which each package is installed. If you install multiple CSRC packages on the same host, you only need to install Perl once on that host.
As you install Perl, do the following:
For more information about the CSRC packages, see the "CSRC Software Packages" in Table 3-1.
As you install Perl, be sure to indicate the pathname of the Perl executable (box 1) on the "CSRC Installation Worksheet" (see Figure 2-1).
Step 1 of the CSRC installation process is to install Perl version 5.00503 or higher in the /opt/csrc/perl directory. You can obtain a copy of Perl in the following ways:
To install Perl, do the following:
Step 1 Enter the following command to change to the /opt directory:
# cd /opt
Step 2 Enter the following command to make the csrc directory, if it does not already exist:
# mkdir csrc
Step 3 Enter the following command to change to the csrc directory:
# cd csrc
Step 4 Enter the following command to copy Perl from the distribution media to the csrc directory:
# cp /cdrom/csrc_1_0_1/Perl/Solaris/perl-install.tar.gz .
where cdrom is the installation media
Step 5 Enter one of the following commands to unpack the perl-install.tar.gz file:
gunzip
# gunzip -c perl-install.tar.gz | tar xvf -
gzip
# gzip -dc perl-install.tar.gz | tar xvf -
Step 6 Enter the following command to remove the perl-install.tar.gz file since it is no longer needed:
# rm perl-install.tar.gz
This completes the Perl binary installation.
For more information, see the README.txt file on the CSRC CD-ROM in the Perl/ directory.
After you install Perl, execute the following command to verify that Perl is functioning correctly:
# /opt/csrc/perl/bin/perl -V
If the Perl installation is not valid, executing perl -V (uppercase V) results in a series of errors. If this occurs, do the following:
The following sections describe the installation requirements for Cisco Network Registrar (CNR) and how to configure CNR for CSRC.
All of the CSRC software packages require CNR version 3.0 (1)T or higher Technology (T) version, except the CSCOcsrcd package. This package does not require CNR.
As you install CNR, be sure you do the following:
For more information about the CSRC software packages, see Table 4-1.
As you install CNR, be sure to indicate the following information on the "CSRC Installation Worksheet" (see Figure 2-1):
Step 1 of the CSRC installation process is to install Cisco Network Registrar (CNR) version 3.0 (1)T or higher Technology (T) version for CSRC to function properly. You must install the user interface component (GUI component) of CNR on the same host(s) as the CSCOcsrcw and CSCOcsrcu packages. You must install the servers component of CNR on the same host as the CSCOcsrcn package.
If you already have CNR installed, check the version number of the installed graphical user interface (GUI) and the CNR servers to ensure that they meet the CSRC requirement. To check the GUI version number, do the following:
Step 1 Open the CNR graphical user interface (GUI) using the following command:
/opt/nwreg2/usrbin/ntwkreg
Step 2 In the Help menu, select the About Network Registrar option. The CNR version displays in the window that appears.
To check the CNR servers version number, do the following:
Step 1 Enter the following command to change directories:
# cd /opt/nwreg2/bin
Step 2 If you are using the C shell, enter the following command to display the version number:
# setenv LD_LIBRARY_PATH /opt/nwreg2/lib; ./dns -v
If you are using the Bourne shell, enter the following command to display the version number:
# LD_LIBRARY_PATH=/opt/nwreg2/lib dns -v
The information that displays is similar to the following:
Copyright (C) 1994-1999 by Cisco Systems, Inc. product: 3.0(2)T nightly build #140287 . . .
To install CNR, enter the following command line to start the CNR installer:
# pkgadd -d /cdrom/nr_3_0_1_t/solaris/see_readme_before_using nwreg2
where -d cdrom specifies the directory on which the CD-ROM is mounted. For example, replace /cdrom/nr_3_0_1_t with the directory on which the CD-ROM is mounted. This directory varies, depending on how your Solaris volume daemon is configured and on which version of CNR you are installing.
Follow the installer and install the appropriate CNR components on the hosts specified in the "CSRC CNR Installation Requirements" section.
For more information about installing CNR, see the installation section of Getting Started with Network Registrar.
After you install the proper version of CNR, you must configure at least one cluster and set the CNR license key for that cluster. If you do not do this before you begin installing the CSRC software packages, CSRC will not install successfully.
The license key is located on the back of the CNR distribution media. You must enter your license the first time you configure a cluster.
To set the license key and configure one cluster, do the following:
Step 1 Enter the following command to start the CNR graphical user interface (GUI):
/opt/nwreg2/usrbin/ntwkreg
Step 2 From the Admin menu, select Clusters.
Step 3 In the Cluster dialog box, click Add Cluster.
Step 4 In the Add Cluster dialog box, enter the cluster name. The cluster name must be the name of the host on which the database runs. This is usually the name of the DNS server.
Step 5 Select the Connect to this cluster checkbox. You must connect to the cluster to set the license key.
Step 6 Click OK.
Step 7 In the Login for Cluster dialog box for that cluster, enter the username and password.
Step 8 Click OK.
Step 9 From the License dialog box, click New Key.
Step 10 From the Cluster Properties dialog box, select Edit License Key.
Step 11 Enter the 16-character license.
Step 12 Click OK.
For more information, see Getting Started with Network Registrar.
Step 3 of the CSRC installation process is to install a Web server. CSRC operates with most Web servers. If you do not have a Web server currently installed, you must install one. The following sections describe the installation requirements and the installation procedures for installing the Apache Web server that is distributed on the CSRC distribution media.
For information on installing the Netscape Enterprise Web server, see "Netscape Enterprise Server."
The CSCOcsrcw software package requires that you install a Web server on the same host as the CSCOcsrcw package. The CSRC distribution media contains an installation kit for the Apache Web server. You can choose to purchase and install a different Web server.
After installing the Apache Web server, look in the /opt/csrc/apache/conf/httpd.conf file for the following pre-configured parameter values, and record these on the "CSRC Installation Worksheet" (see Figure 2-1). If you are using the Apache executables that are included with the CSRC distribution, then the following parameters are found in the httpd.conf file:
The CSRC distribution media contains an installation kit for the Apache Web server.
Install the Apache Web server as root so you can use the default Web server port 80.
To install Apache, do the following:
Step 1 Enter the following command to create the /opt/csrc directory if it does not already exist:
# mkdir -p /opt/csrc
Step 2 Enter the following command to change to the /opt/csrc directory:
# cd /opt/csrc
Step 3 Enter the following command to copy Apache from the distribution media to the csrc directory:
# cp /cdrom/csrc_1_0_1/Apache/Solaris/apache-install.tar.gz .
where cdrom specifies the directory on which the CD-ROM is mounted.
Step 4 Enter one of the following commands to unpack the apache-install.tar.gz file:
gunzip
# gunzip -c apache-install.tar.gz | tar xvf -
gzip
# gzip -dc apache-install.tar.gz | tar xvf -
Step 5 Enter the following command to remove the apache-install.tar.gz file since it is no longer needed:
# rm apache-install.tar.gz
This completes the Apache installation.
For more information about installing the Apache Web server, see the README.txt file on the CSRC CD-ROM in the Apache/ directory.
After you finish installing the Apache Web server, edit the httpd.conf file in the /opt/csrc/apache/conf directory as follows:
Alias /csrc/images/ "/opt/csrc/images/" <Directory "/opt/csrc/images">Options Indexes Multiviews AllowOverride None Order allow,deny Allow from all
</Directory> Alias /csrc/ "/opt/csrc/html/" <Directory "/opt/csrc/html">Options Indexes Multiviews AllowOverride None Order allow,deny Allow from all
</Directory>
ErrorDocument 404 /csrc/ur-redirect.html
Step 4 of the CSRC installation process is to install an LDAP version 3 compliant server.
For information about installing NDS, see "Netscape Directory Server."
The following sections describe the installation requirements and how to install Netscape Application Server (NAS).
The NAS installer asks you to specify information that you provided when installing the Web server and it asks you to specify NAS parameters that the CSRC installer requires. As you answer the installer's questions, refer to the "CSRC Installation Worksheet" (see Figure 2-1) to answer the following questions about the Web server parameters:
Be sure to also indicate on the "CSRC Installation Worksheet" the following NAS parameters:
Step 5 of the CSRC installation process is to install the Netscape Application Server (NAS) version 2.11 SP7 beta 1 or higher for Solaris. The CSRC distribution media contains pre-compiled NAS binary files for Solaris 2.6.
For sample NAS installations, see the following appendixes in this guide:
To start the NAS installation, enter the following commands:
# cd /cdrom/csrc_1_0_1/NAS/nas211_sp7_beta1/Solaris # ./setup_NAS.sh
where cdrom specifies the directory on which the CD-ROM is mounted.
During NAS installation, specify the following information at the installer's prompt:
Enter the product key for Netscape Application Server (NAS): product key
Enter the number (0-32) of C++ Servers (KCS) to install. [1]: 0
![]() | Tips During the initial installation, if you do not specify zero for the number of KCS processes, you can change the number when the NAS installer confirms all of the values you enter. At that time, change the value of KIVAcs to zero, following the online instructions. |
Step 6 of the CSRC installation process is to install the CSRC software packages. For more information, see "Installing CSRC Software Packages."
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Oct 27 14:04:30 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.