Installing and Administering an AnswerBook2 Server

Adding New Collections

To add a collection to the server's database, select Add Collection to List from the Admin GUI. This function assumes the collection already exists as an installed package on the server's system or some other system to which the server has access. If the collection is not yet installed, use pkgadd to add the collection first, then use this function. For new collections (those that are on the Solaris 7 Documentation CD, for example), if you run the pkgadd command on the server, it adds the collections to the server's list automatically.

Perform the following steps to install the collection:

  1. Enter a valid path to the collection file in the Path to Collection field.

    For example, /opt/answerbooks/english/solaris_2.7/SUNWababe/collinfo. The path must point to a directory that contains either a collinfo file for an AnswerBook2 collection or an ab_cardcatalog file for an AnswerBook1 collection.

  2. Click on Add Collection.

You can also use the following command to perform this function:


% /usr/lib/ab2/bin/ab2admin -o add_coll -d path_to_collection

Note -

After you install a collection, you must restart the documentation server. To restart the documentation server, click Restart on the Admin GUI's status page or type the following from the command line:


# /usr/lib/ab2/bin/ab2admin -o restart