Database Examples Installation Guide PDF
Database Examples Installation Guide PDF
Database Examples Installation Guide PDF
1
• About Oracle Globalization Support Demos
• About Oracle Message Gateway Common Companion Files
• About Oracle Multimedia Demos
• About Oracle Precompiler Demos
• About Oracle Spatial and Graph Demos
• About Oracle Internet Directory Client Demos
• About Oracle XML Demos
• About Oracle Call Interface Demos
• About Oracle C++ Call Interface Demos
• About Oracle ODBC Companion
2
systems. The samples provided for Messaging Gateway illustrate message
propagating with Oracle AQ, WebSphere MQ Series, and Tibco Rendezvous using
message formats that include JMS, LCR, and XML.
There are seven different samples provided with Messaging Gateway, each located in
their own subdirectory. Each sample includes a README file that contains detailed
information for setting up and executing the samples.
3
Related Topics
• Oracle Spatial and Graph Developer's Guide
• Oracle Spatial and Graph GeoRaster Developer's Guide
• Oracle Spatial and Graph Topology Data Model and Network Data Model Graph
Developer's Guide
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.
Related Topics
• Running Oracle XML Developer's Kit JavaBean Demo Programs
• Using the XML C++ Class Generator Examples
• Using the XML Parser Command-Line Utility: Example
Oracle C++ Call Interface (OCCI) demos provide database access APIs for
applications written in C++. The control classes enable the applications to connect to
the database and create resources like statements and resultsets. The data classes
4
contain various types of data. The object classes and methods provide a navigational
interface to access and manipulate objects. The Object Type Translator (OTT) can be
used to generate the C++ class headers for the data types defined in Oracle database.
The installed demos illustrate the use of classes and methods for OTT and OCCI.
Related Topics
• Oracle C++ Call Interface Programmer's Guide
Preinstallation Considerations
The requirements for installing Oracle Database Examples are as follows:
• Free Disk Space
• Required Products
5
• 800 MB of free disk space on Windows systems.
The following topics contain details about determining free disk space on UNIX and
Windows platforms:
• Determining Free Disk Space on UNIX Platforms
• Determining Free Disk Space on Windows Systems
Required Products
Explains the products that are required to use Oracle Database Examples.
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. You can also manually install the sample schemas in an existing database.
Note:
Starting with Oracle Database 12c Release 2 (12.2), only the HR sample
schema is automatically installed after a database installation. All sample
schemas, including HR, are distributed on GitHub:
Oracle Database Sample Schemas
6
Explains how to identify the Oracle home directory used by Oracle Database
installation.
Before you install products from the Oracle Database Examples media, you must
ensure that your system has access to an Oracle Database 18c Oracle home. If
required, you must first install or upgrade to this release of Oracle Database.
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, the oratab file is located in the /etc directory or in the /var/opt/
oracle directory. Use the more command to check the contents of the oratab file. For
example:
# 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
18c.
4. Click Close and then Cancel to exit Oracle Universal Installer.
7
Oracle Database Examples installs the product demonstrations in the Oracle home
directory and the SQL scripts for the sample schemas in the $ORACLE_HOME/demo/schema
directory. To use these product demonstrations, you must install the sample schemas
in the database. If the sample schemas are not included during an Oracle database
installation or during database creation using Database Configuration Assistant, then
you can manually install them by running the SQL scripts.
Use one of the following methods to install Oracle Database Examples:
• Installing Oracle Database Examples Using Oracle Universal Installer
• Silent Installation of Oracle Database Examples Using Response Files
Related Topics
• Manually Installing Sample Schemas
On Windows platforms:
Double-click setup.exe.
6. On the Specify Installation Location screen, enter the following:
• Oracle Base: The Oracle base path appears by default. You can change the
path based on your requirement. Specify the Oracle Base path.
The Oracle base directory is a top-level directory for Oracle software
installations.
8
• Software Location: In the Software Location field, accept the default value or
enter the Oracle home directory path where you want to install Oracle
Database Examples. You must install Oracle Database Examples in an
existing Oracle Database home.
Note:
If you try to install Oracle Database Examples in an Oracle Database
home that is different from the current release, then the installation fails
with an error.
You must install Oracle Database Examples in an existing Orac;e
Database 18c Oracle home.
If Oracle Real Application Clusters (Oracle RAC) is installed in the Oracle home
that you select, then Oracle Universal Installer displays the Grid Installation
Options screen. The examples software is installed in the selected Oracle RAC
home on all the nodes where it exists. The nodes listed in the table are the nodes
on which the Oracle Inventory has registered an installed Oracle RAC home.
Ensure that each node listed is up and running before you click Next.
Note:
On an Oracle RAC installation, the software is installed on all the cluster
nodes.
7. 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
8. Review the information displayed on the Summary screen and click Install.
Note:
Click Save Response File to save all the installation steps into a response
file. Later, you can use this file for a silent installation.
9. The Install Product screen appears when the product is installing. Installation
operations include executing actions such as file copy and adding services on
Windows systems and linking on UNIX systems, and executing decision points
and calculations.
10. The Finish screen appears when the installation is completed.
Note:
Do not specify a relative path to the response file. If you specify a relative
path, then Oracle Universal Installer fails.
where:
• directory_path is the path of the database directory on the DVD or on the hard
drive.
• -silent runs Oracle Universal Installer in silent mode.
• responsefilename is the full path and file name of the installation response file
that you configured.
2. On Windows platforms:
DRIVE_LETTER:\setup.exe_location setup [-silent] "variable=setting" [-
nowelcome] [-noconfig] [-nowait] -responseFile
where:
10
• DRIVE_LETTER: Identifies the full path of the response file.
• "variable=setting" refers to a variable within the response file that you may
prefer to run at the command line rather than set in the response file. Enclose
the variable and its setting in quotes.
• -noconfig: Suppresses running the configuration assistants during installation.
• -nowait: Closes the console window when the silent installation completes.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at http://www.oracle.com/pls/topic/lookup?
ctx=acc&id=docacc.
Copyright © 2011, 2018, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws.
Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit,
perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for
interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is
applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation,
delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental
regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on
the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous
applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take
all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by
use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of
SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered
trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates
are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable
agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-
party content, products, or services, except as set forth in an applicable agreement between you and Oracle.
11