Full guide to installing Oracle 9.0 in RedHat Linux 9.2 (figure)

Source: Internet
Author: User
Tags ibm db2

RedHat Linux 9.0 is a very good Linux release version with good Chinese support and rich application software, so that many Linux users, including the author, can't help it. However, due to the high GCC version used by Redhat9.0, some compatibility problems are caused. This makes it impossible to install large database software, including Oracle9.2 and IBM DB2, on RedHat Linux 9.0.

After a period of exploration and repeated search for information. The author finally summarized the installation method of Oracle9.2 on RedHat Linux 9.0, which is for your reference here.

Of course, you must first install RedHat Linux 9.0. If you are not a very experienced user, select complete installation.

Preparations before installation

To create a user and a group, Oracle usually requires two groups, one for installation and the other for management. However, many old qualified DBAs think that creating a group is sufficient. Run the following commands as root:

Groupadd oracle
Useradd oracle-g dba
Passwd oracle

Oracle installation location should comply with the OFA (Optimal Flexible Architecture) specification, but on my machine, due to limited space, ORACLE_HOME is set to/soft/oracle, make sure that the oracle user is writable to this directory.

To install and run Oracle, You need to configure kernel parameters. My computer has MB of memory. Add the following content to the/etc/sysctl. conf file:

Kernel. shmmax = 536870912
Kernel. shmmni = 4096
Kernel. shmall = 2097152
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000

Run the sysctl-p command to make the kernel change take effect immediately.

Add the following content to the/etc/security/limits. conf file:
Oracle soft nofile 65536
Oracle hard nofile 65536
Oracle soft nproc 16384
Hard nproc 16384

The environment variables for configuring Oracle are as follows:

Export ORACLE_HOME =/soft/oracle
Export PATH = $ ORACLE_HOME/bin: $ ORACLE_HOME/Apache/bin: $ PATH
Export ORACLE_SID = or9i
Export THREADS_FLAG = native
Export LD_LIBRARY_PATH =/soft/oracle/lib: $ LD_LIBRARY_PATH
Export PATH =/$ ORACLE_HOME/bin: $ PATH

It is best to write the above environment variables to/home/oracle/. bash_profile so that oracle will carry these environment variables every time you log on.

Start Installation

I directly execute LANG = and./runInstaller in the hard disk installation mode, and the following interface will appear (figure 1)

  • 1
  • 2
  • 3
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.