Skip Headers
Oracle® Database Companion CD Installation Guide
10g Release 2 (10.2) for Linux x86

Part Number B15664-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

B Oracle Database Companion CD Advanced Installation Topics

This appendix describes the following advanced installation topics:

B.1 Installing Oracle Components in Noninteractive Mode

Typically, Oracle Universal Installer runs in interactive mode, which means it prompts you to provide information in graphical user interface (GUI) screens. Alternatively, you can run Oracle Universal Installer in noninteractive mode. This mode is also referred to as silent mode, or silent installation.

You may want to use noninteractive mode to install the Oracle Database Companion CD products in the following scenarios:

This section covers the following topics on how you can use response files to run Oracle Universal Installer in noninteractive mode:

B.1.1 Using Response Files to Install Oracle Components in Noninteractive Mode

To use the noninteractive mode, you run Oracle Universal Installer with a response file. A response file is a text file that contains variables and values that Oracle Universal Installer uses during the installation process. Oracle provides a set of sample response files that you can customize, or you can create your own response file by recording your installation selections.


See Also:

Oracle Universal Installer and OPatch User's Guide for more information about response file formats.

B.1.2 Editing a Response File Template

Table B-1 lists the sample response files provided on the installation media.

Table B-1 Response Files

Response File Name This File Runs The . . .
htmldb.HTMLDBONLY.rsp Oracle HTML DB only installation
htmldb.HTMLDBwithOHS.rsp Oracle HTML DB with Oracle HTTP Server installation
companionCD.db.rsp Oracle Database 10g Products installation type
companionCD.midtier.rsp Oracle Database Companion CD installation type

To modify a response file template:

  1. Copy the response file from the response file directory to a directory on your system:

    $ cp /directory_path/response/response_file.rsp local_directory
    
    

    In this example, directory_path is the path of the companion directory on the installation media or the hard drive. If you have copied the software to a hard drive, then you can also edit the file in the response directory.

  2. Open the response file in a text editor:

    $ vi /local_dir/response_file.rsp
    
    
  3. To edit the file, follow the instructions in the file.


    Note:

    Oracle Universal Installer or configuration assistant fails if you do not correctly configure the response file.

  4. Change the permissions on the file to 700:

    $ chmod 700 /local_dir/response_file.rsp
    
    

    Caution:

    A fully specified response file for an Oracle Database installation contains the passwords for database administrative accounts and for a user that is a member of the OSDBA group (required for automated backups). Ensure that only the Oracle software owner user can view or modify response files or consider deleting them after the installation succeeds.

B.1.3 Recording a Response File

You can use Oracle Universal Installer in interactive mode to record a response file that you can edit and then use to complete silent-mode or suppressed-mode installations. When you are recording the response file, you can either complete the installation, or you can exit from Oracle Universal Installer on the Summary page, before it starts to copy the software to the system.

If you want to use Record mode during a noninteractive installation, then Oracle Universal Installer copies the variable values that were specified in the original source response file into the new response file.

To record a new response file:

  1. Ensure that the computer on which you are creating the response file meets the requirements in Chapter 2.

    When you run Oracle Universal Installer to record a response file, it checks the system to verify that it meets the requirements to install the software.

  2. Enter a command similar to the following to start Oracle Universal Installer:


    Note:

    Do not specify a relative path to the response file. If you specify a relative path, then Oracle Universal Installer fails.

    $ /directory_path/runInstaller -record -destinationFile filename
    
    

    In this command:

    • directory_path is the path of the companion directory on the installation media or the hard drive

    • -record specifies that you want to record the responses that you enter in a response file

    • filename is the full path and file name of the response file that you want to record

  3. On each Installer screen, specify the required information.

  4. When Oracle Universal Installer displays the Summary screen, perform one of the following steps:

    • Click Install to create the response file, then continue with the installation.

    • Click Cancel, then Yes to create the response file but exit from Oracle Universal Installer without installing the software.

    The response file is saved in the location that you specified using the -destinationFile option.

  5. If you do not complete the installation, then delete the Oracle home directory that Oracle Universal Installer created using the path you specified on the Specify File Locations screen.

  6. Before using the recorded response file on another system, use a text editor to edit the file and make any required changes.

    Use the comments in the file as a guide when editing it.

  7. Run the response file by following the instructions in the "Running Oracle Universal Installer in Silent or Suppressed Mode" section.

B.1.4 Running Oracle Universal Installer in Silent or Suppressed Mode

To run Oracle Universal Installer in silent or suppressed mode, follow these steps:

  1. Complete the preinstallation tasks listed in Chapter 2.

  2. Log in as the Oracle software owner user (typically, oracle).

  3. If you are completing a suppressed-mode installation, set the DISPLAY environment variable.


    Note:

    You do not have to set the DISPLAY environment variable if you are completing a silent-mode installation.

  4. To start Oracle Universal Installer in silent or suppressed mode, enter a command similar to the following:


    Note:

    Do not specify a relative path to the response file. If you specify a relative path, Oracle Universal Installer fails.

    • $ /directory_path/runInstaller [-silent] [-noconfig] -responseFile filename
      
      

    In this example:

    • directory_path is the path of the companion directory on the installation media or the hard drive

    • -silent indicates that you want to run Oracle Universal Installer in silent mode

    • -noconfig suppresses running the configuration assistants during installation, and a software-only installation is performed instead

    • filename is the full path and file name of the installation response file that you configured


    See Also:

    For more information about other options for the runInstaller command, enter the following command:
    $ /directory_path/runInstaller -help
    

  5. When the installation completes, log in as the root user and run the root.sh script:

    $ su
    # $ORACLE_HOME/root.sh
    

