Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo Install the Pre-Installed Toolkit Image Inside a Closed Network

The Pre-Installed Toolkit Image provides the software components that are required to configure and run a local repository server inside a closed network. Running a local repository server makes it possible for a GlassFish Server installation to obtain packages and updates from within the closed network rather than from the default public GlassFish Server repositories.

Before You Begin
  1. In a Web browser on the machine that is connected to the Internet, open the Pre-installed Toolkit Images and Starter Repositories page.

  2. Download the ZIP file that contains the Pre-Installed Toolkit Image that is correct for your server's operating system and save it to the location of your choice.

    The ZIP files are named according to operating system and architecture, using the following format:


    pkg-toolkit-2.3.2-platform-arch.zip

    For example, the ZIP file for 32–bit Linux operating systems is named:


    pkg-toolkit-2.3.2-linux-i386.zip

    Download the correct ZIP file for the operating system and architecture on each of the following machines:

    • The machine on which the local repository server will be run

    • Each machine on which one or more GlassFish Server installations will be updated inside the closed network

  3. Copy each Pre-Installed Toolkit Image ZIP file to a removable medium that you can physically transport to the machines inside the closed network.

  4. Copy the correct Pre-Installed Toolkit Image ZIP file for each operating system from the removable medium to the directories of your choice on the following machines:

    • The machine on which the local repository server will be run

    • Each machine on which one or more GlassFish Server installations will be updated inside the closed network

  5. Unzip the Pre-Installed Toolkit Image ZIP file on each machine to which you copied the ZIP file in the preceding step.

    The size of the expanded Pre-Installed Toolkit Image ZIP file depends on the operating system:

    • On Windows systems, the expanded ZIP file is approximately 11 Mbytes.

    • On Linux and Solaris systems, the expanded ZIP file is approximately 13 Mbytes.

  6. (Optional) On each machine to which you copied the Pre-Installed Toolkit Image, verify that the pkg command-line tool is correctly installed.

    1. Change to the pkg/bin subdirectory of the directory that contains the unzipped Pre-Installed Toolkit Image.


      cd toolkit-dir/pkg/bin
      
      toolkit-dir

      The directory that contains the unzipped Pre-Installed Toolkit Image.

    2. Display the pkg version.


      ./pkg version
      

      Output similar to the following is displayed:


      1.122.2-38.2791