Sun Java Enterprise System 5 Update 1 Installation Guide for UNIX

Running the Installer in Silent Mode

You should run the installer on a host that has the same operating system as the host on which you generated the state file. If you cannot do this, refer to Creating a Platform-Appropriate State File ID.

If you have problems during installation, refer to Chapter 9, Troubleshooting.

ProcedureTo Run the Installer in Silent Mode

Silent installation can be lengthy, depending on the quantity and type of product components that you are installing.

  1. Verify that your state file is edited correctly for the host.


    Caution – Caution –

    In a state file created for silent installation, some parameters specify sensitive data, such as administrator passwords. Make sure to secure the file as appropriate for your deployment.


  2. If you are not logged in as root, become superuser.

  3. Navigate to the directory where the installer utility is located.


    cd installer-directory
    
  4. Run the installer using the following syntax:


    ./installer -noconsole -state statefile
    
    —noconsole

    Start the installer in silent mode, suppressing the user interface.

    —state

    Use the specified state file as input to a silent installation.

    statefile

    Specify an absolute or relative pathname to a state file.

  5. After installation is complete, proceed to the next host and repeat Steps 1 through 4.

ProcedureTo Monitor the Progress of a Silent Installation

  1. To monitor a silent installation, navigate to the log file directory:

    Solaris OS: cd /var/sadm/install/logs

    Linux: cd /var/opt/sun/install/logs

  2. Locate the log files for the current installation.

    The shared components are installed first and the product components follow. The timestamp variable represents the time the log was created. The variable has the format MMddhhmm.

    MM

    Specifies the month

    dd

    Specifies the date

    hh

    Specifies the hour

    mm

    Specifies the minute

  3. Use the tail command to watch messages as they are written to the logs:


    tail -f logfile-name
    

    To exit the tail program, press Ctrl+C.