Oracle® Database: Examples Installation Guide 11g Release 2 (11.2)
Oracle® Database: Examples Installation Guide 11g Release 2 (11.2)
Oracle® Database: Examples Installation Guide 11g Release 2 (11.2)
This document describes how to install and configure the products available on the
Oracle Database Examples media. It includes the following sections:
New Feature in Oracle Database 11g Release 2 (11.2.0.2)
Products Available on the Oracle Database Examples Media
Requirements for Oracle Database Examples
Download Oracle Database Examples
Documentation Accessibility
1
Oracle Database Examples
Oracle Database Examples include a variety of examples and product demonstrations
that you can use to learn about the products, options, and features of Oracle Database.
Many of these examples are designed to work with the Sample Schemas, which you
can install in any Oracle Database. Many of the documents in the Oracle
Documentation Library use the example programs and scripts provided with the
Oracle Database Examples.
This section contains the following topics:
Required Products
Oracle COM Automation Feature Demos
Oracle Data Mining Demos
Oracle Globalization Support Demos
Oracle Message Gateway Common Companion Files
Oracle Multimedia Demos
Oracle Precompiler Demos
Oracle Spatial Demos
Oracle SQLJ Demos
Oracle Internet Directory Client Demos
Oracle XML Demos
Oracle ODBC Companion
Required Products
Before you can use the Oracle Database Examples, you must install the Sample
Schemas in an Oracle Database. When you install Oracle Database, or use Database
Configuration Assistant to create a database, you can choose to include the Sample
Schemas when you create the database. You can also manually install the Sample
Schemas in an existing database.
2
Oracle Data Mining Demos
Oracle Data Mining Demos include Data Mining sample programs that can help you
in learning about Oracle Data Mining APIs. The programs illustrate typical approaches
to data preparation, algorithm selection, algorithm tuning, testing, and scoring. Each
program creates a mining model in the database. All the programs include extensive
inline comments to help you understand the code.
3
standard. A Pro*C program is a C program containing embedded SQL statements.
Oracle Pro*C/C++ and Pro*COBOL Demos offer extensions to support dynamic SQL
operations, which are operations that can change in real time. It is also possible to use
dynamic SQL operations through PL/SQL code (known as anonymous PL/SQL block)
with a Pro*C/C++ and Pro*COBOL application. Typical applications contain much
more static SQL than dynamic SQL. The precompiler translates each embedded SQL
statement into calls to the Precompiler run-time library (SQLLIB).
See Also:
Appendix G, "Sample Programs" in Pro*C/C++ Programmer's Guide
"Sample Programs" in Pro*COBOL Programmer's Guide
See Also:
"Spatial Examples" in Oracle Spatial Developer's Guide
"GeoRaster PL/SQL Demo Files" in Oracle Spatial GeoRaster
Developer's Guide
"Network Data Model Documentation and Demo Files" in Oracle
Spatial Topology and Network Data Models Developer's Guide
See Also: Oracle Database SQLJ Developer's Guide and Reference for
more information about these demos
4
Oracle XML Demos
Oracle XML Demos showcase the features of the Oracle XML Developer's Kit (XDK),
which is a versatile set of components that enables you to build and deploy C, C++,
and Java software programs that process XML.
See Also:
"Running the JavaBean Demo Programs" in Oracle XML
Developer's Kit Programmer's Guide
"Using the XML C++ Class Generator Examples" in Oracle XML
Developer's Kit Programmer's Guide
"Using the XML Parser Command-Line Utility: Example" in Oracle
XML Developer's Kit Programmer's Guide
See Also: Oracle Text Reference for more information about creating
and extending knowledge bases
5
See Also: Oracle Database Installation Guide for information about
installing Oracle Database
Identify the Oracle home directory used by the Oracle Database installation.
On UNIX platforms, check the contents of the oratab file by using the following
command:
# more /etc/oratab
On Windows platforms:
1. From the Start menu, choose Programs, then Oracle - HOME_NAME, then Oracle
Installation Products, then Universal Installer.
2. When the Welcome screen appears, click Installed Products.
The Inventory screen appears, listing all of the Oracle homes on the system and
the products installed in each Oracle home.
3. On the Inventory screen, expand each Oracle home and locate Oracle Database
11g.
4. Click Close and then Cancel to exit Oracle Universal Installer.
6
Install Oracle Database Examples
You must install Oracle Database Examples in an existing Oracle Database 11g Release
2 (11.2) Oracle home.
To install Oracle Database Examples:
1. Log in as Administrator on the computer where Oracle Database is installed.
On UNIX platforms, log in as the Oracle software owner user (oracle) and set
the DISPLAY environment variable.
On Windows platforms, log in as a member of the Administrators group to the
computer on which you want 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. Verify that the Oracle Database that you plan to use is accessible as described in
"Access to Oracle Database".
3. Navigate to the directory where you downloaded the installation files and run the
following command to start Oracle Universal Installer:
On UNIX platforms:
$ ./runInstaller
On Windows platforms:
Double-click setup.exe.
4. If this is the first installation of Oracle products on this UNIX system, then Oracle
Universal Installer displays the Specify Inventory Directory and Credentials
screen. Specify the following information, and then click Next:
Enter the full path of the inventory directory:
Verify that the path is similar to the following, where oracle_base is the
value you specified for the ORACLE_BASE environment variable:
oracle_base/oraInventory
7
Note: To run the installation in a secured data center, download
updates before starting the installation by starting Oracle Universal
Installer on a system that has Internet access.
Provide My Oracle Support user name and password along with proxy
settings, if required, on the Provide My Oracle Support credentials screen.
Then, enter the Download location and click Download on the Download
software updates screen.
If updates are available, then they are downloaded in the location
provided. The Finish Updates screen shows the successful download of
the updates. Click Close.
Download the updates to a directory on a server, where the Oracle
Universal Installer runs.
Once the download completes, restart Oracle Universal Installer and use
that download location in the location field of the Use pre-downloaded
software updates option.
Skip software updates: Choose this option, if you do not want any software
updates.
Click Next to continue.
6. The Apply Software Updates screen, lists out the updates available. It displays the
following details:
Patch Numbers
Description
Related Notes
If Use My Oracle Support credentials for download option is chosen in the
previous screen, select the Download and apply all updates check box. This
downloads and applies the latest updates during the installation. However, you
can also change the location to where you want to download the latest updates.
If Use pre-downloaded software updates option is chosen in the previous screen,
select the Apply all updates check box. This applies the updates during the
installation.
Click Next to continue.
7. On the Specify Installation Location screen, enter the following:
8
Oracle Base: The Oracle base directory is a top-level directory for Oracle
software installations. The Oracle base path appears by default. You can
change the path based on your requirement.
Software Location: In the Software Location field, enter the full path where
you want to install Oracle Database Examples. You must install Oracle
Database Examples in an existing Oracle home.
If Oracle Real Application Clusters (Oracle RAC) is installed in the Oracle home
that you select, then Oracle Universal Installer displays the Selected Nodes screen.
Click Next to continue.
8. On the Perform Prerequisite Checks screen, check for and correct any errors that
may have occurred while Oracle Universal Installer was checking your system. If
you click Check Again, then you can run the prerequisite check again to see if the
minimum requirements are met to carry on with the installation. Click Fix &
Check Again, if you want the installer to fix the problem and check the system
requirements again.
Note: The Fix & Check Again option generates a script (UNIX only)
that sets some system parameters to Oracle-recommended values. You
must run the script as the root user. Oracle recommends that you do
not modify the contents of this script.
9
Documentation Accessibility
Our goal is to make Oracle products, services, and supporting documentation
accessible to all users, including users that are disabled. To that end, our
documentation includes features that make information available to users of assistive
technology. This documentation is available in HTML format, and contains markup to
facilitate access by the disabled community. Accessibility standards will continue to
evolve over time, and Oracle is actively engaged with other market-leading
technology vendors to address technical obstacles so that our documentation can be
accessible to all of our customers. For more information, visit the Oracle Accessibility
Program Web site at http://www.oracle.com/accessibility/.
10