1. In the installation environment, I use the virtual RHEL5 in Wmware. The allocated memory is 1 GB and the SWAP partition is 1 GB. We recommend that you change the SWAP partition to 2G. Otherwise, the monitoring fails when the test is performed. (Of course, it's okay if you force install it) 2. Configure Oracle10gRelease2 before installation 1. install the software package required for Oracle10gR2 # cd/mnt/cdrom/Server/# rpm-Uvhse
I. installation environment
I am a virtual RHEL5 in Wmware. The allocated memory is 1 GB and the SWAP partition is 1 GB. We recommend that you change the SWAP partition to 2G. Otherwise, the monitoring fails when the test is performed. (Of course, it's okay if you force install it)
Ii. configuration before installing Oracle 10g Release2
1. install the software packages required for Oracle 10g R2
# cd /mnt/cdrom/Server/ # rpm -Uvh setarch-2* # rpm -Uvh make-3* # rpm -Uvh glibc-2* # rpm -Uvh libaio-0* # rpm -Uvh compat-libstdc++-33-3* # rpm -Uvh compat-gcc-34-3* # rpm -Uvh compat-gcc-34-c++-3* # rpm -Uvh gcc-4* # rpm -Uvh libXp-1* # rpm -Uvh openmotif22-* # rpm -Uvh compat-db-4*
|
Except the openmotif22-2.2.3-18 and compat-db-4.2.52-5.1 on the third disk, the rest of the packages are on the first disk.
2. Modify the/etc/RedHat-release file
Because Oracle 10g officially only supports RHEL4, so you need to change the version description, edit the/etc/redhat-release file, delete Red Hat Enterprise Linux Server release 5 (Tikanga), change to redhat-4
3. Modify Kernel Parameters
# Vi/etc/sysctl. conf
kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default=262144 net.core.rmem_max=262144 net.core.wmem_default=262144 net.core.wmem_max=262144
|
To make the change take effect immediately, run the following command:
# Sysctl-p
4. Create users, groups, and directories required for Oracle Installation
#groupadd oinstall #groupadd dba #groupadd oper #useradd -g oinstall -G dba oracle #passwd oracle
#mkdir /oracle #chown -R oracle:oinstall /oracle #chmod -R 775 /oracle
|
We recommend that you install the oracle installation directory in a separate partition or disk.