Ensure that your system meets the requirements listed in Hardware and Software Requirements in Sun GlassFish Enterprise Server v3 Release Notes.
Also see Known Issues in Sun GlassFish Enterprise Server v3 Release Notes for known issues related to installation.
Go to the Enterprise Server v3 download page:
Download the ZIP file to the desired installation directory.
Two distributions are available: Full Platform Profile or Web Profile. For more information about each profile, see Support for Java EE Profiles in Sun GlassFish Enterprise Server v3 Release Notes.
Download files are as follows:
Full Platform Profile distribution from the Sun Download Center
Web Profile distribution from the Sun Download Center
Full Platform Profile distribution from the GlassFish Community site
Web Profile distribution from the GlassFish Community site
Change to the directory where you downloaded the ZIP file.
Unzip the file.
Solaris, Linux, and Mac OS X systems:
zip-file-name is the name of the file that you downloaded.
Unzip using your favorite file compression utility.
Enterprise Server v3 is installed into a new glassfishv3 directory under your current directory.
(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.