Skip Headers

Oracle® Database Companion CD Installation Guide
10g Release 1 (10.1.0.2.0) for Windows

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

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

3 Installing the Oracle Database Companion CD Software

This chapter describes how to start Oracle Universal Installer and install and remove the products available on the Oracle Database Companion CD.

This chapter contains these topics:

3.1 Introduction

The software described in this chapter is available on CD-ROM. You use the graphical user interface (GUI) provided by Oracle Universal Installer to install or remove the software.


Note:

Do not use Oracle Universal Installer from an earlier release to install components from this release.

The Oracle Database Companion CD contains two installation types:

If you install Oracle Database 10g Products, Oracle Universal Installer installs all the products available with this installation type. You can choose which products to install and whether you want to install in a new Oracle home or use an existing one. Depending on the products that you want to install or remove, follow the instructions in one of the following sections:

3.2 Installing Oracle Database 10g Products

You must install Oracle Database 10g Products in an existing Oracle Database 10g release 1 (10.1) Oracle home.

To install Oracle Database 10g Products, follow these steps:

  1. Log on as a member of the Administrators group to the computer on which to install Oracle components.

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. Delete the ORACLE_HOME environment variable if it exists. Refer to your Microsoft online help for more information about deleting environment variables.


    Note:

    The ORACLE_HOME environment variable is automatically set in the registry. Manually setting this variable prevents installation.
  3. Insert the CD-ROM labeled Oracle Database Companion CD 10g Release 1 (10.1) Disk 1 of 1 or navigate to the Oracle Database Companion CD location on the Oracle Database 10g release 1 (10.1) DVD-ROM.

    When installing from a hard disk, double-click setup.exe.

    When installing from the installation media, the Autorun screen automatically appears. If the Autorun screen does not appear, then:

    1. Click Start > Run.

    2. Enter the following:

      DRIVE_LETTER:\autorun\autorun.exe
      
      

      The Welcome screen appears.


      Note:

      If you need additional information about a screen, click Help.
  4. On the Welcome screen click Next.

  5. On the Specify File Locations screen, do the following:

    1. Under Source, leave the path to the file that represents the products you want to install at the default setting.

    2. Under Destination, verify that the Oracle home specified is the Oracle Database Oracle home. (The default Oracle home is offered.)


      See also:

      "Oracle Database 10g Oracle Home Directory" for information on finding the correct Oracle home.
  6. Click Next.

  7. On the Select a Product to Install screen, choose Oracle Database 10g Products and click Next.

  8. On the Summary screen, check the list of products that will be installed, and click Install.

  9. When the installation completes, click Exit and then click Yes to exit from the Oracle Universal Installer.

  10. Optionally, delete the temp\OraInstalldate_time directory if you want to remove the temporary files that were created during the installation process. The OraInstalldate_time directory holds about 45 MB of files.

    Restarting your computer also removes the OraInstalldate_time directory.


See Also:

"About Oracle Database 10g Products" for information on the products that install with the Oracle Database 10g Products installation type

3.3 Installing Oracle HTML DB in an Existing Oracle HTTP Server Home

This section describes how to install Oracle HTML DB in an existing Oracle HTTP Server home.


See Also:

"Installing Oracle Database 10g Companion Products in a New Oracle Home" for information on installing Oracle HTML DB, Oracle HTTP Server, or both products into a new Oracle home

