Oracle Internet Directory Installation Guide Release 2.1.1 for UNIX Part Number A88797-01 |
|
This chapter describes how to start the Oracle Universal Installer and install Oracle Internet Directory. Review and complete the tasks listed in Chapter 1, "System Requirements" and Chapter 2, "Pre-Installation" before beginning the installation.
Complete these tasks to start Oracle Universal Installer:
The Oracle Internet Directory CD-ROMs are in ISO 9660 format with Rockridge extensions.
If you are using Volume Management software (available by default on Solaris Intel and Sun SPARC Solaris) the CD-ROM is mounted automatically to /cdrom/oracle8i
when you put it into the disk drive. Proceed to "Start Oracle Universal Installer (OUI)".
If you are not using the Volume Management software, you must mount the CD-ROM manually. You must have root
privileges to mount or unmount the CD-ROM. Unmount the CD-ROM before removing it from the drive by using the umount
command.
root
user and create a CD-ROM mount point directory:
$ su root # mkdir cdrom_mount_point_directory
root
account.
For AIX-Based Systems, Linux Intel and Solaris Intel, use the following:
# mount options device_name cdrom_mount_point_directory # exit
For Compaq Tru64 UNIX, use the following:
# mount -t cdfs -r -o nodefperm, noversion, rrip device_name cdrom_mount_point_directory # exit
These options have the following meaning:
-t cdfs = ISO 9660 CD. -r = mount the CD read-only -o = include the following options. nodefperm = use the file permissions recorded on the CD instead of defaults. noversion = do not show ISO version numbers. rrip = use Rockridge extensions.
The following examples show how to manually mount the CD-ROM on AIX-Based Systems, Compaq Tru64 UNIX, Linux Intel, Solaris Intel and Sun SPARC Solaris.
$ su root # mkdir /cdrom # chmod 777 /cdrom # mount -rv cdrfs /dev /cd0 /cdrom # exit
Shut down all running databases, become root, and run rootpre.sh:
$ su root # cdrom_mount_point_directory
$ su root # cd /cdrom # ./rootpre.sh # exit
$ su root # mkdir /cdrom # mount -t cdfs -r -o nodefperm, noversion, rrip /dev/rz4c /cdrom # exit
$ su root # mkdir /cdrom # mount -t iso9660 /dev/cdrom /cdrom
$ /etc /mount -F hsfs -r /dev/dsk/c0t6d0p0 /cdrom
$ su root # mkdir /cdrom # mount -r -F hsfs device_name /cdrom # exit
The Oracle Internet Directory CD-ROMs are in ISO 9660 format with Rockridge extensions. There are two CD-ROM disks included with Oracle Internet Directory Release 2.1.1. Use disk one to begin the installation. Mount disk two when prompted to do so.
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.
<device_file> <mount_point> <filesystem_type> <translation_method>
The first entry is the CD-ROM device file; the second is the mount point. The third indicates that the CD-ROM to be mounted is in ISO 9660 format with RockRidge extensions.
/dev/dsk/c5t2d0 /SD_CDROM pfs-rrip xlat=unix 1 0
root.
$ nohup /usr/sbin/pfs_mountd &
$ nohup /usr/sbin/pfsd &
$ /usr/sbin/pfs_mount /SD_CDROM
root
account.
# exit
Change directories to /SD_CDROM
where you can see a lowercase listing of the
directories and files on the CD-ROM. The mounted CD-ROM should appear as
another read-only file system.
To start Oracle Universal Installer:
oracle
user.
cd
cdrom_mount_point_directory
./runInstaller.
The Oracle Universal Installer (OUI) is capable of running a non-interactive installation of Oracle products. Optionally, you can configure OUI for "silent" mode which does not display anything on the screen. For instructions on using this feature of the Installer, see "Non-Interactive (Silent) Installation and Configuration" .
Note:
The following procedure contains instructions for the Oracle Universal Installer.
The File Locations window appears. Do not change the text in the Source field. This is the location of files for installation.
If the destination directory you choose contains a previous release of Oracle Internet Directory, the Installer will upgrade the older version of the software to Release 2.1.1. Oracle Corporation recommends that you install Release 2.1.1 products into a new ORACLE_HOME.
If this is the first time Oracle Internet Directory is installed on your system, the UNIX Group Name window appears. If it is not the first install, go to Step 6.
In the UNIX Group Name field, specify the group that will have permission to update Oracle software on the system. This group typically should be the oinstall
group created in "Create a UNIX Group for the Oracle Universal Installer Inventory".
If /var/opt/oracle/
does not exist or is not writable by the oracle
user, an Installer window will open and prompt you to run /tmp/OraInstall/orainstRoot.sh
in another terminal window as the root
user. After you run orainstRoot.sh
, click [Retry] to continue the installation.
Attention: The orainstRoot.sh Installer window will open only if you do not complete the pre-installation steps . If you choose to run the orainstRoot.sh script, the oraInventory file and other files will write the Oracle uses in ORACLE_HOME in order to ensure that Oracle has write access. This configuration might not be optimal for your system and your needs. Oracle Corporation recommends that you complete the steps described in Chapter 2, "Pre-Installation".:
|
If you select the client installation, then Oracle Universal Installer silently processes your request. It then displays the Summary window. Skip to "Performing a Typical Installation".
If you select the server installation, then the Installation Types window appears.
If you select a typical installation, then follow the steps below based on the window that appears:
If Oracle8i Database... | Then The... | Go To... |
---|---|---|
Release 8.1.7 is already installed on the computer, but Oracle Internet Directory Release 2.1.1 is not installed. |
Using an existing instance window appears, you are prompted for the SID to use, and another Oracle8i database is not installed. |
Step 1 of "Performing a Typical Installation" on page 3 - 8. |
Releases 8.1.5, 8.1.6 and 8.1.7 and Oracle Internet Directory Releases 2.0.4, 2.0.6 and 2.1 are not installed on the computer. |
Database Identification window appears and Oracle8i database Release 8.1.7 is automatically installed in the same home with Oracle Internet Directory Release 2.1.1. |
Step 3 of "Performing a Typical Installation" on page 3 - 8. |
Releases 8.1.5 or 8.1.6 and Oracle Internet Directory Release 2.0.4 or 2.0.6 are already installed on the computer. |
Upgrade OID window appears and prompts you to upgrade to Oracle8i database Release 8.1.7 and Oracle Internet Directory Release 2.1.1. |
If an Oracle8i database Release 8.1.7 is not currently installed, then Oracle Universal Installer automatically installs one in the same ORACLE_HOME directory in which Oracle Internet Directory is installed.
The Oracle SID window appears.
The Database Identification window appears.
The OiD Database File Location window appears.
If you are not a member of the DBA group, then the Privileged Operating System Groups window appears. Specify the UNIX groups to which Oracle Universal Installer should assign Oracle DBA and Operator privileges. See the online help for a description of this screen.
The Summary window appears. Review the information to ensure that you have enough disk space. You cannot make any product or space allocation changes once the installation begins.
The following information is automatically set during installation:
root.sh
Script when prompted.
The Installer creates the root.sh
script in the ORACLE_HOME directory and prompts you to run the script when it finishes installing Oracle products. Log in as the root
user and run the script to set the necessary file permissions for Oracle products, and perform other root
-related configuration activities.
# cd $ORACLE_HOME # ./root.sh
The root.sh
script prompts you to confirm the environment before it performs any actions. If you need to reset the environment, terminate the root.sh
script. You do not need to run Oracle Universal Installer again. Click [OK] in the alert window after root.sh
runs successfully to continue the installation.
Depending on the products you installed, messages are displayed to inform you of the progress of root.sh
. You might also be prompted for user names and be given additional instructions.
You will be asked by the root.sh
script to specify the local bin
directory. If this directory does not already exist, root.sh
creates it for you.
"Reviewing a Log of an Installation Session" to view a log file summary of your installation session.
See Also:
If you choose to perform a custom installation, then the Component Locations window prompts you to select alternate locations in which to install some components.
The OiD Database File Location window appears if a database is not currently installed.
The OiD User Password Encryption window appears.
The User Password Hashing Algorithm window appears.
The OiD Administrator Password window appears.
This password enables you to make all changes in Oracle Internet Directory.
The OiD Size Configuration window appears.
The Summary window appears.
The Configuration Tools window appears at the end of installation and automatically starts the following assistants to create and configure the Oracle8i database for use with Oracle Internet Directory:
The End of Installation window appears.
The Upgrade OiD window appears if you have a previously-installed version of Oracle Internet Directory on your system.
If Oracle Universal Installer detects an existing Oracle8i database in this location, it does not install another one. However, for optimal results, Oracle Corporation recommends that you install Oracle Internet Directory on a system that does not currently have an Oracle8i database.
If you intend to upgrade an existing installation of Oracle Internet Directory and Oracle8i Enterprise Edition, and you initially installed Oracle Internet Directory separately, then you should upgrade each program separately in order to ensure that all components of Oracle Internet Directory are upgraded.
Before upgrading Oracle Internet Directory, stop the following processes:
The Oracle SID window appears.
The OiD Password window appears.
This Assistant... | Upgrades... |
---|---|
Oracle Data Migration Assistant |
Oracle8i Release 8.1.5 or 8.1.6 to 8.1.7. |
OiD Upgrade Assistant |
Oracle Internet Directory Release 2.0.4 or 2.0.6 to Release 2.1.1 |
The first time you use the Installer, it creates the oraInventory
directory to keep an inventory of products that it installs on your system as well as other installation information. This information is useful in diagnosing and resolving installation problems.
The location of oraInventory
is defined in /var/opt/oracle/oraInst.loc
.
The latest log file is oraInventory_location
/logs/installActions.log
. Log file names of previous installation sessions take the form installActions
datetime
.log
.
For example:installActions1999-07-14_09-00-56-am.log
If an installation fails, you might need to remove files that the Installer created during the failed installation:
To clean up after a failed installation:
To complete the clean up, you might need to manually remove the
ORACLE_HOME directory, in case the Installer copied files to your system but failed to register them during the unsuccessful installation. This step is not required if deinstallation cleans up ORACLE_HOME
, and if only insignificant files are left after deinstallation.
You can perform a non-interactive (or "silent") installation of Oracle8i products by supplying the Oracle Universal Installer with a response file. The Installer uses the variables and values contained in this text file to provide answers to some or all of the Installer's user prompts. If you include responses for all of the Installer's prompts in the response file, you can run a silent installation that displays no graphical output. You can also run Oracle Data Migration Assistant, Net8 Configuration Assistant, Oracle Database Configuration Assistant, and Oracle Enterprise Manager Configuration Assistant non-interactively by using response files.
There are five Oracle Universal Installer response files, one for each install category and type, and three configuration tool response files included on the Oracle Internet Directory CD-ROM. You need to edit the response file to suit your environment. In particular, the custom response files need extensive editing before you can use them for a non-interactive session.
To use a response file, copy the response file from the Oracle Internet Directory CD-ROM to a drive mounted on your system. For example:
$ cd
cdrom_mount_point_directory
/response
$ cp oidtyp.rsp
local_directory
Edit the response file with any text editor to include information specific to your system. Each file contains instructions for properly configuring the response file. Table 3-1 lists the response files included on the Oracle Internet Directory CD-ROM.
To make the Installer use the response file at install time, follow the same steps as described in the section "Start Oracle Universal Installer (OUI)", but specify the location of the response file that you wish to use as a parameter when starting the Installer.
$ ./runInstaller [-silent] -responseFile filename
To use a configuration assistant in silent mode, outside of an installation session, you need to make it use a response file. You may either have the Installer spawn the silent configuration assistant, or run the configuration assistant in standalone mode. Invoke the configuration assistant at the command line using the same mode and response file parameters.
To perform a completely silent installation or configuration session, use the -silent
parameter. In silent mode, the DISPLAY environment variable must still be set as described in "DISPLAY".
To run the Oracle Enterprise Manger Configuration Assistant in non-interactive mode, you must use both the -silent
and -responseFile
parameters.
The success or failure of the installation is logged in the silentInstall.log
file. If an Oracle Inventory exists on your system, then the silentInstall.log
file is created there. Otherwise, it is created in the oraInventory_location
/logs/
directory. The detailed results of the non-interactive installation session are found in the oraInventory_location
/logs/installActions.log
file.
If you will perform the first installation of Oracle products on a system with Oracle Universal Installer running in silent mode, you must manually create the oraInst.loc file. This file specifies the directory where the installer creates the inventory of Oracle products installed on the system. Before creating this file, read and complete the tasks detailed in Chapter 1 and Chapter 2.
To create the oraInst.loc file:
$ su
/var/opt/oracle
directory.
# mkdir /var/opt/oracle
/var/opt/oracle
directory.
# cd /var/opt/oracle
oraInst.loc
with the following two lines of content:
inventory_loc-inventory_directory.
inst_group=
Set inventory_loc
to ORACLE_BASE/oraInventory
. For example, if ORACLE_BASE
is /uo1/app/oracle
, then inventory_directory
should be /uo1/app/oracle/oraInventory
.
Include, but do not set, inst_group=
on the second line.
Values for variables that are of the wrong context, format, or type are treated as if they had no value specified. Variables which are outside any section are ignored.
A non-interactive installation fails if you do not specify a response file is or if you attempt a silent installation with an incorrect or incomplete response file. If you attempt a silent installation and the Installer encounters an error, such as insufficient disk space, the installation fails. The results of your non-interactive installation is recorded in the installation session's log file.
See Also:
"Reviewing a Log of an Installation Session" to view a log file summary of your installation session. |
The Installer or configuration assistant performs calculation and validation of the response file at run time. Failure of the validation process ends the installation or configuration.
|
Copyright © 2001 Oracle Corporation. All Rights Reserved. |
|