Trusted Solaris 7 Roadmap

To Install the AnswerBook2 Server Software


Caution - Caution -

In the Trusted Solaris environment, install the AnswerBook2 server software only from the Trusted Solaris Documentation CD. Do not install the server software from the Solaris Documentation CD in the Trusted Solaris environment or install the server software from the Trusted Solaris Documentation CD in the Solaris environment. This procedure describes how to install the AnswerBook2 server in the Trusted Solaris environment. For installing the server software from the Solaris Documentation CD in the Solaris environment, see "Accessing Online Documentation" in Solaris 7 (SPARC Platform Edition) Installation Library


  1. Assume the administrator role and go to an ADMIN_LOW workspace.

    See "Assuming a Role and Working in a Role Workspace" in Trusted Solaris Administrator's Procedures, if needed.

  2. Allocate the CD-ROM device.

    See "Device Management Procedures" in Trusted Solaris Administrator's Procedures for how to allocate the device, if needed.

    1. Move the device to the Allocated Devices list.

    2. Insert the Trusted Solaris 7 Documentation CD into the CD-ROM device.

    3. Press RETURN when prompted.


      Press RETURN when cdrom_0 is ready, or ^C to cancel.
    4. Enter y to mount the CD-ROM, when prompted.


      Do you want cdrom_0 mounted (y/n)?  y
      
    5. Enter RETURN to close the Device Allocation window.


      Press RETURN to quit window.
  3. In a profile shell, change to the directory where the documentation server packages are located.

    Use the following path, replacing architecture with i386 (for Intel) or sparc, to specify the architecture of the current host.


    $ cd /cdrom/admin/trusted_sol_7_doc/Trusted_Solaris_7_Doc/architecture/Product
    

    For example, the following command changes to the directory for the server software packages for a SPARC AnswerBook server:


    $ cd /cdrom/admin/trusted_sol_7_doc/Trusted_Solaris_7_Doc/sparc/Product
    
  4. Run pkgadd(1M) and select the three server software packages.


    $ pkgadd -d .
    

    Select these server software packages:

    • SUNWab2r (0.3 Megabytes) - Installs in root partition and provides configuration and start-up files.

    • SUNWab2s (1.00 Megabytes) - Provides shared files for performing document processing.

    • SUNWab2u (26.00 Megabytes) - Provides executable and back-end processing files for server and administration functions.


    Note -

    During installation, an entry for the answerbook2 profile is automatically made in the local host's /etc/security/tsol/tsolprof file. If using NIS+ for administering users and roles, do Step 5 to make the answerbook2 profile available via NIS+ for assignment to the administrator role.


  5. If using NIS+, add the answerbook2 profile to the NIS+ tsolprof table, if desired.

    1. Assume the security administrator role.

    2. Run the grep(1) command to find the answerbook2 profile entry in the local file, and pipe the entry to the nisaddent(1M) command to install the entry in the NIS+ tsolprof table, as shown in the following example.


      $ grep answerbook2 /etc/security/tsol/tsolprof | nisaddent tsolprof
      
  6. To allow manual startup or shutdowns of the AnswerBook2 server, add the AnswerBook2 profile to the administrator role, if desired.

    See procedures in "Setting Up or Modifying a User or Role Account" in Trusted Solaris Administrator's Procedures, if needed for more details about how to access the User Manager and add a profile to an account.


    Note -

    The answerbook2 profile must already have been installed as decribed in Step 5 into the local tsolprof file.


    1. Assume the security administrator role and go to an ADMIN_LOW workspace.

    2. Bring up the User Manager and choose a naming service.

      If NIS+ is being used to administer users, choose NIS+ to store the profile assignment in the tsoluserNIS+ table. In a NIS+ domain, admin is defined only in the tsolprof NIS+ table. Choosing None stores the answerbook2 profile assignment in the local tsoluser file.

    3. Double-click on the name of the admin role.

    4. On the User Manager Navigator, click the Profiles button to bring up the profiles dialog box.

    5. Move the answerbook2 profile to the Selected List and click OK.

    6. When the dialog box closes, click the Done button to close the Navigator, and choose Close from the File menu to close the User Manager.

  7. Stop and restart the AnswerBook2 server, either by using ab2mgr or rebooting.

    If the security administrator role added the answerbook2 profile to the administrator role, as described in Step 6 (the previous step), user the /etc/init.d/ab2mgr command to stop and restart the server. Otherwise, reboot to start the server.


    $ reboot
    /* OR */
    $ /etc/init.d/ab2mgr stop
    $ /etc/init.d/ab2mgr start
    

  8. Install the document collections.

    See "To Install AnswerBook2 Document Collections".