WorkShop Quick Install for Solaris: Index

# Sun WorkShop Quick Install for Solaris 1.x |

## Required Tasks

  1. Get your licenses

  2. Install your licenses

  3. Install your product software

### Assumptions

- Your default installation directory is: `/usr/lang`
- You install your licenses prior to installing the licensing software, FLEXlm.
- You have the required disk space available.
  Use Table 1 to determine disk space requirements.

#### Table 1 Product Package Sizes (in Mbytes)

Software | Size in MBytes
SPARCompiler C 3.0.1 | 14
SPARCompiler FORTRAN 77 3.0.1 | 20
SPARCompiler Pascal 3.0.3 | 15
SPARCompiler C++ 4.0.1 | 29
SPARCworks/TeamWare 1.0.3 | 14
SPARCworks 3.0.1 | 12
SunSoft Performance Library 1.1 | 18
SunSoft Licensing Software | 2
Product AnswerBook(s) | 75

You can install products and licenses using either a local or remote installation. Figure 1-1 on page 4 illustrates the different installation methods.

## Get Your Licenses

To get your licenses, complete the License Request Form, using the procedures below:

  1. Put the product CD into your CD-ROM drive.

    Make sure you use the Solaris 1.x (SunOS 4.x) CD.

  2. Using your source computer window environment (OpenWindows for example), become root by typing:

    `%` `su`

    `Password:` <root_password>

  3. Copy the License Request Form template from the CD to a directory on your system, by typing:

    `#` `cp /cdrom/License_Request_Form \
    ` <directory>`/`<file>

  4. Open your copy of the License Request Form in your favorite editor.

  5. Complete the License Request Form.

  6. Continue with "Contact the Sun License Center."

## Contact the Sun License Center

  1. Paste your completed License Request Form in your email composition tool.

  2. Send the email to the Sun License Center.

    Refer to the License Certificate for the email addresses.

  3. Continue with "Install Your Licenses."

## Install Your Licenses

  1. Save the license attachment you receive from the Sun License Center.

    Do not modify this attachment! The licensing software reads the information directly from the saved file.

  2. At a command line in a computer windows environment (OpenWindows, for example), become root.

  3. Start `lit_tty` by typing:

    `#``/usr/lang/licenses/lit_tty -f \` <path_to_license_file>

    For <path_to_license_file>, enter the location where you saved the file the Sun License Center sent you.

    The licensing script lists the products for which you have licenses and asks if these are the licenses you want to install.

  4. Type `y` to install the licenses listed.

    Otherwise, if you want to install different licenses, type `n`. Then, contact the Sun License Center for additional information.

  5. Continue with "Install Your Products."

## Install Your Products

  1. Using your source computer window environment, enable remote client access by typing the following at a command line:

    `% xhost` +

  2. Make sure the Solaris 1.x CD is in the CD-ROM drive; then become root.

  3. Mount the CD by typing:

    `#``mkdir /cdrom`

    `#``mount -r /dev/sr0 /cdrom`

  4. Using Figure 1-1 on page 4, determine if you want to perform a local or remote installation.
  To complete only a local installation go to step 5. For a remote installation, complete the following tasks:

    a. On the source machine, type the following into the
    `/etc/exports` file:

      `/cdrom -ro`

    b. Export the `/cdrom` directory by typing:

      `#` `/usr/etc/exportfs -a`

    c. Reboot your system.

    d. From the source machine, login to target machine with root access by typing:

      `#` `rlogin` <target_machine_name>`-l root`

    e. Create a mount point and mount the product directory by typing:

      `#` `mkdir -p /cdrom`

      `#` `mount -r` <source_machine_name>`:/cdrom \
      /cdrom`

    f. Using a C shell, type, redirect the remote machine's display by typing

      `#``setenv DISPLAY` <source_machine_name>`:0`

    g. Continue with step 5.

  5. Open a C shell on the source machine and type:

    `#``setenv OPENWINHOME <path_to_OpenWindows>`

    `#``setenv PATH $OPENWINHOME/bin:$OPENWINHOME\
    /bin/xview:$PATH`

    `#``setenv LD_LIBRARY_PATH $OPENWINHOME\
    /lib:usr/lib`

  6. Run spro_install_tool by typing:

    `#``cd /cdrom`

    `#``./spro_install_tool`

  7. In the `spro_install_tool` main window, click the Display: Products field to select the products you want to install.

  8. Click the Display: AnswerBooks field to select the AnswerBooks you want to install.

  9. Select the heavy or nil option for AnswerBook installation.

    The nil option leaves the files on the CD and takes about five minutes to install; whereas the heavy option takes about 15-30 minutes to install all of the required files onto your hard disk.

  10. Select the Install License Software checkbox, in the center of the window, to install the FLEXlm licensing software.

    This software allows you to run your software products.

  11. Click the Install button.

    You can now use your Developer Product software!

## Installing Patches

To install available patches:

| Go to the patch directory of the CD; then, become root and type the following:

  `#``cd /cdrom/Patch`

  `#` `spro_install_patch`

  The help option displays a list of products that require patches.

## Starting AnswerBooks

- To use your AnswerBooks, type the following at a command line:

  `% /usr/openwin/bin/sunpro_ab`