C H A P T E R 1 |
Preparing for Installation |
This chapter includes information about the following topics:
The following steps outline the general process you follow to install the Sun Studio 9 software, product serial number, and supporting software. See the references provided in each step for specific procedures.
|
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.
There are three ways to install the Sun Studio software. |
See System Requirements.
Refer to Choosing Local Display or Remote Display of the Installer for more details.
See Choosing 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 J2SE installation instructions. |
Sun Studio 9 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 software on the product web site at http://wwws.sun.com/software/products/studio/index.html. |
Sun |
|
If you want to add swap space, do the following:
1. Become a superuser (root) by typing:
2. Create a file in a selected directory to add swap space by typing:
where dir is a directory in which you have permission to add swap space. The myswapfile is the name of the swap file you are creating. The number_blocks_needed is an amount of 1024-byte blocks you want to create.
See the dd(1) man page for more information.
3. Verify that the file was created by typing:
The new file appears in the directory.
4. Initialize the new swap area by typing:
See the mkswap(8) man page for more detailed information.
5. Run the swapon command to enable the new swap space for paging and swapping by typing the following:
6. Verify that the extra swap space was added by typing:
The output shows the allocated swap space.
You can display the installer either locally or remotely while you are installing the Sun Studio 9 software with the graphical user interface installer or the command-line installer:
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:
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:
3. On the source computer, set the display to the monitor that is attached to the display computer.
If you use the GNU Bourne-Again shell, type:
If you use the Korn shell, type:
Replace display-computer-name with the output of the /bin/hostname command entered on the display computer.
Note - 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? for troubleshooting information.
1. Become a superuser (root) by typing:
2. Add the following line to your /etc/exports file in order to share the product image as an NFS filesystem:
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:
If you do not see screen output like the preceding example, start nfsd. For example, on a Sun Java Desktop System, start nfsd by typing:
You should see screen output similar to the previous example. If not, contact your Linux system administrator.
If nfsd is running, to make the product image available, type:
4. Ensure that your source computer is exporting your product directory by typing:
1. Enable client access to the X server by typing the following:
Replace source-computer-name with the output of the /bin/hostname command entered on the source computer.
2. Log in as superuser (root) by typing:
3. Create a new directory by typing:
where install-directory is the directory in which you want to mount the installer image.
4. Mount the product files by typing:
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 Bash shell, type:
If you use the Korn shell, type:
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.
This Sun Studio 9 software release includes the following installation features:
This document includes instructions for using each of the features.
Copyright © 2004, Sun Microsystems, Inc. All rights reserved.