| Oracle8i Installation Guide Release 3 (8.1.7) Part Number A87434_01 |
|
This chapter describes how to start the Oracle Universal Installer and install Oracle8i products on your system. Review and complete the tasks listed in Chapter 1, and Chapter 2, before beginning the installation. This chapter contains the following sections:
Complete the following tasks to start the Oracle Universal Installer:
The Oracle8i CD-ROMs are in ISO 9660 format with Rockridge extensions. There are two CD-ROM disks included with Oracle8i release 3 (8.1.7). 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 use the unmount command to unmount the CD-ROM before removing it from the drive. To mount the Oracle8i CD-ROM:
root user and, if necessary, create a CD-ROM mount point directory:
$ su root # mkdir cdrom_mount_point_directory
root account:
# mount options device_name cdrom_mount_point_directory # exit
Example 3-1 shows how to mount the CD-ROM manually.
$ su root # mkdir /cdrom # mount -t iso9660 -o ro, cache=2048 device_name /cdrom # exit
To start the Oracle Universal Installer:
oracle user.
$ cd cdrom_mount_point_directory
$ ./runInstaller
|
Note: The Oracle Universal Installer is capable of running a non-interactive installation of Oracle products. You can optionally configure it for "silent" mode which does not display anything on the screen. For information on using this feature, see "Non-Interactive "Silent" Installation and Configuration". |
After the Installer starts, the Welcome window appears.
The File Locations window appears. Do not change the text in the Source field. The Source field specifies the location of the files that you want to install.
The Destination field is the directory in which you want to install the Oracle8i products. If you set the ORACLE_HOME environment variable before starting the Installer, the Installer uses this directory path as the default value in the Destination field.
If the destination directory you choose contains Oracle8i release 1 (8.1.5) or release 2 (8.1.6) software, the older version of the software is upgraded to release 3 (8.1.7). Oracle Corporation recommends that you install release 3 (8.1.7) products into a new Oracle home directory.
If this is the first time that any Oracle8i products are installed on the current system, the UNIX Group Name window appears. If the Available Product window appears, go to step 8.
This group should typically be the oinstall group that you created in "Create a UNIX Group for the Oracle Universal Installer Inventory".
/tmp/OraInstall/orainstRoot.sh script as the root user in another terminal window .
If the /var/opt/oracle directory does not exist or is not writable by the oracle user, an Installer window appears prompting you to run the /tmp/OraInstall/orainstRoot.sh script. After you have done so, click [Retry] to continue the installation.
The Available Products window appears.
|
Note::
The |
| If you selected... | See... |
|---|---|
|
Oracle8i Enterprise Edition |
|
|
Oracle8i Client |
|
See Also: For a list of products installed with each installation type, see the appropriate product section in Appendix A. See "Product Categories and Installation Types" for a description of each product category. |
After selecting Oracle8i Enterprise Edition in the Available Products window, the Installation Types window appears. To install Oracle8i Enterprise Edition:
| If you selected... | See... |
|---|---|
|
Typical |
|
|
Minimal |
|
|
Custom |
To perform an Oracle8i Enterprise Edition Typical installation:
oracle user is not a member of the dba group created in "Create UNIX Groups for Database Administrators", or if there is a UNIX group with a name other than dba that performs the role of the OSDBA group, the Privileged Operating System Groups window appears. Enter the UNIX group name that serves as the OSDBA group. If a separate UNIX group performs the role of the OSOPER group, specify it in this window as well. Click [Next].
The Oracle Data Migration Assistant starts immediately after installation to upgrade or migrate your database to an Oracle8i release 3 (8.1.7) database.
The Summary windows appears. Go to step 5.
The Select Starter Database window appears.
Click [Yes] to install an Oracle8i database. Clicking [No] installs all server products, but does not create a new database. If you click [No], you can create your database later by manually running the Oracle Database Configuration Assistant or running a SQL script.
The Database Identification window appears.
The Database File Location window appears.
The Summary window appears.
If a message appears telling you that you do not have enough disk space to install the products, do one the following:
The Install window appears and displays a progress meter bar.
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. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. To run the root.sh script, enter:
# cd $ORACLE_HOME # ./root.sh
The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script 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.
The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.
The configuration assistants help you create and configure the database and network environments.
Table 3-1 describes the configuration assistants.
| The... | Starts... | And ... |
|---|---|---|
|
Net8 Configuration Assistant |
In all cases |
Automatically configures the Net8 server networking software. See "Understanding Net8 Configuration" for a description of these configuration procedures. |
|
Apache Web Server Configuration Assistant |
In all cases |
Starts the HTTP Listener in non-SSL mode on port 7777. |
|
Oracle Database Configuration Assistant |
If you decided not to upgrade or migrate an existing database instance when prompted at step 2 |
Automatically creates an Oracle8i release 8.1.7 database. See "Identifying Your Database Environment" for information on database types. |
|
Oracle Database Migration Assistant |
If you decided to migrate or upgrade a database when prompted at step 2 |
Migrates or upgrades the selected database to Oracle8i release 8.1.7. |
If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.
The End of Installation window appears.
See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session.
See Also:
To perform an Oracle8i Enterprise Edition Minimal installation:
oracle user is not a member of the dba group created in "Reviewing a Log of an Installation Session", or if there is a UNIX group with a name other than dba that performs the role of the OSDBA group, the Privileged Operating System Groups window appears. Enter the UNIX group name that serves as the OSDBA group. If a separate UNIX group performs the role of the OSOPER group, specify it in this window as well. Click [Next].
The Oracle Data Migration Assistant starts immediately after installation to upgrade or migrate your database to an Oracle8i release 3 (8.1.7) database.
The Summary windows appears. Go to step 6.
The Select Starter Database window appears.
The Database Identification window appears.
The Database File Location window appears.
The Summary window appears.
If a message appears telling you that you do not have enough disk space to install the products, do one the following:
The Install window appears and displays a progress meter bar.
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. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. To run the root.sh script, enter:
# cd $ORACLE_HOME # ./root.sh
The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script 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.
The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.
The configuration assistants help you create and configure the database and network environments.
Table 3-2 describes the configuration assistants.
| The... | Starts... | And... |
|---|---|---|
|
Net8 Configuration Assistant |
If you selected any products that require network configuration |
Automatically configures your Net8 server networking software. See "Understanding Net8 Configuration" for a description of the configuration procedures performed. |
|
Apache Web Server Configuration Assistant |
If you selected the Oracle HTTP Server in the Available Products window |
Starts the HTTP Listener in non-SSL mode on port 7777. |
|
Oracle Database Configuration Assistant |
If you selected [Yes] when prompted to install an Oracle8i database and selected not to upgrade or migrate a database in step 2 |
Automatically creates an Oracle8i release 8.1.7 database. See "Identifying Your Database Environment". |
|
Oracle Database Migration Assistant |
If you selected to migrate or upgrade a database when prompted in step 2 |
Migrates or upgrades the selected database to Oracle8i release 8.1.7. |
If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.
The End of Installation window appears.
See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session.
See Also:
When you select Custom and click [Next] in the Installation Types window, the Available Products window appears.
To perform an Oracle8i Enterprise Edition custom installation:
The Available Products window displays all products available for installation. A typical Custom installation configuration is displayed by default.
The Summary window appears.
If a message appears telling you that you do not have enough disk space to install the products, do one the following:
The Install window appears and displays a progress meter bar.
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. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. To run the root.sh script, enter:
# cd $ORACLE_HOME # ./root.sh
The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script 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.
The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.
The configuration assistants help you create and configure the database and network environments.
Table 3-3 describes the configuration assistants.
| The... | Starts... | And... |
|---|---|---|
|
Net8 Configuration Assistant |
If you selected any products that require network configuration |
Automatically configures your Net8 server networking software. See "Understanding Net8 Configuration" for a description of the configuration procedures performed. |
|
Apache Web Server Configuration Assistant |
If you selected the Oracle HTTP Server in the Available Products window. |
Starts the HTTP Listener in non-SSL mode on port 7777. |
|
Oracle Database Configuration Assistant |
If you selected Oracle8i Server in the Available Products window and decided not to upgrade/migrate when prompted and you answered [Yes] when prompted to install an Oracle8i database |
Automatically creates an Oracle8i release 8.1.7 database. See "Identifying Your Database Environment". |
|
Oracle Database Migration Assistant |
If you decided to migrate or upgrade a database when prompted |
Migrates or upgrades the selected database to Oracle8i release 8.1.7. |
If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.
The End of Installation window appears.
See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session.
See Also:
After selecting Oracle8i Client in the Available Products window, the Installation Types window appears.
| If You Selected... | See... |
|---|---|
|
Administrator, Programmer, or Application User |
"Oracle8i Client Administrator, Programmer or Application User Installation". |
|
Custom |
|
See Also:
For a list of products installed with each installation type, see the appropriate product section in Appendix A. |
To perform a Client Administrator, Programmer, or Application User installation:
If a message appears telling you that you do not have enough disk space to install the products, do one the following:
The Install window appears and displays a progress meter bar.
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. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. To run the root.sh script, enter:
# cd $ORACLE_HOME # ./root.sh
The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script 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.
The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.
The configuration assistants help you create and configure the database and network environments.
Table 3-4 describes the configuration assistants.
| The... | Starts... | And... |
|---|---|---|
|
Net8 Configuration Assistant |
If you selected any products that require network configuration |
Automatically configures your Net8 server networking software. See "Understanding Net8 Configuration" for a description of the configuration procedures performed. |
If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.
The End of Installation window appears.
See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session.
See Also:
When you select Custom and click [Next] in the Installation Types window, the Available Products window appears.
To perform a Client Custom installation:
The Available Products window displays all products available for installation. A typical Custom install configuration is selected by default.
The Summary window appears.
If a message appears telling you that you do not have enough disk space to install the products, do one the following:
The Install window appears and displays a progress meter bar.
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. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. To run the root.sh script, enter:
# cd $ORACLE_HOME # ./root.sh
The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script 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.
The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.
The configuration assistants help you create and configure the database and network environments.
Table 3-5 describes the configuration assistants.
| This Assistant... | Starts... | And does the following... |
|---|---|---|
|
Net8 Configuration Assistant |
If you selected any products that require network configuration |
Automatically configures your Net8 server networking software. See "Understanding Net8 Configuration" for a description of the configuration procedures performed. |
If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.
The End of Installation window appears.
See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session.
See Also:
The Installer creates the oraInventory directory the first time it is run to keep an inventory of products that it installs on your system as well as other installation information. This information is particularly 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 installActionsdatetime.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:
The Welcome window appears.
The Products Currently Installed window appears.
To complete the clean up, manually remove the Oracle home directory. This is necessary because the Installer may have copied files to your system but failed to register them during the unsuccessful installation. This step is not required if de-installation deletes all files from the Oracle home directory.
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, and Oracle Database Configuration Assistant non-interactively by using response files.
There are fifteen response files included on the Oracle8i release 3 (8.1.7) CD-ROM; eleven for the Oracle Universal Installer (one for each product category and installation type) and four for the configuration tool response files. You must edit the response files 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 Oracle8i CD-ROM to a directory in your system. For example:
$ cdcdrom_mount_point_directory/response$ cp svrtypical.rsplocal_directory
Use any text editor to edit the response file including information specific to your system. Each file contains information on properly configuring the response file. Table 3-6 lists the response files included on the Oracle8i CD-ROM.
To run the Oracle Universal Installer or a configuration assistant in silent mode, you must specify the response file location:
$ ./runInstaller [-silent] -responseFile filename
$ ./runassistant_name[-silent] -responseFile filename
In the preceding example, assistant_name is the configuration assistant that you want to run. Filename is the response file for that assistant.
To perform a completely silent installation or configuration, 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 oraInventory directory exists in 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 saved in the oraInventory_location/logs/installActions.log file.
If you have not previously installed Oracle products on a system, you must manually create a file called oraInst.loc before running the Installer in silent mode. 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 described in Chapter 1 and Chapter 2. To create the oraInst.loc file:
$ su
/var/opt/oracle directory does not already exist in your system, enter the following to create it:
# mkdir /var/opt/oracle
/var/opt/oracle:
# cd /var/opt/oracle
oraInst.loc that includes the following two lines:
inventory_loc-inventory_directory.
inst_group=
Set the inventory_loc parameter to $ORACLE_BASE/oraInventory. For example, if the value of ORACLE_BASE environment is /uo1/app/oracle, then set inventory_directory to the value of /uo1/app/oracle/oraInventory.
Include but do not set the the inst_group parameter on the second line.
Values for parameters that are of the wrong context, format, or type are treated as if no value were specified. Variables that are outside any section are ignored.
A non-interactive installation fails if no response file is specified 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 the non-interactive installation is recorded in the installation session's log file.
|
See Also:
See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session. |
The Installer or configuration assistant validates the response file at run time. If the validation fails, the installation or configuration ends.
If you perform a Minimal installation of Oracle8i Enterprise Edition in silent mode, Net8 Configuration Assistant does not configure the system at the end of the installation. After the installation, run the Net8 configuration assistant to configure Net8. To run the Net8 Configuration Assistant, enter the netca command in the Oracle home directory.
|
|
![]() Copyright © 2001 Oracle Corporation. All Rights Reserved. |
|