|
Oracle® Database Companion CD Installation Guide
10g Release 1 (10.1.0.2.0) for 64-Bit Windows Part No. B13806-02 |
|
|
|
|
This chapter describes how to start Oracle Universal Installer and install and remove the products available on the Oracle Database Companion CD. It also explains how to start, stop, or restart Oracle HTTP Server.
This chapter contains these topics:
Preinstallation Considerations Before Installing Companion CD Products
Installing Oracle Database 10g Companion Products in a New Oracle Home
Installing Oracle HTML DB in an Existing Oracle HTTP Server Home
Review the information in Chapter 1, "Oracle Database Companion CD Installation Overview" and complete the tasks listed in Chapter 2, "Oracle Database Companion CD Requirements" before beginning the installation.
Next, consider the following issues:
If you need to perform multiple installations of Oracle Database Companion CD Products, you may want to use noninteractive mode. In noninteractive mode, at each computer, you run Oracle Universal Installer from the command line using a response file. The response file is a text file containing the settings you normally enter in the Oracle Universal Installer GUI dialog boxes. This method lets you quickly perform multiple installations using similar settings for each computer.
|
See Also: "Installing Oracle Components in Noninteractive Mode" for instructions on performing noninteractive installations |
The software described in this chapter is available on CD-ROM. You use the Oracle Universal Installer to install or remove the software. 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:
Oracle Database 10g Products
Oracle Database 10g Companion Products
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 to install them into a new or existing Oracle home. If you are installing the Oracle Database Products, you should install them into an existing Oracle home; if you are installing the Companion Products, you should install them into a new Oracle home. Depending on the products that you want to install or remove, follow the instructions in one of these sections:
If you need to install the Oracle Database Companion CD products using any of the following scenarios, follow the procedures in this section before continuing to the installation instructions.
If the computer where you want to install the Oracle Database Companion CD products does not have a CD-ROM or DVD drive, you can perform the installation from a remote CD-ROM or DVD drive. Check the following points:
The remote CD-ROM or DVD drive that you want to use must allow shared access. To set this up, perform these steps on the remote computer that has the CD-ROM or DVD drive:
Log in to the remote computer as an Administrator user.
Start Windows Explorer.
Right-click the CD-ROM or DVD drive letter and choose Sharing and Security.
Click the Sharing tab and do the following:
Select Share this folder.
In Share name, give it a share name such as cdrom or dvd. You will use this name when you map the CD-ROM or DVD drive on the local computer. See step d under step 1 of the next procedure.
Click Permissions. You need at least "read" permission for the user who will be accessing it to install Oracle Database.
Click OK when you are finished.
For a CD-ROM, insert the CD labeled Oracle Database CD Companion 10g Release 1 (10.1) Disk 1 of 1 into the CD-ROM drive.
For a DVD, insert the Oracle Database into the DVD drive.
Perform these steps on the local computer to map a remote CD-ROM or DVD drive and to run Oracle Universal Installer from the mapped drive:
Map the remote CD-ROM or DVD drive.
Start Windows Explorer on the local computer.
From the Tools menu, select Map Network Drive to display the Map Network Drive dialog.
Select a drive letter to use for the remote CD-ROM or DVD drive.
In Folder, enter the location of the remote CD-ROM or DVD drive using the following format:
\\remote_hostname\share_name
where:
remote_hostname is the name of the remote computer with the CD-ROM or DVD drive.
share_name is the share name that you entered in step 4 of the previous procedure. For example
\\computer2\cdrom
If you need to connect to the remote computer as a different user, click different user name, and enter the username.
Click Finish.
Run Oracle Universal Installer from the mapped CD-ROM or DVD drive.
If you want to install and run the Oracle Database Companion CD products on a remote computer (that is, the remote computer has the hard drive and will run these components), but you do not have physical access to the computer, you still can perform the installation on the remote computer if it is running remote access software such as VNC or Symantec pcAnywhere. You also need the remote access software running on your local computer.
You can install the Oracle Database Companion CD products on the remote computer in one of two ways:
If you have copied the contents of the Oracle Database Companion CD products CD-ROM or DVD to a hard drive, you can install from the hard drive.
You can insert the CD-ROM or DVD into a drive on your local computer, and install from the CD-ROM or DVD.
If you have copied the contents of the Oracle Database Companion CD products CD-ROM or DVD to a hard drive, you can install from the hard drive.
The steps that you have to complete are:
Make sure that the remote access software is installed and running on the remote and local computers.
Share the hard drive that contains the Oracle Database Companion CD products CD-ROM or DVD.
On the remote computer, map a drive letter to the shared hard drive. You would use the remote access software to do this on the remote computer.
Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared hard drive.
You can insert the CD-ROM or DVD into a drive on your local computer, and install from the CD-ROM or DVD. This is similar to the scenario described in "Installing from a Remote CD-ROM or DVD Drive".
The steps that you need to complete are:
Make sure that the remote access software is installed and running on the remote and local computers.
On the local computer, share the CD-ROM or DVD drive.
On the remote computer, map a drive letter to the shared CD-ROM or DVD drive. You would use the remote access software to do this on the remote computer.
These steps are described in "Installing from a Remote CD-ROM or DVD Drive".
Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared CD-ROM or DVD drive.
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:
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.
Delete the ORACLE_HOME environment variable if it exists.
Refer to your Microsoft online help for more information about deleting environment variables.
|
Note: TheORACLE_HOME environment variable is automatically set in the registry. Manually setting this variable prevents installation.
|
Insert the CD-ROM labeled Oracle Database Companion CD 10g Release 1 (10.1) Disk 1 of 1 or navigate to the companion directory on the Oracle Database 10g release 1 (10.1) DVD-ROM.
If you are installing from a hard disk, double-click setup.exe.
If you are installing from the installation media, the Autorun screen automatically appears. If the Autorun screen does not appear, then:
From the Start menu, select Run.
Enter the following:
DRIVE_LETTER:\autorun\autorun.exe
The Welcome screen appears.
|
Note: If you need additional information about a screen, click Help. |
On the Welcome screen click Next.
On the Specify File Locations screen, do the following:
Under Source, leave the path to the file that represents the products you want to install at the default setting.
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. |
Click Next.
On the Select a Product to Install screen, choose Oracle Database 10g Products and click Next.
On the Summary screen, check the list of products that will be installed, and click Install.
When the installation completes, click Exit and then click Yes to exit from the Oracle Universal Installer.
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.
The Oracle Database 10g Companion Products installation type includes the following products:
Oracle HTTP Server
Oracle HTML DB
Install the Oracle Database 10g Companion Products into a different Oracle home from the Oracle Database home. You must install Oracle HTTP Server in a new Oracle home, and you must install Oracle HTML DB in this 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:
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.
Delete the ORACLE_HOME environment variable if it exists.
Refer to your Microsoft online help for more information about deleting environment variables.
|
Note: TheORACLE_HOME environment variable is automatically set in the registry. Manually setting this variable prevents installation.
|
Insert the CD-ROM labeled Oracle Database Companion CD 10g Release 1 (10.1) Disk 1 of 1 or navigate to the companion directory on the Oracle Database 10g release 1 (10.1) DVD-ROM.
If you are installing from a hard disk, double-click setup.exe.
If you are installing from the installation media, the Autorun screen automatically appears. If the Autorun screen does not appear, then:
From the Start menu, select Run.
Enter the following:
DRIVE_LETTER:\autorun\autorun.exe
The Welcome screen appears.
|
Note: If you need additional information about a screen, click Help. |
On the Welcome screen click Next.
On the Specify File Locations screen, do the following:
Under Source, leave the setting at the default for the path representing the products that you want to install.
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. After you enter a correct directory path, Oracle Universal Installer creates a new directory for you.)
|
See also: "Oracle Database 10g Oracle Home Directory" for information on finding the existing Oracle homes on your system |
Click Next.
On the Select a Product to Install screen, choose Oracle Database 10g Companion Products and click Next.
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. |
Click Next.
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. It can be on a separate server, as long as Oracle HTML DB can access it with Oracle*Net. If you plan to use Oracle Database 10g release 1 (10.1) Oracle database, 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 release 1 (10.1)), you need to create these settings manually by using the 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, for example, sales. Alternatively, you can enter the domain name, which is usually the same as the global database name, for example, sales.us.mycompany.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).
On the Summary screen, check the list of products that will be installed, and click Install.
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 theORACLE_BASE\ORACLE_HOME\Apache\Apache\setupinfo.txt file.
|
Click Exit and then click Yes to exit from the Oracle Universal Installer.
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: Chapter 4, "Oracle Database Companion CD Postinstallation Tasks" for information on tasks that you must complete after you have installed the software |
This section describes how to install Oracle HTML DB in an existing Oracle HTTP Server home.
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.
Make sure that the Oracle database that you plan to use for Oracle HTML DB is accessible and running.
From the Start menu, select Settings, then Control Panel to display the Windows System Control Panel.
Depending on your Windows system, either double-click the Services icon, or double-click the Administrative Tools icon and then double-click Services.
Find the database (its name is preceded with OracleService), and if the service is not started, right-click its name and choose Start from the drop-down menu.
Delete the ORACLE_HOME environment variable if it exists.
Refer to your Microsoft online help for more information about deleting environment variables.
|
Note: TheORACLE_HOME environment variable is automatically set in the registry. Manually setting this variable prevents installation.
|
Insert the CD-ROM labeled Oracle Database Companion CD 10g Release 1 (10.1) Disk 1 of 1 or navigate to the companion directory on the Oracle Database 10g release 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:
From the Start menu, select Run.
Enter the following:
DRIVE_LETTER:\autorun\autorun.exe
The Welcome screen appears.
|
Note: If you need additional information about a screen, click Help. |
On the Welcome screen click Next.
On the Specify File Locations screen, do the following:
Under Source, leave the path to the file that represents the products you want to install at the default setting.
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. |
Click Next.
On the Select a Product to Install screen, choose Oracle Database 10g Companion Products and click Next.
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. |
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, for example, sales. Alternatively, you can enter the domain name, which is usually the same as the global database name, for example, sales.us.mycompany.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).
On the Summary screen, check the list of products that will be installed, and click Install.
When the installation completes, click Exit and then click Yes to exit from Oracle Universal Installer.
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: Chapter 4, "Oracle Database Companion CD Postinstallation Tasks" for information on tasks that you must complete after you have installed the software |
This section describes the following topics:
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. |
Stop the Oracle HTTP Server and Oracle Process Manager and Notification services.
From the Start menu, select Programs, then Oracle - HOME_NAME, then Oracle Installation Products, then Universal Installer.
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.
In the Inventory screen, select the Oracle home and the Oracle products that you want to remove.
To delete specific products, select them in the tree window.
Click Remove.
A confirmation window appears asking you to confirm that you want to deinstall the products and their dependent components.
Click Yes.
A progress indicator will appear as the software is removed.
After you have successfully deinstalled Oracle HTML DB using the Oracle Universal Installer, you can remove Oracle HTML DB from the database.
Connect to the database as a privileged user, such as SYS or SYSTEM.
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;