Hi Rick -- Ref: our conversation a few weeks ago, where you complained that the new Oracle installation method required having Java (and X) installed on a server box in order to load Oracle... Skip down to the reference "Non-Interactive Installation" ( #1002443 ). It may not be perfect (or even close), but at least it's an attempt...
| Oracle8i Installation Guide Release 8.1.5 for Intel Linux A74958-01 |
|
3
Installation
This chapter describes how to start the Oracle Universal Installer (OUI) and create a new Oracle8i installation.
- Product Installation Categories and Installation Types
- Starting the OUI
- Installing Products for the First Time
- Creating a Database
- Upgrading or Migrating an Existing System
- De-installing Oracle Software
- Non-Interactive Installation
- Non-Interactive Installation
Product Installation Categories and Installation Types
Oracle8i comes with a choice of three installation categories: Oracle8i Enterprise Edition, Oracle8i Client, or Oracle Programmer. Each category gives you a choice of installation types: Typical, Minimal, and Custom. Choose the combination of products suitable for your purposes and requirements.
Table 3-1 shows the products which can be installed by each of the three installation categories.
Table 3-1 Oracle Universal Installer: Product Installation Categories
| Products | Oracle8i Enterprise Edition | Oracle8i Client | Oracle Programmer |
|---|---|---|---|
Starting the OUI
Perform the following tasks to run the Installer:
Download and Install JRE 1.1.6 v5
You must download JRE 1.1.6 v5 from http://www.blackdown.org. Install JRE in any directory where there is enough space on your system and create a symbolic link from /usr/local/jre to installed_path_of_jre/jre_116_v5.
Mount the Oracle8i CD-ROM
The Oracle8i CD-ROM is in ISO 9660 format with Rockridge extensions. You must have root privileges to mount or unmount the CD-ROM manually. Be sure to unmount the CD-ROM before removing it from the drive by using the umount command
# mount options device_name cdrom_mount_point_directory # exit
Example 3-1 Mounting the CD-ROM
$ su root # mkdir /cdrom # mount -t iso9660 /dev/cdrom /cdrom # exit
Start the OUI
To start the OUI:
|
Note: The OUI is capable of running a non-interactive, "silent" installation of Oracle products that does not use the graphical interface. For instructions on using this feature of the OUI, see "Non-Interactive Installation" . |
Installing Products for the First Time
- In the "File Locations" dialog box, enter a value in the [Destination...] field for the desired location of your ORACLE_HOME.
-
You will be prompted to run
/tmp/orainstRoot.shasrootbefore proceeding. This is to create a pointer file to the location of theoraInventorydirectory.
- In the "Available Products" dialog box, select a product installation category, and in the dialog box which follows, "Installation Types", select an installation type. For more information on installation types, see "Product Installation Categories and Installation Types" . Products not available in all installation types are annotated as such in the table.
- Proceed through the remaining dialogues using the online help for assistance; available by clicking the [Help] button.
- After the OUI has finished installing the Oracle products, you must run the
root.shscript. See "Run the root.sh Script" in Chapter 4.
Installing Additional Products after Initial Installation
- Referring to Table 3-1, identify the product installation category for the additional product or products that you wish to install.
- Navigate past the "Welcome" and "File Locations" dialog boxes to the "Available Products" dialog box, and select the product installation category identified in the previous step.
- Select [Custom] in the "Installation Types" dialog box.
- In the dialog box that follows, "Available Product Components," currently installed products are shown pre-selected. Select any additional product or products to be installed.
In the "Products to be Installed" dialog box which follows, currently installed products are shown under "Already Installed." The additional products you have selected are shown under "New Installations."
Re-Installing Products
To re-install, the product(s) must first be de-installed using the method described in the section "De-installing Oracle Software", then installed according to one of the installation methods outlined elsewhere in this chapter: "Installing Products for the First Time" or "Non-Interactive Installation".
If an installation has failed or aborted, see the section "De-installing Oracle Software".
Creating a Database
The OUI does not create a database. However, all server installation types allow at least the option of automatically launching the Oracle Database Configuration Assistant (DBCA) at the end of the installation session. The assistant can create a default or customized database. The assistant can create the database, or can output a SQL script which you can inspect and modify, then run via SQL*Plus or Server Manager.
You can also launch DBCA independently of the OUI. Make sure $ORACLE_HOME/bin is in your search path and enter the following:
$ dbassist &
Upgrading or Migrating an Existing System
If you have installed Oracle8i to use with an existing database from a prior software release, you must upgrade or migrate that database prior to mounting it using Oracle8i. The steps for this process exceed the scope of this manual. See Oracle8i Migration for instructions.
De-installing Oracle Software
To de-install Oracle software using the OUI, follow the steps below.
- Click the [De-install Products] button on the "Welcome" dialog box or the [Installed Products...] button available on any OUI screen. The "Inventory" dialog box appears, listing installed products.
- In the "Inventory" dialog box, select any product(s) to be de-installed, then click the [Remove] button.
Cleaning Up After a Failed Installation
If an installation fails, it may be necessary to remove any files that the OUI created during the last session before you attempt another installation.
To clean up after a failed installation:
- Click the [De-install Products] button and select any products that were left after the failed installation.
- Click the [Remove] button.
To complete the clean up, you may need to manually remove the following items:
The location of the oraInventory directory can be obtained from the file /etc/oraInst.loc.
Non-Interactive Installation
You may perform a non-interactive, or "silent," install by supplying the OUI with a response file, a text file that contains values and variables that are used by the OUI during the installation process. By using a response file, you can perform an installation without some or any of the OUI's graphical interface.
Preparing the Response File
There are seven response files, one for each install type and for each category, included on the Oracle8i CD-ROM. The typical server response file is almost completely configured to perform a non-interactive, typical installation using the OUI. The custom response file requires extensive editing before it can be used as a response file for the OUI.
To use a response file, copy the response file from the Oracle8i CD-ROM to a drive mounted on your system. For example:
% cdcdrom_mount_point_directory/stage/Response/% cp ee_typical.rsplocal_directory
Edit the response file you want to use with any text editor, to include information specific to your system. Each file contains instructions for properly configuring the response file.
Specifying a Response File for the Oracle Universal Installer
To make the OUI use the response file at install time, follow the same steps as described in the section "Start the OUI" , but specify the location of the response file that you wish to use as a parameter when running OUI:
% ./runInstaller [-silent] -responseFile filename
To perform a completely silent installation with the OUI, use the flag -silent. Note that the OUI will fail if you use this flag and the response file has not been configured. The success or failure of the installation is logged in the silentInstall.log file in the /tmp directory.
Error Handling
The OUI treats wrong context, format, or type values as if no value were specified. Variables which are outside of any section are ignored.
Validation of Values from Response File
Calculation and validation of the response file is performed at install time by OUI. Failure of the validation process results in the termination of installation.