Sun ONE Application Server 7 Installation Guide |
Chapter 2
Installing for EvaluationThis chapter provides instructions for installing the Sun Open Net Environment (Sun ONE) Application Server 7, Upgrade 2 software for evaluation purposes. This is a quick installation that allows you to try the product without having to do a full operational installation.
The following topics are addressed here:
You should be familiar with the information in "Preparing to Install" before beginning installation.
For any late-breaking updates to these instructions, read the Sun ONE Application Server Release Notes.
The following locations contain product downloads in addition to other useful information:
http://wwws.sun.com/software/download/app_servers.html
http://wwws.sun.com/software/products/appsrvr/home_appsrvr.html
What You’re InstallingThe purpose of the Sun ONE Application Server evaluation installation is to allow users and potential users to try the Sun ONE Application Server software without committing to purchasing. You can install this evaluation version of the product interactively or you can use silent mode to replicate an installation scenario on multiple machines.
On UNIX, the evaluation version allows you to have multiple installations of the Sun ONE Application Server on the same system at the same time. Pre-existing versions of the Sun ONE Message Queue and J2SE are allowed but are not used.
You cannot select from installable components during an evaluation installation. The evaluation installation program automatically installs the following components:
- Sun ONE Application Server, including its administrative tools and utilities
- Sun ONE Application Server Administration Client (command-line tool)
- Java 2 Software Development Kit (J2SE), Standard Edition 1.4.1_04
- Sun ONE Message Queue 3.0.1 SP2
- PointBase Database Server and Type 4 JDBC driver (Not available in the Solaris 9 bundled version of Sun ONE Application Server.)
- Sample Applications
You can chose to install the evaluation version of the Sun ONE Application Server that includes support for Sun ONE Studio (formerly Forte for Java 4.0). If you do, the following component is also installed:
For descriptions of the components, see "Installation Components".
Downloading from the Web SiteThis section provides instructions for downloading the Sun ONE Application Server installation files from the web site.
Downloading for UNIX
- Select the download from the following Sun ONE Application Server download site and save it in a temporary directory on your UNIX machine.
http://wwws.sun.com/software/download/app_servers.html
- Navigate to the directory where you downloaded the file. For example:
cd /temp_dir/as7download/
- Unzip the .gz file using the gunzip command in this format:
gunzip filename.tar.gz
- Untar the unzipped file using the tar -xvf command in this format:
tar -xvf filename.tar
This process may take a little time. When the files are unpacked, you will see the sun-appserver7 directory, which contains the setup file and the package directory.
Downloading for Microsoft Windows
- Select the download from the following Sun ONE Application Server download site and save it in a temporary directory on your Microsoft Windows machine.
http://wwws.sun.com/software/download/app_servers.html
A progress indicator bar tells you when the download has completed.
- Navigate to the directory where you downloaded the installation zip file.
- Unzip the installation zip file by opening the file and extracting its contents to your chosen folder. When the extraction is complete, you should see the following in your sun-appserver7 folder directory:
\package folder
3RD-PARTY-LICENSE.txt file
appserv.class file
LICENSE.txt file
README.txt file
setup.exe script
Installing the Evaluation ProductAfter you have verified that your system meets the requirements specified in "System Requirements", perform the steps in this section to install Sun ONE Application Server for evaluation.
If you choose to use the command-line interface, the steps are identical. However, in place of graphics-based installation screens, text-based screens are displayed.
- If you are not in the directory already, navigate to the directory where you unpacked the installation files. You will see the setup.exe file.
- Select your installation method as follows:
- To run the installation using the graphical interface, type the following at the command prompt:
./setup
- To run the installation using the command-line interface, type the following at the command prompt:
./setup -console
The Welcome page of the installation program is displayed as follows.
- Read the Welcome page and click Next.
The following License Agreement page is displayed.
- Read the License Agreement and click Yes to agree to the terms of the license, then click Next (or type Yes at the command line).
After you accept the License Agreement, the following Select Installation Directory page is displayed.
- Specify the path to your Sun ONE Application Server installation directory.
- On the Server Configuration Information page (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 Admin Server. Minimum number of characters is 8. For example, adminadmin. Re-enter the password to confirm your choice.
- Admin Server Port—Port number to access the Admin Server.
A default port number is displayed (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 is displayed (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.
- Click Next.
The installation program proceeds to verify that you have enough disk space to install the product. The Checking Disk Space progress indicator bar is displayed.
- If you do not have enough disk space, an error message is displayed.
You will need to exit the installation program, create enough space, and restart the installation. Information on space requirements is contained in "Platform Requirements".
- If you have enough disk space, a Ready to Install page similar to the following is displayed.
- You have the following choices:
- Click Back if you want to return to the Server Configuration Information page. Disk space is rechecked if you do this.
- Click Install Now (or type 1 at the command line) to start the installation process.
- Click Cancel to exit the installation program.
An Installation progress indicator bar is displayed.
When installation finishes, an Installation Complete page similar to the following is displayed.
- On Microsoft Windows, you can now decide to upgrade your license.
- Click Next to display the following Upgrade License page.
If you change your mind about transitioning, click Back to return to the previous screen.
Note
You can transition your license later by following the instructions in "Transitioning a License".
- To upgrade your license, enter the license number and click Apply.
The License Upgrade Successful dialog displays.
- Click OK.
- Click (or type) Finish to complete the installation.
The About Sun ONE Application Server page is displayed.
- Set the PATH environment variable.
You will need to configure your environment to include the install_dir/bin directory of the Sun ONE Application Server. Instructions for doing this are contained in "Setting the PATH Environment Variable".
- The Sun ONE Application Server environment is not automatically started, so you will need to start it to verify that installation was successful. Instructions for various methods of starting the Sun ONE Application Server are contained in "Starting and Stopping the Server".
Under the Sun Microsystems, Sun One Application Server program group in the Start Programs area of your desktop, do the following:
- Start Application Server.
A screen similar to the following indicates that the Sun ONE Application Server has started:
- Start Admin Console.
When the Administration interface (also known as the Admin Console) has been started, the initial page of the Sun ONE Application Server graphical interface is displayed as follows.
.- You can determine whether the Sun ONE Application Server has started successfully by accessing the application server instance's HTTP server listener. Using a browser, access the following location:
http://host_name:port_number
where port_number is the HTTP server port number specified during installation. The default HTTP server port number is 80, but it may be different based on the ports in use during installation.
Refer to "Troubleshooting" for information on resolving problems.
Installing in Silent Mode (Non-Interactive)If you want to perform your evaluation installation in silent mode, follow the instructions in "Installing in Silent Mode (Non-Interactive)".