This chapter describes issues that you should consider before installing the Oracle Database Gateways. It includes the following topics:
You can install Oracle Database Gateway in either of the following configurations:
On the same computer as an existing Oracle database but in a different Oracle home.
On a system with no Oracle database.
On the same computer as the Oracle database and in the same Oracle home directory. Note that in this case, the Oracle database and the gateway must be at the same release level.
Following are the installation methods to install Oracle Database Gateways:
When you use the interactive method to install Oracle Database Gateways, Oracle Universal Installer displays a series of screens that enable you to specify all of the required information.
By creating a response file and specifying this file when you start Oracle Universal Installer, you can automate some or all of the Oracle Database Gateway installation. These automated installation methods are useful if you need to perform multiple installations on similarly configured systems or if the system where you want to install the software does not have X Window system software installed.
When you use a response file, you can run Oracle Universal Installer in the following modes, depending on whether you specify all of the required information or not:
Silent Mode
Oracle Universal Installer runs in silent mode if you use a response file that specifies all required information. None of the Oracle Universal Installer screens are displayed.
Suppressed Mode
Oracle Universal Installer runs in suppressed mode if you do not specify all required information in the response file. Oracle Universal Installer displays only the screens that prompt for the information that you did not specify.
For more information about these modes and about how to complete an installation using response files, refer to Appendix A, "Using Response Files for Noninteractive Installation".
This section contains information that you should consider before installing this product. They are:
Read the release notes for the product before installing it. The release notes are available on the Oracle Database 11g Release 2 (11.2) installation media. The latest version of the release notes is also available on the Oracle Technology Network (OTN) Web site:
http://www.oracle.com/technetwork/documentation/index.html
The platform-specific hardware and software requirements included in this installation guide were current at the time this guide was published. However, because new platforms and operating system software versions might be certified after this guide is published, review the certification matrix on the My Oracle Support Web site for the most up-to-date list of certified hardware platforms and operating system versions. The My Oracle Support Web site is available at the following Web site:
This product supports multiple Oracle homes. This means that you can install this release or previous releases of the software more than once on the same system, in different Oracle home directories.
You must install this product in a new Oracle home directory. You cannot install products from one release of Oracle Database Gateways into an Oracle home directory of a different release. For example, you cannot install release 11.2 software into an existing Oracle 10gR2 Oracle home directory. If you attempt to install this release in an Oracle home directory that contains software from an earlier Oracle release, then the installation will fail.
You can install this release more than once on the same system if each installation is installed in a separate Oracle home directory.
Upgrades are not supported for Oracle Database Gateways.
You can access the Oracle Database Gateway software by using one of the following methods:
This section describes how to download the installation archive files and extract them on your hard disk. It contains the following topics:
To download the installation archive files from Oracle Technology Network do the following:
Use any browser to access the software download page on Oracle Technology Network:
http://www.oracle.com/technetwork/indexes/downloads/index.html
Navigate to the download page for the product that you want to install.
Select a file system with enough free space to store and expand the archive files.
In most cases, the available disk space must be at least twice the size of the archive files.
On the file system that you selected in step 3, create a directory, for example, gateway
, to hold the installation archive files.
Download the installation archive files to the directory that you created in step 4.
Verify that the files you downloaded are the same size as the corresponding files on Oracle Technology Network.
To extract the installation archive files, perform the following steps:
If necessary, change directory to the directory that contains the downloaded installation archive files.
If the downloaded file has the zip
extension, use the following command to extract the content:
unzip file_name.zip
If the downloaded file has the cpio.gz
extension, use the following command:
$ gunzip filename.cpio.gz
This command creates files with names similar to the following:
filename.cpio
To extract the installation files, enter a command similar to the following:
$ cpio -idmv < filename.cpio
Note:
Refer to the download page for information about the correct options to use with thecpio
command.
Some browsers uncompress files while downloading them, but leave the .gz
file extension. If these steps do not work, remove the .gz
extension from the files and repeat step 3.
For each file, this command creates a subdirectory named gateways
.
Before installing Oracle Database Gateway, you might want to copy the software to the hard disk. This enables the installation process to run faster. Before copying the installation media content to the hard disk, you must mount the installation media. The following section describes how to mount discs and copy their content to the hard disk.
On most Linux systems, the disc mounts automatically when you insert it into the disc drive. If the disc does not mount automatically, follow these steps to mount it:
If necessary, enter a command similar to one of the following to eject the currently mounted disk, then remove it from the drive:
Asianux, Oracle Linux, and Red Hat Enterprise Linux:
$ sudo eject /mnt/dvd
SUSE Linux Enterprise Server:
$ eject /media/dvd
In these examples, /mnt/dvd
and /media/dvd
are the mount point directories for the installation media.
Insert the appropriate disc into the disc drive.
To verify that the disc mounted automatically, enter a command similar to the following depending on your platform:
Asianux, Oracle Linux, and Red Hat Enterprise Linux:
# ls /mnt/dvd
SUSE Linux Enterprise Server:
# ls /media/dvd
Before running the following command, ensure that the /mnt/dvd
directory exists on Red Hat Enterprise Linux. If not, create the /mnt/dvd
as required, to mount the installation media.
If this command fails to display the contents of the disc, enter a command similar to the following to mount it, depending on your platform:
Asianux, Oracle Linux, and Red Hat Enterprise Linux:
# mount -t iso9660 /dev/dvd /mnt/dvd
SUSE Linux Enterprise Server:
# mount -t iso9660 /dev/dvd /media/dvd
In these examples, /mnt/dvd
and /media/dvd
are the mount point directories for the installation media.
If Oracle Universal Installer is displaying the Disk Location dialog box, enter the disc mount point directory path, for example:
/mnt/dvd
For other Unix based system, please refer to the platform specific database installation guide for detailed instruction.
To copy the contents of the installation media to a hard disk:
Create a directory on the hard disk to hold the Oracle Database Gateway software:
$ mkdir gateway
Change directory to the directory you created in step 1:
$ cd gateway
Copy the contents of the mounted disc to the new directory as follows:
$ cp -R /directory_path gateway
In this example, /
directory_path
is the installation media mount point directory. The mount point directory is /cdrom
.
In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install the gateway. However, you can also use Oracle Universal Installer to complete noninteractive installations, without using the GUI.
See Also:
Refer to Appendix A, "Using Response Files for Noninteractive Installation" for information about noninteractive installations and other advanced installation topicsStart the Installer and install the software, as follows:
If you are installing the software from disc, then mount the appropriate disc if it is not already mounted
Some platforms automatically mount discs when you insert them into the drive.
If necessary, log in as the Oracle software owner user (oracle
) and set the DISPLAY
environment variable.
To start the Installer, enter the following commands where directory_path
is the CD-ROM mount point directory, the path of the tg
directory on the DVD-ROM, or the directory path of the software on the hard disk.
$ /directory_path/runInstaller
Use the following guidelines to complete the installation:
Follow the instruction displayed in the Installer window. If you need additional information, click Help.
When the Installer prompts you to run a script with root
privileges, enter a command similar to the following in a terminal where you are logged in as the root user, then click Continue or OK:
# /script_path/script_name
If you encounter errors while installing or linking the software, then see Appendix B, "Oracle Database Gateway Troubleshooting" for information about troubleshooting.
When the installation is complete, click Exit and then click Yes to exit from the Installer.