Installing and Administering an AnswerBook2 Server

Running a Documentation Server from the CD

To run a documentation server directly from the Solaris 7 Documentation CD:

  1. Insert the Solaris 7 Documentation CD into your CD-ROM drive.

  2. Make sure you are logged in as super-user.


    % su -
    
  3. Change directory to (or bring up and go to) the top level of the CD-ROM volume.

    This should look similar to the following location:


    /cdrom/sol_2_7_doc/

    This directory contains one directory, a README file, the installer utility, and the ab2cd script. Use the ab2cd script to run the documentation server directly from the CD.

  4. Run the following command:


    # ./ab2cd
    
  5. Access the documentation server using the following URL:


    http://server:8888/
    

    Where server is the name of the machine to which the CD-ROM drive is attached.

    Note that a documentation server run from the CD always runs on port 8888.

  6. (Optional) If document collections are installed already on your server machine and you want the CD-driven server software to recognize those collections, use this command:


    # ab2cd -s
    

    This form of the command causes the CD-driven server software to look for other collections installed on this system and add them to its database.

  7. To stop running the server from the CD, enter the following command:


    # /cdrom/sol_2_7_doc/ab2cd stop
    

Caution - Caution -

Running the documentation server directly from the CD tends to be slow. Do not use this approach if you expect other users to access this documentation server.


Important Notes

Keep these things in mind when you run the server from the CD:

Running a Server from the CD and a Server on your System

To run two AnswerBook2 servers (one on your system, one from the CD), keep these rules in mind: