WorkShop Quick Install for Solaris: -

# Sun WorkShop Quick Install for Solaris 2.x |

## Required Tasks

  1. Get your licenses

  2. Install your product and licensing software

  3. Install your licenses

### Assumptions:

- The default installation directory is `/opt`. If you indicate another installation directory provide your directory in place of <installation_directory>.
- You have the required disk space available.

  Use `workshop_install` to determine disk space requirements.

- You install a current version of FLEXlm. Version 4.1 or higher is required.
- Your CD-ROM name depends on the platform for which you purchased WorkShop products. If you run SPARCTM with SolarisTM, substitute `devpro_v5n1_`<platform> with `devpro_v5n1_sparc`; and for Intel with Solaris, use `devpro_v5n1_intel`.

Sun WorkShop products are provided for the following platforms:

- SPARCTM with SolarisTM software version 2.4 or later
- Intel with SolarisTM software version 2.4 or later

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

##### Figure 1-1 Local and Remote Installation Methods

Source computer refers to the system with the CD-ROM drive where you will load the CD containing the WorkShop product files. Target computer refers to where you want to install the software and licenses.

## 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 2.x CD.

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

    `%` `cp /cdrom/devpro_v5n1_`<platform>`\
    /License_Request_Form` <directory>`/`<file>

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

  4. Complete the License Request Form using the instructions in the template.

  5. 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 this email to the Sun License Center.

    Refer to the License Certificate for the email addresses.

  3. Continue with "Install Your Products."

## Install Your Products

The default installation directory is `/opt`. You can install software and licenses in another directory by indicating your <installation_directory> when you invoke `workshop_install`.

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

    `% xhost +`

  2. Become root; then make your current directory the CD-ROM drive`.`

    `%` `su`

    `Password:` <root_password>

    `#` `cd /cdrom/devpro_v5n1_<`platform`>`

  3. 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 4. For a remote installation, complete the following tasks:

    a. Add the following line to the `/etc/dfs/dfstab` file:

      `share -F nfs -o ro /cdrom\
      /devpro_v5n1_<`platform`>`

    b. Make sure the source machine is an NFS server by typing:

      `#` `ps -ef | grep nfsd`

      A line similar to the following should appear:

      `root 237 1 17 Jun 04 ? 0:00 /usr/lib/nfs /nfsd -a 16`

    c. If you get a line similar to the above, export your product directory by typing:

      `#` `shareall`

      If you do not get a similar line, type:

      `# /etc/init.d/nfs.server start`

    d. Make sure your source machine is exporting your product directory by typing:

      `#` `dfshares`

      A line similar to the following should appear:

      `RESOURCE SERVER ACCESS TRANSPORT`

      `<`server_name`:>`<product_location>`` <product_location>`- -`

    e. Log in to the target machine with root access by typing:

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

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

      `#` `mkdir /remote_product` `s`

      `#` `mount -F nfs -r
      ` <source_machine_name>`:/cdrom
      /devpro_v5n1_<`platform`>``` `/remote_products`

    g. Depending on the shell you use, redirect the remote machine's display by typing one of the following:

      Using a C Shell, type:

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

      Using a Bourne Shell, type:

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

      `#``export DISPLAY`

    h. Change your directory to where you mounted the software by typing:

      `#` `cd /remote_products`

    i. Continue with step 4.

  4. Run `workshop_install` by typing:

    `#` `./workshop_install`

> Note - Do not type an ampersand (&) after `workshop_install` to invoke the tool in the background.

  5. If you want to install your software in a directory other than `/opt`, type `y`; then enter the location where you want the software installed.

    Otherwise, type `n` to install in `/opt`.

    The Install Software window is displayed, as shown in
    Figure 1-2.

##### Figure 1-2 Install Software Window

  6. Select the License Manager Software and Utilities box and the boxes next to all the software packages you want to install.

    You must use a current version of the license manager software and utilities. FLEXlm 4.1 is provided with this release; use only FLEXlm version 4.1 or later.

  - To find out what version of FLEXlm you are currently running, type:

    `pkginfo -l SUNWlicsw`

  7. Click the Install button in the Install Software window.

    Your product software is installed.

  8. Now you can install your licenses using the procedures in the next section.

## 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. If `workshop_install` isn't running, type:

    `#` `./lit`

    If `workshop_install` is running, click the Install Licenses button. The License Installation Tool window displays, as shown in Figure 1-3.

##### Figure 1-3 License Installation Tool (lit) Window

  3. In the File field, enter the path to the file where you saved the license attachment you received.

    You can also click the ellipsis (...) button to find the file.

  4. Click the Load License Information from File button.

    The License Installation Tool loads the license file; then, a popup window indicates that the licenses have been added to the list of licenses to be installed.

  5. Click OK in the lit: Informational Window popup window.

  6. Click the Install button.

    The License Installation Tool installs your product licenses.

  7. Dismiss the License Installation Tool window.

  8. Copy and run `LIC_CONFIG_SCRIPT` on each of the product servers that will access the product software.

  9. Set the `MANPATH` variable for the FLEXlm licensing software and WorkShop product `manpages` by typing the following in a C shell:

    `setenv MANPATH $MANPATH:`<installation_directory>`\
    SUNWspro/man:` <installation_directory>`/SUNWste\
    /license_tools/man`

  10. Set the PATH variable in your home directory .cshrc file by typing:

    `set path =(`<installation_directory>`/SUNWspro/bin $path)`

Your licenses and products are installed, you can now use your Developer Product software!