Sun ONE logo     Previous      Contents      Index      Next     
Sun ONE Application Server 7, Standard Edition Installation Guide



Installing for Evaluation

This chapter describes how to install the Sun ONE Application Server for evaluation on Windows and Solaris platforms. It contains the following information:

Read this chapter before installing Sun ONE Application Server for evaluation. For any late-breaking updates to these instructions, check the Release Notes.

For more information about configuring your application server after installation, refer to the Sun ONE Application Server 7 Administrator's Guide.

What You're Installing

The evaluation version of the Sun ONE Application Server installation program automatically installs the following components:

  • Sun ONE Application Server
  • PointBase 4.2 (Not available in the Solaris 9 bundled version of Sun ONE Application Server.)
  • Sample Applications
  • Administration tools
  • Sun ONE Message Queue 3.0.1
  • Java 2 Software Development Kit, Standard Edition 1.4.0_02 (J2SE 1.4.0_02)

If you opted install the evaluation version of the Sun ONE Application Server that includes support for Sun ONE Studio (formerly Forte for Java 4.0), the following component is also installed:

  • Support for Sun ONE Studio Plugin (formerly Forte for Java 4.0)

See Installable Components for an overview of Sun ONE Application Server features and components.

Installing for Evaluation: Interactive Mode

Once you are familiar with the system requirements and installed components described in Preparing to Install, use the following procedures to install Sun ONE Application Server for evaluation.

If you choose to use command-line installation, the steps involved in that method are identical to those for graphical-interface mode. In place of the graphical installation screens, text-based screens are shown during a console-based installation.

The following steps apply to all platforms:



Note

You must have administrative privileges on your Windows machine to install Sun ONE Application Server 7. You cannot install more than one Sun ONE Application Server on a single Windows machine.



  1. Expand or unzip the installation bundle to a temporary directory.
  2. If you are not in the directory already, change to the directory where you expanded the files.


  3. Note

    UNIX: If you are installing Sun ONE Application Server in graphical mode remotely, you must enable the display configuration on the machine where you are installing the product.



  4. Type the following at the command prompt:
  5. #./setup

    To run command-line installation, type

    #./setup -console

    On Windows, you can also navigate using Windows Explorer to the directory where you expanded the files and double-click the setup file.

    The installation interface appears.

  6. Read the Welcome screen and click Next.
  7. Read the License Agreement, select the radio button to agree to the terms of the license, and click Next or type Yes at the command line.
  8. You must accept the license agreement to continue with the installation.

  9. Enter the path to your installation directory, click the ellipsis (...) to browse for a directory, or hit Enter at the command line to accept the default installation directory.
  10. If the directory does not already exist, the Create New Directory? dialog appears. Click Create Directory or type 1 at the command line. You can also click Choose New or type 2 at the command line to select an existing directory.

  11. On the Server Configuration Information dialog box, or at the command line, enter the following values:
    • Admin User: Name of the user who administers the server (for example, admin).
    • Admin User's Password: Password to access the administration server. Minimum number of characters is 8. Re-enter the password in the text box below to confirm your choice.
    • Admin Server Port: Port number to access the administration server.
    • A default port number appears (for example 4848, if that port is not in use on your machine). Change the default number if necessary. The installation program will check port numbers for validity and availability when you click Next.

    • HTTP Server Port: Port number to access the default server instance.
    • A default port number appears (for example 1024, if that port is not in use on your machine). Change the default number if necessary. The installation program will check port numbers for validity and availability when you click Next.



      Note

      The installation program automatically detects ports in use and suggests currently unused ports for the default settings. By default, if you are running as root on UNIX or are on Windows, the initial default ports are 80 and 4848 for the HTTP server and administrative server respectively. If you are running as non-root on UNIX, the HTTP server port defaults to 1024. If any of these initial default ports are being actively used on your system, the installation program will suggest alternative port numbers.



  12. The Checking Disk Space dialog appears.
  13. Click Install Now or type 1 at the command line to complete the installation.
  14. An Installation Progress indicator bar appears.

    As installation ends, the Installation Complete screen appears.

  15. On Windows, you can now decide to upgrade your license. (You cannot upgrade the Solaris non-package-based evaluation version of the application server.)
  16. See Licensing Information for details, then visit http://www.sun.com/as7upgrade to obtain a license key for upgrade.

  17. Click or type Yes to upgrade your license, or choose No to complete the installation of the application server without upgrading your license.
  18. You can upgrade your license later by following the instructions in Licensing Information.

Uninstalling Sun ONE Application Server

When you uninstall Sun ONE Application Server for evaluation, all components in the current installation directory are automatically selected for uninstallation. You cannot select individual components to uninstall.

The uninstallation program detects any running processes and stops them before continuing with the uninstall process.

Perform the following steps on both UNIX and Windows platforms:

  1. Change to your machine's Sun ONE Application Server installation directory.
  2. On Solaris, type one of the following commands at the command prompt:
    • Graphical-interface mode:
    • ./uninstall

    • Command-line mode:
    • ./uninstall -console

    • If your SDK is installed in a directory other than /usr/j2se, you must use the following command:
    • ./uninstall -javahome valid_j2se_directory

    where valid_j2se_directory is the path to your J2SE 1.4.0_02 installation.

    On Windows, go to your Control Panel and choose Add/Remove Programs. Select Sun ONE Application Server from the list of installed programs and click Remove.

  3. Read the Welcome screen and click Next or hit Enter to continue with the uninstall process.
  4. On the Ready to Uninstall screen, a list of uninstallable components appears. Review the components and click Next or hit Enter to proceed.
  5. You cannot select individual components to uninstall using the evaluation version of Sun ONE Application Server.

  6. Click Uninstall Now or hit Enter.
  7. The uninstallation progress meter appears.

  8. The Uninstall Summary screen appears.
  9. Review the details and click Exit or hit Enter to quit the uninstallation program.


Previous      Contents      Index      Next     
Copyright 2002 Sun Microsystems, Inc. All rights reserved.