Sun GlassFish Enterprise Server v3 Prelude Installation Guide

Installing in Silent Mode

The non-interactive installation program reads the specified answer file, checks for adequate disk space, and installs Enterprise Server based on the data in the answer file.

Using the Silent Mode Installation Command

You can use the following options when you run the command for silent mode installations:

-a answer-file

Run this program in silent mode using the answer file specified. Use this option with -s option.

-l log-directory

Write log information to this directory.

-q

Set logging level to WARNING.

-v

Set logging level to FINEST.

-s

Run this application in silent mode.

-j javahome

Use this directory for the JDK software installation.

-n answer-file

Run program in trial mode to generate an answer file to use for silent mode.

[-h | -help]

Display this help message.

ProcedureTo Install in Silent Mode

Before You Begin

Verify that the parameters in the answer file are set to values that you want to use for your silent installation. For more information about the file, see Example 1–1.

  1. Navigate to the directory where you copied the distribution file and your installation answer file.

  2. From the command line, type:

    distribution-file -a answer-file -s

    distribution-file is the name of the file that you downloaded during the Setting up the Installation Answer File process.

    -a option specifies the name of your answer-file. If you do not include a path to the installation answer file, the file is created in the directory where you run the installation program.

    -s option specifies running in silent mode.

    For example:

    sges-v3-prelude-unix.sh -a v3–prelude-answer -s

    When the prompt is returned, the silent installation is complete, and the installation components are installed on your system.

  3. Start Enterprise Server.

    For instructions, see To Start a Domain (or Server) in Sun GlassFish Enterprise Server v3 Prelude Administration Guide.