This guide describes how to install and configure Oracle Database 10g Release 1 for Linux x86-64 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 Oracle10g 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
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/10.1.0/db_1
The system must meet the following minimum hardware requirements.
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 (On systems with 2GB or more of RAM, 1-2 times the size of RAM) |
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”Ēs 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 less 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
MIRACLE LINUX V3.0 is optimized for Oracle. Therefore changing kernel parameters is not needed. If you would like to change kernel parameters, modify the file /etc/sysctl.conf.
””The followings are required packages for Oracle10g.
gcc-3.4.3-9.EL4.1-x86_64 glibc-2.3.4-2.3AX-i686 glibc-2.3.4-2.3AX-x86_64 glibc-devel-2.3.4-2.3AX-i386 glibc-devel-2.3.4-2.3AX-x86_64 make-3.80-5-x86_64 openmotif21-2.1.30-11.RHEL4.2-i386 setarch-1.6-1-x86_64 compat-db-4.1.25-9-i386 compat-db-4.1.25-9-x86_64 compat-gcc-32-3.2.3-47.3-x86_64 compat-gcc-32-c++-3.2.3-47.3-x86_64 compat-libstdc++-33-3.2.3-47.3-i386 compat-libstdc++-33-3.2.3-47.3-x86_64 gnome-libs-1.4.1.2.90-44.1-i386 gnome-libs-1.4.1.2.90-44.1-x86_64 libaio-0.3.103-3-i386 libaio-0.3.103-3-x86_64 libaio-devel-0.3.103-3-x86_64
Log in and switch user to root. In order to mount the disc, right-click the Desktop and then click Mount or enter a command similar to the following:
$ su -
# 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.
Only during the first installation of Oracle products on a system, run $ORACLE_BASE/oraInventory/orainstRoot.sh in a separate terminal window as the root user:
# /opt/oracle/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 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 "Create a starter database" and "General Purpose". Accept the default values, then click Next.
Specify the Global Database Name which is also used for the SID, and select Database Character Set. The SID should be equal to the SID environment variable.
Select the management options for this instance. At this time select the "Database Control". Accept the default values, then click Next.
Select the storage mechanism for database creation. At this time select the "File System" and specify the database file location. then click Next.
Select whether or not to enable automated backups. At this time select the "Do not enable Automated backups". Accept the default values, then click Next.
Enter and confirm passwords for all of the privileged database accounts, then click Next.
Review the information displayed, then Click Install.
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.
Database Configuration Assistant appears, then creates database automatically.
After database creation is completed, the following window appears. Follow the messages on this window, then click OK to close this window.
After the configuration assistants, this window appears. Then, run the $ORACLE_HOME/root.sh in a separate terminal window as the root user:
# /opt/app/oracle/product/10.1.0/db_1/root.sh
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-2005 MIRACLE LINUX CORPORATION