Sun Java System Access Manager Policy Agent 2.2 Guide for Sun Java System Web Proxy Server 4.0

Generating a State File for a Web Agent Installation on Solaris and Linux Systems

This section describes how to generate a state file for installing a web agent on Solaris systems and Linux systems. The description that follows provides an option of performing this task through the GUI and an option of performing this task through the command line.

Regardless of which type of installation you choose, GUI or command line, you need to initially issue one command for recording the information you will enter as you follow the agent installation steps. Enter all the necessary installation information in order to create a complete state file.

ProcedureTo Generate a State File for a Web Agent Installation on Solaris and Linux Systems

The following task describes how to generate a state file for a web agent installation on a Solaris system or a Linux system.

  1. Change to the directory in which you unpacked the agent binaries.

    This directory contains the setup program, which is used for installing a web agent and for performing other tasks.

  2. Issue the command that applies as follows:

    • To use the GUI installation, issue the following command:

      # ./setup -saveState filename
      
    • To use the command-line installation, issue the following command:

      # ./setup -nodisplay -saveState filename
      
    -saveState

    An option that saves all of your responses to installation prompts in a state file.

    filename

    Represents the name that you choose for the state file.

  3. Enter the installation information as described in this guide.

    See the appropriate section of this guide, according to your installation needs:

    • GUI installation on Solaris Systems

    • Command-Line installation on Solaris Systems

    • GUI installation on Linux Systems

    • Command-Line installation on Linux Systems

    Your answers to the prompts are recorded in the state file. When the installation is complete, the state file is created in the same directory where the installation program is located.


    Note –

    When generated, a state file will have read permissions for all users. However, because the state file contains clear text passwords, change the file permissions to restrict read and write access to the user root.