Friday, April 23, 2010

Install/Uninstall GlassFish on Linux

Uninstalling Glassfish V2 and installing Glassfish V3

Glassfish can be installed with the file-based installer or the JAR-based installer.
Uninstall instructions from SUN
Installtion instruction from SUN

Installing Glassfish

File-based
  1. Download the file from
  2. chmod +x sges-glassfish-v3-unix.sh
  3. Create the installation directory: mkdir /usr/glassfish
  4. Navigate to where sges-glassfish-v3-unix.sh file exists.
  5. Run ./sges-glassfish-v3-unix.sh
  6. Follow the instructions.
ZIP file installtion
  1. Download the file from
  2. Create the installation directory: mkdir /usr/glassfish
  3. Unzip contents to installation directory: unzip sges-v3-unix.zip


JAR-based

Uninstalling Glassfish

File-based
  1. Navigate to your Enterprise Server installation directory.

  2. Invoke the uninstallation program as follows:

    • To use the uninstallation in GUI mode, type:

      ./uninstall

    • To use the uninstallation in command-line mode, type:

      ./uninstall -console


JAR-based and Zip
  1. Change to the directory containing the glassfish directory.

  2. Run the following command: rm —r glassfish.

No comments:

Post a Comment