To install Oracle HTML DB in an existing Oracle HTTP Server home directory, follow these steps:

  1. Log on as a member of the Administrators group to the computer on which to install Oracle components.

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. Make sure that the Oracle database that you plan to use for Oracle HTML DB is accessible and running.

    1. Select Start > Settings > Control Panel to display the Windows System Control Panel.

    2. Depending on your Windows system, either double-click the Services icon, or double-click the Administrative Tools icon and then double-click Services.

    3. Find the database (its name is preceded with OracleService), and if the service is not started, right-click on its name and choose Start from the drop-down menu.

  3. Delete the ORACLE_HOME environment variable if it exists. Refer to your Microsoft online help for more information about deleting environment variables.


    Note:

    The ORACLE_HOME environment variable is automatically set in the registry. Manually setting this variable prevents installation.
  4. Insert the CD-ROM labeled Oracle Database Companion CD 10g Release 1 (10.1) Disk 1 of 1 or navigate to the Oracle Database Companion CD location on the Oracle Database 10g release 1 (10.1) DVD-ROM.

    When installing from a hard disk, double-click setup.exe.

    When installing from the installation media, the Autorun screen automatically appears. If the Autorun screen does not appear, then:

    1. Click Start > Run.

    2. Enter the following:

      DRIVE_LETTER:\autorun\autorun.exe
      
      

      The Welcome screen appears.


      Note:

      If you need additional information about a screen, click Help.
  5. On the Welcome screen click Next.

  6. On the Specify File Locations screen, do the following:

    1. Under Source, leave the path to the file that represents the products you want to install at the default setting.

    2. Under Destination, verify that the Oracle home specified is the Oracle HTTP Server home. (The default Oracle Database home is offered.)


      See also:

      "Oracle Database 10g Oracle Home Directory" for information on finding the Oracle home. Select each home and search for Apache Standalone, which is how Oracle HTTP Server is listed.
  7. Click Next.

  8. On the Select a Product to Install screen, choose Oracle Database 10g Companion Products and click Next.

  9. On the Available Product Components screen, select HTML DB and click Next.


    Note:

    Because you are installing these products in an existing Oracle home directory, do not select Oracle HTTP Server. Oracle HTTP Server is listed as Apache Standalone in the Available Product Components screen.
  10. On the HTML Configuration Information screen, enter the information required to configure Oracle HTML DB and click Next.

    • Hostname

      Specify the host name of the system where the database is installed. If the host name is the local host, enter the name of the computer, not localhost.

    • Port

      Specify the TCP/IP port number for the Oracle Net listener on the database system. The default port number is 1521.

    • Database Service Name

      Specify the database service name for the database where you want to install the Oracle HTML DB database objects. The database service name is usually the same as the global database name for the database, for example, sales.us.oracle.com.

    • SYS Password

      Specify the password for the SYS user in the database.

    • HTML DB Password

      Specify the password that you want to use for the Oracle HTML DB schemas (users), which are created in the database during the installation. After the installation, you can use this password to connect to Oracle HTML DB as the administrative user. The password that you specify is also used for the HTMLDB_PUBLIC_USER schema, which is used by mod_plsql to connect to the database, and for the FLOWS_010500 and FLOWS_FILES schemas.

    • Confirm HTML DB Password

      Enter the password again to verify that you have specified it correctly.

    • TABLESPACE Name

      Enter the name of the tablespace where you want to load the Oracle HTML DB database objects, or accept the default (SYSAUX).

  11. On the Summary screen, check the list of products that will be installed, and click Install.

  12. When the installation completes, click Exit and then click Yes to exit from Oracle Universal Installer.

  13. Optionally, delete the temp\OraInstalldate_time directory if you want to remove the temporary files that were created during the installation process. The OraInstalldate_time directory holds about 45 MB of files.

    Restarting your computer also removes the OraInstalldate_time directory.


See Also:

3.4 Installing Oracle Database 10g Companion Products in a New Oracle Home

The Oracle Database 10g Companion Products installation type includes the following products:

You must install Oracle HTTP Server in a new Oracle home, and you must install Oracle HTML DB in an Oracle HTTP Server Oracle home. This can be an existing Oracle HTTP Server Oracle home, or you can choose to install Oracle HTTP Server when you install either or both of these products.