See Also:

  • The "Installing Oracle Products" section in Oracle Universal Installer and OPatch User's Guide for more information about installing on using response files

  • The "Deinstalling Products" section in Oracle Universal Installer and OPatch User's Guide for more information about removing software by using response files


B.2 Running Oracle Workflow Configuration Assistant in Noninteractive Mode

You can run Oracle Workflow Configuration Assistant in noninteractive mode by entering your configuration parameter settings directly in the Oracle Workflow Configuration Assistant wfinstall.csh script. You must specify all required and conditionally required parameters for the features that you want to use.

To run Oracle Workflow Configuration Assistant in noninteractive mode:

  1. Go to the $ORACLE_HOME/wf/install directory, which is the default location of the wfinstall.csh script.

  2. Open the wfinstall.csh script in a text editor, and locate the line that is similar to the following:

    . . . repository.jar" WorkflowCA /wfdir workflow_directory /orahome oracle_home 
    
    

    For example:

    . . . repository.jar" WorkflowCA /wfdir /d1/iasinstall/m21pw1/wf 
    /orahome /d1/iasinstall/m21pw1
    
    
  3. Edit the script to append your additional parameters after the /wfdir, /orahome, and /ospath parameters. Enter the parameters all on the same line. Otherwise, the script will not run correctly.

    . . . repository.jar" WorkflowCA /wfdir workflow_directory /orahome 
    oracle_home /wfacct workflow_schema
    /instype installation_type /tnsconndesc connection_string
    
    

    where:

    • /wfdir: The Oracle Workflow directory within your Oracle Home directory. The default directory is $ORACLE_HOME/wf.

    • /orahome: Your Oracle home directory location. for example, /u01/app/oracle/product/10.2/db_2.

    • /wfacct: Workflow Account.

    • /instype: Specify one of the following installation options:

      • server: Configures Workflow Server only; available in both GUI mode and command-line mode

      • add_language: Sets the language or languages used; available in both GUI mode and command-line mode

    • /tnsconndesc: Connection string to the Oracle Database


    Note:

    If a parameter can be entered in both user interface mode and noninteractive mode, then this section lists the name of the corresponding field on the Oracle Workflow Configuration Assistant screen alongside the noninteractive mode parameter name.

  4. If you specified add_language for the /instype parameter, then enter the /nlsopt parameter with the languages you want to add.

    Enclose the languages in quotes. For example, to specify Arabic, German, and Danish, enter the following value:

    "ar d dk"
    
    

    To use all available languages, set nlsop to all. Oracle Workflow Server supports all languages that Oracle Database supports.


    See Also:

    "Locale Data" in Oracle Database Globalization Support Guide for a list of standard language abbreviations

  5. If you specified server for the /instype parameter, then enter the following parameters if you want to integrate Oracle Internet Directory as your Oracle Workflow directory service:

    • /ldaphost: LDAP host name

    • /ldapport: LDAP non-SSL port

    • /ldapuser: LDAP admin user name

    • /ldaplogbase: Changelog DN

    • /ldapuserbase: User base (for example, /ldapuserbase cn=Users,dc=us,dc=oracle,dc=com)

    If you are upgrading an existing installation of Oracle Workflow that is already integrated with Oracle Internet Directory, then you can omit the LDAP parameters for Oracle Internet Directory integration if they are already defined in your database.

    In this case, Oracle Workflow Configuration Assistant configures your Oracle Internet Directory integration by using the existing LDAP parameters defined in your database. However, if you specify new LDAP parameters here, Oracle Workflow Configuration Assistant will update your settings.

  6. If you specified server or all for the /instype parameter, then enter the following parameters if you want to use Oracle Workflow Notification Mailer:

    • /mailserver: Inbound e-mail account: server name

    • /mailuser: Inbound e-mail account: user name

    • /mailhost: Outbound e-mail account: server name

    • /htmlagent: Message generation: HTML agent

    • /mailreply: Message generation: reply-to address

    • /processfolder: E-mail processing: name of processed folder

    • /discardfolder: E-mail processing: name of discard folder

  7. If you specified server for the /instype parameter and if you want to change the tablespace assigned to the Oracle Workflow database account, then set the /tablespace parameter to a valid existing tablespace name.

  8. To control how Oracle Workflow Configuration Assistant writes log information, set these parameters:

    • /debug: Specify true if you want Oracle Workflow Configuration Assistant to write debug information to the workflow.log file. By default, Oracle Workflow does not log this information.

    • /logdir: Specify the path to the directory where you want Oracle Workflow Configuration Assistant to write the workflow.log file, or specify nolog if you do not want to create a log file. By default, the log file is written to the $ORACLE_HOME/wf/install directory.

  9. Save your changes, and close the wfinstall.csh file.

  10. To run the wfinstall.csh script, enter the following command:

    $ORACLE_HOME/wf/install/wfinstall.csh
    
    

