Sun Studio 9 Installation and Setup Guide for Solaris Platforms
|
|
Preparing for Installation
|
This chapter includes information about the following topics:
- The software installation overview
- System requirements
- Adding swap space
- Choosing local display or remote display of the installer
- Locating the product serial number
- Installation features included in this release
Software Installation Overview
The following steps outline the general process you follow to install the Sun Studio 9, product serial number, and supporting software. See the references provided in each step for specific procedures.
Task
|
Description
|
For Instructions
|
- Verify that the system on which you are installing the Sun Studio 9 software meets the minimum requirements for this release.
- Determine whether you are going to display the installer locally or remotely.
- Verify that your system has access to the Java 2 Platform, Standard Edition technology.
- Choose an installation method.
- Locate the product serial number.
- Install the Sun Studio 9 and serial number.
|
Using a system that meets the system requirements is recommended for proper performance.
You can install the Sun Studio software using a remote display or local display.
The Sun Studio 9 software supports the Java 2 Platform, Standard Edition technology
There are four ways to install the Sun Studio software.
The product does not work without a valid serial number.
Step through the installation information.
|
See System Requirements.
Refer to Choosing Local Display or Remote Display of the Installer for more details.
See Installing the J2SE Platform and Related Solaris Operating System Patches for J2SE installation instructions, if necessary.
SeeChoosing an Installation Method for more information.
See Locating the Product Serial Number for the product serial number.
See Installing the Sun Studio 9 Software for installation instructions.
|
System Requirements
Sun Studio 9 product software supports the system requirements shown in TABLE 1-1.
Note - For further disk space requirements and important last minute information about this release, see the release notes for the Sun Studio 9 on the product web site at http://wwws.sun.com/software/products/studio/index.html.
|
TABLE 1-1 System Requirements
|
Solaris SPARC Platform Edition
|
Solaris x86 Platform Edition
|
Operating system
|
Solaris 8, 9, or 10
|
Solaris 8, 9, or 10
|
System
|
Recommended: Sun Blade 750 MHz
or UltraSPARC III 750 MHz
Minimum: Ultra 60 450 MHz
|
Recommended: Pentium III 1 GHz
Minimum: Pentium III 500 MHz
|
Disk Space
|
1.5 Gbytes
|
500 Mbytes
|
(Use the df -k command to check your disk space.)
|
Monitor
|
1152 x 900 resolution
|
Memory
|
Recommended: 1 Gbyte
Minimum: 512 Mbytes
|
Swap Space*
|
Recommended: 2 Gbytes
Minimum: 1 Gbytes
|
J2SE Technology
|
J2SE 1.4.2_02 technology and required OS patches
|
Operating System Configurations
|
Entire Solaris Software Group Plus OEM Support, Entire Solaris Software Group, or Developer Solaris Software Group
(To determine your operating system configuration, you need to verify the installed packages. Specific packages are installed for each configuration. See the Solaris OS installation documentation for more details.)
|
Adding Swap Space
If you want to add swap space, do the following:
1. Become a superuser (root) by typing:
% su
Password: root-password
|
2. Create a file in a selected directory to add swap space by typing:
mkfile number[m|k|b] /directory/swap-file-name
|
where number is an amount of swap space, followed by either m for megabyte, k for kilobyte, or b for block. The directory is a directory in which you have permission to add swap space. The swap-file-name is the name of the swap file you are creating.
For example, to create a 16-megabyte swap file named 16mswap in the foo directory, type the following:
# mkfile 16m /foo/16mswap
|
See the mkfile(1M) man page for more information.
3. Verify that the file was created by typing:
# ls -l /directory/swap-file-name
|
The new file appears in the directory. For example:
# ls -l /foo/16mswap
-rw------T 1 root other 16777216 Dec 12 14:24 /foo/16mswap
|
4. Run the swap command to specify the additional swap space by typing:
# swap -a /directory/swap-file-name
|
5. Verify that the extra swap space was added by typing:
The output shows the allocated swap space. For example:
#swap -s
total: 289336k bytes allocated + 27008k reserved = 316344k used, 298336k available
|
Choosing Local Display or Remote Display of the Installer
You can display the installer either locally or remotely while you are installing the Sun Studio 9 with the graphical user interface installer or the command-line installer:
- Local display. The source computer and the display computer are the same computer. The installer window or command-line installer is displayed on the same computer that contains the product CD-ROM or downloaded files and runs the installer. You can continue to Chapter 2.
- Remote display. The source computer and the display computer are different computers. The source computer contains the product CD-ROM or downloaded files and runs the installer. The display computer displays the installer window or command-line installer. To install using a remote display, follow the instructions in Preparing to Install Using a Remote Display or Preparing to Install Using a Remote Display With an NFS-Mounted Filesystem.
Preparing to Install Using a Remote Display
To prepare for installation using a remote display, follow these steps:
1. On the display computer, enable client access to the X server by typing the following at a command line:
% xhost + source-computer-name
|
Replace source-computer-name with the output of the /usr/bin/hostname command entered on the source computer, which is the computer that contains the product CD-ROM or downloaded files.
2. Log in to the source computer and become a superuser (root) by typing:
% rlogin source-computer-name -l rootname
Password: root-password
|
3. On the source computer, set the display to the monitor that is attached to the display computer.
If you use the C shell, type:
# setenv DISPLAY display-computer-name:0.0
|
If you use the Bourne shell, type:
# DISPLAY=display-computer-name:0.0
# export DISPLAY
|
If you use the Korn shell, type:
# export DISPLAY=display-computer-name:0.0
|
Replace display-computer-name with the output of the /usr/bin/hostname command entered on the display computer.
Preparing to Install Using a Remote Display With an NFS-Mounted Filesystem
Note - Note that the uninstaller resides on your local machine, so you must use that local machine to run the uninstaller if you choose to uninstall the product.
|
Follow the steps below to prepare for installation using a remote display from an NFS-mounted installer image. See What If the Installation Fails on an NFS-Mounted Filesystem? of Chapter 5 for troubleshooting information.
Preparing the Source Computer
1. Become a superuser (root) by typing:
% su
Password: root-password
|
Note - In the following examples, the CD-ROM name studio_9_sol_arch is used. Use the name of your product CD-ROM in place of studio_9_sol_arch. If you have electronically downloaded the product files, use the download directory name in place of studio_9_sol_arch. If you are installing from electronically downloaded files, all files must be untarred in the source-machine/download-directory before proceeding with installation.
|
2. Add the following line to your /etc/dfs/dfstab file in order to share the product image as an NFS filesystem:
share -F nfs -o ro /cdrom/studio_9_sol_arch
|
3. Verify that your source computer is an NFS server by typing:
If screen output that resembles the following example appears, then nfsd is running:
root 237 1 17 Jun 04 ? 0:00 /usr/lib/nfs/nfsd -a 16
|
If you do not see screen output like the preceding example, start nfsd by typing:
# /etc/init.d/nfs.server start
# ps -ef | grep nfsd
|
You should see screen output similar to the previous example. If not, contact your system administrator or your Sun authorized service provider.
If nfsd is running, to make the product image available, type:
4. Ensure that your source computer is exporting your product directory by typing:
Screen output that resembles the following example appears:
RESOURCE SERVER ACCESS TRANSPORT
server-name:product-location server-name - -
|
Preparing the Display Computer
1. Enable client access to the X server by typing the following:
% /usr/openwin/bin/xhost + source-machine-name
|
Replace source-computer-name with the output of the /usr/bin/hostname command entered on the source computer.
2. Log in as superuser (root) by typing:
% su
Password: root-password
|
3. Create a new directory by typing:
# mkdir /install-directory
|
where install-directory is the directory in which you want to mount the installer image.
4. Mount the product files by typing:
# mount source-machine:/cdrom/studio_9_sol_arch /install-directory
|
5. Go to the directory that you created in Step 3 by typing:
6. Set the display to the monitor you are using.
If you use the C shell, type:
# setenv DISPLAY source-computer-name:0.0
|
If you use the Bourne shell, type:
# DISPLAY=source-computer-name:0.0
# export DISPLAY
|
If you use the Korn shell, type:
# export DISPLAY=source-computer-name:0.0
|
Locating the Product Serial Number
When you purchase the product, the serial number is listed on a card that is enclosed in the product package. The 26-character number on the card is the number that you enter in the Enter Serial Number page of the installer during installation. You can also generate a 60-day trial serial number during the installation process.
Installation Features Included in This Release
This Sun Studio 9 release includes the following installation features:
- Graphical user interface installation
- Command-line installation
- Batch installation
- Solaris JumpStart installation (not available for the Solaris 8 OS)
- Serial number installation tool (snit)
- J2SE software installation
- Batch uninstallation
- Graphical user interface uninstallation
- Command-line uninstallation
This document includes instructions for using each of the features.
Sun Studio 9 Installation and Setup Guide for Solaris Platforms
|
817-6689-10
|
|
Copyright © 2004, Sun Microsystems, Inc. All rights reserved.