To install Oracle Database 10g Companion Products in a new Oracle home, follow these steps:

  1. Log on as a member of the Administrators group to the computer on which to install Oracle components.

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. Delete the ORACLE_HOME environment variable if it exists. Refer to your Microsoft online help for more information about deleting environment variables.


    Note:

    The ORACLE_HOME environment variable is automatically set in the registry. Manually setting this variable prevents installation.
  3. Insert the CD-ROM labeled Oracle Database Companion CD 10g Release 1 (10.1) Disk 1 of 1 or navigate to the Oracle Database Companion CD location on the Oracle Database 10g release 1 (10.1) DVD-ROM.

    When installing from a hard disk, double-click setup.exe.

    When installing from the installation media, the Autorun screen automatically appears. If the Autorun screen does not appear, then:

    1. Click Start > Run.

    2. Enter the following:

      DRIVE_LETTER:\autorun\autorun.exe
      
      

      The Welcome screen appears.


      Note:

      If you need additional information about a screen, click Help.
  4. On the Welcome screen click Next.

  5. On the Specify File Locations screen, do the following:

    1. Under Source, leave the setting at the default for the path representing the products that you want to install.

    2. Under Destination, enter the name and path for a new Oracle home directory. (The default Oracle home name is offered. Do not enter a directory path that has spaces. The Oracle Universal Installer will create a new directory for you.)


      See also:

      "Oracle Database 10g Oracle Home Directory" for information on finding the existing Oracle homes on your system
  6. Click Next.

  7. On the Select a Product to Install screen, choose Oracle Database 10g Companion Products and click Next.

  8. On the Available Product Components screen, choose Apache Standalone (which is Oracle HTTP Server), HTML DB, or both.


    Note:

    If you are installing Oracle HTML DB in a new Oracle home, you must choose Oracle HTTP Server.
  9. Click Next.

  10. On the Enter HTML Configuration Information screen, enter the information required to configure Oracle HTML DB and click Next.

    To configure Oracle HTML DB, you must install the Oracle HTML DB database objects in an Oracle database. The database that you choose must be a release 9.2.0.3 or later database. If you plan to use an Oracle 10g database, the Oracle Universal Installer automatically creates a database access descriptor (DAD) in the mod_sql configuration file and directory aliases in the Oracle HTTP Server configuration file, based on the information you enter during installation. However, if you plan to use a 9.2.0.3 or later database (but not 10g), you need to create these settings manually by using procedure described in the postinstallation steps in Chapter 4.

    To configure Oracle HTML DB, specify the following information:

    • Hostname

      Specify the host name of the system where the database is installed. If the host name is the local host, enter the name of the computer, not localhost.

    • Port

      Specify the TCP/IP port number for the Oracle Net listener on the database system. The default port number is 1521.

    • Database Service Name

      Specify the database service name for the database where you want to install the Oracle HTML DB database objects. The database service name is usually the same as the global database name for the database, for example, sales.us.oracle.com.

    • SYS Password

      Specify the password for the SYS user in the database.

    • HTML DB Password

      Specify the password that you want to use for the HTML DB schemas (users), which are created in the database during the installation. After the installation, you can use this password to connect to Oracle HTML DB as the ADMIN user. The password that you specify is also used for the HTMLDB_PUBLIC_USER schema, which is used by mod_plsql to connect to the database, and for the FLOWS_010500 and FLOWS_FILES schemas.

    • Confirm HTML DB Password

      Enter the password again to verify that you have specified it correctly.

    • TABLESPACE Name

      Enter the name of the tablespace where you want to load the Oracle HTML DB database objects, or accept the default (SYSAUX).

  11. On the Summary screen, check the list of products that will be installed, and click Install.

  12. On the End of Installation screen, make a note of the URLs that Oracle HTTP Server will use.


    Note:

    These URLs are also listed in the ORACLE_BASE\ORACLE_HOME\Apache\Apache\setupinfo.txt file.
  13. Click Exit and then click Yes to exit from the Oracle Universal Installer.

  14. Optionally, delete the temp\OraInstalldate_time directory if you want to remove the temporary files that were created during the installation process. The OraInstalldate_time directory holds about 45 MB of files.

    Restarting your computer also removes the OraInstalldate_time directory.


See Also:

3.5 Removing the Oracle Database Companion CD Software

This section describes the following topics:

3.5.1 Removing Oracle Database Products and Oracle Database Companion CD Products

The following steps describe how to use Oracle Universal Installer to remove Oracle software:


Note:

Always use Oracle Universal Installer to remove Oracle software. Do not delete any Oracle home directories without first using Oracle Universal Installer to remove the software.
  1. Stop the Oracle HTTP Server and Oracle Process Manager and Notification services.

  2. Choose Start > Programs > Oracle - HOME_NAME > Oracle Installation Products > Universal Installer.

  3. When the Welcome screen appears, click Deinstall Products.

    The Inventory screen appears, listing all of the Oracle homes on the system and the products installed in each Oracle home.

  4. In the Inventory screen, select the Oracle home and the Oracle products that you want to remove.

  5. To delete specific products, select them in the tree window.

  6. Click Remove.

    A confirmation window appears asking you to confirm that you want to deinstall the products and their dependent components.

  7. Click Yes.

    A progress indicator will appear as the software is removed.

3.5.2 Removing Oracle HTML DB from the Database

After you have sucessfully deinstalled Oracle HTML DB using the Oracle Universal Installer, you can remove Oracle HTML DB from the database.

  1. Connect to the database as a privileged user, such as SYS or SYSTEM.

  2. Execute the following commands:

    SQL> ALTER SESSION SET current_schema = FLOWS_010500;
    SQL> EXEC wwv_flow_upgrade.drop_public_synonyms;
    SQL> ALTER SESSION SET current_schema = SYSTEM;
    SQL> DROP USER flows_010500 CASCADE;
    SQL> DROP USER flows_files CASCADE;
    SQL> DROP USER htmldb_public_user CASCADE;