Create the answer file as described in To Create the Installation Answer File.
Navigate to the directory that contains the self-extracting installer file and the installation answer file.
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.
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.
(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.