Sun GlassFish Enterprise Server v3 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.

ProcedureTo Install Using Silent Mode

Before You Begin

Create the answer file as described in To Create the Installation Answer File.

Verify that the parameters in the answer file are set to the values that you want to use for silent installation.

  1. Navigate to the directory that contains the self-extracting installer file and the installation answer file.

  2. From the command line, type:

    self-extracting-file-name -a answer-file -s

    self-extracting-file-name is the name of the file that you downloaded during Creating the Installation Answer File. Ensure that you provide the complete path to the answer file.

    -a specifies the name of the answer-file. If you do not include a path to the file, the file is created under the directory from which the installation program is run.

    -s specifies running in silent mode.

    For example:

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

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

  3. (Optional) Start Enterprise Server using the instructions in the Sun GlassFish Enterprise Server v3 Quick Start Guide.

    The guide explains how to perform basic tasks such as starting the server, accessing the Administration Console, and deploying a sample application.