First, the basic situation Introduction:
CPU:P4 2.0G
Memory: 1000M
Hard drive: 40GB
Operating system: Radhat9 (Linux Kernel 2.4.20-8)
Second, the preparatory work:
Acquisition of 1.Oracle 9i
Oracle920_for_linux is me in ftp://ftp.lib.tsinghua.edu.cn/or//print/database tools/oracle for linux/9i is a total of 3 compressed files, the first names are:
Lnx_920_disk1.cpio.gz size is 527 MB (553,607,967 bytes)
Lnx_920_disk2.cpio.gz size is 561 MB (588,799,187 bytes)
Lnx_920_disk3.cpio.gz size is 421 MB (442,089,854 bytes)
3 files have a total of 1.47 GB (1,584,497,008 bytes).
2. Note Information
See the article on the Internet, generally speaking is to consider compatibility issues, in the installation before the Redhat system to install or replace some of the RPM package, but also to determine the RPM package dependencies,
Such as:
glibc-2.3.2-5.i686.rpm
glibc-common-2.3.2-5.i386.rpm
GLIBC-DEVEL-2.3.2-5.I386.RPM and so on.
So as long as you select the full installation of the Redhat Linux9, do not install or replace these RPM packages.
Third, the configuration operation:
1. Set Kernel parameters:
Oracle9i uses Linux shared memory, swap areas, and other resources to work, if the system's kernel parameters set placement does not meet Oracle requirements, there are various problems with installation or use, so it is recommended that you configure or modify the parameters for these system cores. The
opens the/etc/sysctl.conf file, writes the following data to the end of sysctl.conf, and saves:
kernel.shmmax = 536870912
kernel.shmmni = 4096 &NBSP ;
kernel.shmall = 2097152
kernel.sem = MB 32000 128
&NB Sp;fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
where, The Kernel.shmmax is the maximum size of the shared memory segment and the Kernel.shmmni is the minimum size of the shared memory segment. To enter the directory/proc/sys/kernel, you can use the command:
#cat Shmmax
#cat shmmni
#cat Shmall
&NBSP
View values for Kernel.shmmax, Kernel.shmmni, Kernel.shmall.
Next, open the/etc/security/limits.conf file, add the following data to the end of the limits.conf and Save:
Oracle Soft Nofile 65536
Oracle Hard Nofile 65536
Oracle Soft Nproc 16384
Oracle Hard Nproc 16384
This is to set Oracle's requirements for files.
When you have modified and saved the/etc/sysctl.conf and/etc/security/limits.conf files, restart (reboot) The Redhat Linux9 system so that these parameters are set to take effect.
2. Chuang