sun.com docs.sun.com My Sun Worldwide Sites

Previous Previous     Contents     Next Next
Chapter 1

Preparing for Installation

This chapter includes information about the following:

  • Software Installation Overview

  • System Requirements

  • Adding Swap Space

  • Choosing Local or Remote Display of the Installer

  • Supporting Previous Sun Studio Releases

  • Checking For and Installing Software Prerequisites

Software Installation Overview

The following steps outline the general process you follow to install the Sun Studio 12 software, product serial number, and supporting software.

Step

Task

Description

For Instructions

1.

Verify that the system on which you are installing the Sun Studio 12 software meets the minimum hardware and operating system requirements for this release.

Using a system that meets the system requirements is recommended for proper performance.

See System Requirements

2.

Determine whether you are going to display the installer locally or remotely.

You can install the Sun Studio software using a remote display or local display.

See Choosing Local or Remote Display of the Installer

3.

Choose single-user or client/server installation.

You can install the Sun Studio 12 software and the required additional software on a single-user system, or you can install the Sun Studio 12 software on a server and the additional software on client systems that will run the Sun Studio 12 software.

See Installing on a Single-User SystemInstalling on a Single-User System and Installing on a Server for Use by Clients With the Same Architecture

4.

Verify that the system on which you are going to run the Sun Studio 12 software has access to the required additional software, and install any needed software.

The Sun Studio 12 software requires the J2SE Development Kit (JDK) 5.0, NetBeans IDE 5.5.1, and NetBeans C/C++ Development Pack 5.5.1, operating system patches, and special versions of operating system libraries.

See Checking For and Installing Software Prerequisites

5.

Choose an installation method.

There are four ways to install the Sun Studio software.

See Choosing an Installation Method

6.

Install the Sun Studio 12 software.

Step through the installation information.

See Chapter 2, Installing the Sun Studio 12 Software

System Requirements

Sun Studio 12 software supports the hardware and operating system requirements shown in


Note - For further disk space requirements and important last minute information about this release, see the Sun Studio Express Readme.


Table 1-1

 

Solaris OS on SPARC based systems

Solaris OS on x86 based systems

Linux OS

Operating system

Solaris 9 or Solaris101/06

SuSE Linux Enterprise Server 9 with Service Pack 3

RedHat Enterprise Linux 4

CPU

Minimum: Sun Ultra 60 (450 MHz, UltraSPARC II processor)

Minimum: Pentium III 500-MHz or any AMD64 Opteron or Athlon system

Memory

512 MB

Disk space (Use the df -k command to check your disk space.)

1.4 GB

750 MB

460 MB

Swap space

1GB

Operating system configuration

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.)

N/A

Adding Swap Space

If you want to add swap space, do the following:

ProcedureAdding Swap Space

  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-nameis the name of the swap file you are creating.

    For example, to create a 16-megabyte swap file named 16mswapin the foodirectory, 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:

    swap -s

    The output shows the allocated swap space. For example:

    swap -s

Choosing Local or Remote Display of the Installer

You can display the installer either locally or remotely while you are installing the Sun Studio 12 software 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

  • 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 the remainder of this section.

ProcedurePreparing for Installation Using a Remote Display

  1. On the display computer, enable client access to the X server by typing the following on the 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).

    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 entered on the display computer.

Previous Previous     Contents     Next Next
Company Info Contact Terms of Use Privacy Copyright 1994-2007 Sun Microsystems, Inc.