This guide describes how to install and configure Oracle9i Database release 2 (9.2.0) on Linux systems with the Install Navigator for Oracle. Read the release notes for the product on your platform before installing it. The release notes are available on the Oracle9i Database disc. The latest version of the release notes is also available on the OTN Web site:
http://otn.oracle.com/documentation/
Before starting installation, you should consider the following things:
Prepare Installation CD-ROM
Prepare Oracle Patches. See below seciton 2.
Determine the Installation user name.
The default name is
"oracle", and the user is automatically created by the Install Navigator for Oracle.
Determine the Installation group name.
The default name is "oinstall", and the group is automatically created by the Install Navigator for Oracle.
Determine the Administration group name.
The default name is "dba", and the group is automatically created by the Install Navigator for Oracle.
Determine the Oracle SID.
The default name is "orcl".
Determine the Oracle Base.
The default directory is
"/opt/app/oracle".
Determine the Oracle Home.
The default directory is
"/opt/app/oracle/product/9.2.0".
There are two kinds of CD in Oracle9i Database Release 2 named as 9.2.0.1 and 9.2.0.4. Please obtain the patches stated below for your version of Oracle9i CD.
Note: Asianux 2.0 supports only on and after R9.2.0.6.
These patehces are provided by Oracle Corporation and downloadable from Oracle MetaLink. The information is available from Doc ID 252217.1 and 264178.1. Oracle MetaLink is accessible from the following URL:
http://metalink.oracle.com/
However, since Asianux provide the RPM named as oracle9i_support, which is an equivalent of the patch #3006854. You do not need to apply additional patch for 9.2.0.4 if you have installed this package.
The system must meet the following minimum hardware requirements.
CPU | PentiumIII 233MHz |
Physical memory(RAM) | 512MB |
Disk space | For software files:2.5GB
For database files:1.2GB (/tmp: 400MB) |
Swap space | 1GB or twice the size of RAM |
Supported Oracle Version | on and after R9.2.0.6 |
Note:
If there is less than 400 MB of disk space available in the /tmp directory, set the TEMP and TMPDIR environment variables to the oracle user environment. The Install Navigator for Oracle would unknowingly switch user from root to oracle, hence to set these environment variables for the root user's environment doesn't work at all this time.
Create a directory that have more than 400MB free disk space.
# mkdir /opt/tmp
# chmod 1777 /opt/tmp
Add the TEMP, TMPDIR environment variables to the oracle user's shell startup file(.bash_profile)
export TEMP=/opt/tmp
export TMPDIR=/opt/tmp
In order to install Oracle9i in Asianux, you need to configure this system as described below. In this seciton you will learn how to use Oracle9i with oracle9i_support package.
oracle9i_support is equivalent functionality to the patch #3006854 . You do not need to apply additional patch for 9.2.0.4 if you have installed this package.
# rpm -ivh /mnt/cdrom/Asianux/RPMS/oracle9i_support-2.0-3AX.i386.rpm
# chgcc.sh -v 296Upon the completion, you need to revert the version of gcc back to 3.4.6. To do that please execute chgcc.sh script as following.
# chgcc.sh -v 346
# hostname sample.doamine.name
NOTES If you are going to install Oracle without the support from oranavi, LD_ASSUME_KERNEL environment variable must be set for the oracle user. $ export LD_ASSUME_KERNEL=2.4.19 |
Log in as root user. If you are installing the software from disc, automatically mount discs when you insert them into the drive. When a disc isn't mounted automatically, right-click the Desktop and then click Mount or enter a command similar to the following:
# mount /mnt/cdrom
To run Install Navigator for Oracle as the root user, Enter a command similar to the following:
# oranavi
Start Install Navigator for Oracle. Select the Operation type from following choices, then Click Next.
Specify the installation media.
กกCheck the Product Version that you plan to install, then Click OK.
Specify the local Unix groups and user, then Click Next.
Specify the oracle user password and user home directory, then Click Next.
The ORACLE_BASE, ORACLE_HOME and ORACLE_SID environment variables, then Click Next.
If Add some environment variables of the Oracle Database to the Apache configured file, Click Yes. Otherwise Click No.
If Start the installation now, Click Yes. Otherwise Click No.
Start Oracle Universal Installer. then, Click Next.
Specify the full path of the inventory directory, and operating system group name which is suppose to be "oinstall". then, Click Next.
Specify the Unix Group Name which will be the Oracle Software owner group. then, Click Next.
Only during the first installation of Oracle products on a system, run /tmp/orainstRoot.sh in a separate terminal window as the root user:
# /tmp/orainstRoot.sh
After running the script, Click Continue.
In the Destination section, specify the Path value for the Oracle home directory, then Click Next.
Select the installation product, then Click Next. At this time select "Oracle9i Database 9.2.0.1.0".
Select the installation type, then Click Next. At this time select "Enterprise Edition".
Choose either to create a database with this installation or install the software only. At this time select "General Purpose" that has a starter database. Accept the default values, then click Next.
Specify the Global Database Name which is also used for the SID. The SID should be equal to the SID environment variable.
Specify the directory for database files, then Click Next.
Select the database character set, then click Next. At this time select "default character set".
Review the information displayed, then click Install.
Using 9.2.0.1 CD, during the installation you would have two error messages.
Install the 3119415 patch
Popping up a error as following, install the patch for your system as the oracle user.
Enter a command similar to the following:
# su - oracle
$ unzip p3119415_9203_LINUX.zip
$ cd 3119415
$ sh patch.sh
Ignore a error
Popping up a error as following, just ignore about it. This error is resolved by PSR9204.
After the configuration assistants, this window appears. Then, run the $ORACLE_HOME/root.sh in a separate terminal window as the root user:
# /opt/oracle/product/9.2.0/root.sh
The Configuration Assistants screen displays status information for some configuration assistants that configure the software and create a database. After the Database Configuration Assistant finishes, click OK to continue.
This is the End of Installation. The configuration assistants configure several Web-based applications. This screen displays the URLs configured for these applications. Make a note of the URLs used.
Copyright(C) 2000-2007 MIRACLE LINUX CORPORATION