RedHatLinux9.0 is a very good Linux release with excellent Chinese support and rich application software, making many Linux users, including the author, easy to understand. 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 IBMDB2, on RedHatLinux9.0. After a period of exploration and repeated search for information. In addition to Ora
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 ()