If the wfinstall.csh script includes the minimum parameters, all entered as a single line of text in the file, then it performs the configuration in noninteractive mode, without displaying the Oracle Workflow Assistant screen. However, as a security precaution, the script may prompt you to enter the following passwords at run time, depending on the installation options that your site uses:

B.3 Installing and Using Oracle Components in Different Languages

This section describes the following procedures:

B.3.1 Installing Oracle HTML DB in Different Languages

The Oracle HTML DB interface is translated into German, Spanish, French, Italian, Japanese, Korean, Brazilian Portuguese, Simplified Chinese, and Traditional Chinese. A single instance of Oracle HTML DB can be installed with one or more of these translated versions. At run time, each user's Web browser language settings determine the specific language version.

The translated version of Oracle HTML DB should be installed in a database that has a character set that can support the specific language.


Caution:

If you attempt to install a translated version of Oracle HTML DB in a database that does not support the character encoding of the language, then the installation may fail or the translated Oracle HTML DB instance may appear corrupted when run.

The database character set AL32UTF8 supports all the translated versions of Oracle HTML DB.

You can manually install translated versions of Oracle HTML DB by using SQL*Plus. The installation files are encoded in UTF8.


Caution:

AL32UTF8 is the Oracle Database character set that is appropriate for XMLType data. It is equivalent to the IANA registered standard UTF-8 encoding, which supports all valid XML characters.

Do not confuse Oracle Database database character set UTF8 (no hyphen) with database character set AL32UTF8 or with character encoding UTF-8. Database character set UTF8 has been superseded by AL32UTF8. Do not use UTF8 for XML data. UTF8 supports only Unicode version 3.1 and earlier; it does not support all valid XML characters. AL32UTF8 has no such limitation.

Using database character set UTF8 for XML data could potentially cause a fatal error or affect security negatively. If a character that is not supported by the database character set appears in an input-document element name, a replacement character (usually, the question mark (?)) is substituted for it. This will terminate parsing and raise an exception.



Note:

Regardless of the target database character set, to install a translated version of Oracle HTML DB, you must set the character set value of the NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus.

The following examples illustrates valid NLS_LANG settings for loading Oracle HTML DB translations:

American_America.AL32UTF8
Japanese_Japan.AL32UTF8 

To install a translated version of Oracle HTML DB:

  1. Set the NLS_LANG environment variable, making sure that the character set is AL32UTF8. For example:

    set NLS_LANG=American_America.AL32UTF8
    
    
  2. Start SQL*Plus and connect to the target database as SYS.

  3. Run the following statement:

    ALTER SESSION SET CURRENT_SCHEMA = FLOWS_010600;
    
    
  4. Run the appropriate language-specific script. For example:

    @load_de.sql
    
    

    The installation scripts are located in subdirectories identified by a language code in the unzipped distribution /htmldb/builder. For example, the German version is located in /htmldb/builder/de and the Japanese version is located in /htmldb/builder/ja. In each of these directories, there is a language loading script identified by the language code. For example, load_de.sql or load_ja.sql.

B.3.2 Installing Oracle Workflow in Different Languages

Use the Add Language option in Oracle Workflow Configuration Assistant to install Oracle Workflow in a different language.


See Also:

"Preparing Oracle Workflow Server for the Oracle Workflow Middle Tier Installation" for instructions on starting Oracle Workflow Configuration Assistant

B.3.3 Running Oracle Universal Installer in Different Languages

Oracle Universal Installer runs by default in the selected language of your operating system. You can also run Oracle Universal Installer in the following languages:

  • Brazilian Portuguese

  • German

  • Japanese

  • Simplified Chinese

  • Traditional Chinese

  • French

  • Italian

  • Korean

  • Spanish

To run Oracle Universal Installer in a different language, change the language in which your operating system is running before you run Oracle Universal Installer.


See Also:

Oracle Universal Installer and OPatch User's Guide for information about running Oracle Universal Installer in different languages

B.3.4 Using Oracle Components in Different Languages

You can specify the language in which you want to use Oracle components (such as Oracle Net Configuration Assistant and Oracle Database Configuration Assistant). Note that this does not change the language in which Oracle Universal Installer is run. For the Oracle component to run in the selected language, it must be the same as the language set for your operating system. You can change your operating system language in the Regional Settings window from the Control Panel.

To use components in different languages:

  1. Start Oracle Universal Installer.

  2. On the Select Installation Type screen, click Product Languages.

  3. On the Language Selection screen, select the language in which you want to use Oracle components from the Available Languages field.

  4. Use the > arrow to move the language to the Selected Languages field, and then click OK.

  5. Select the products you require, and then click Next.

    After installation is complete, the dialog box text, messages, and online Help for the installed components are displayed in the language you select.