Install and configure Oracle11g in the silent mode of the response File
1. Hardware requirements:
Memory: grep-I memtotal/proc/meminfo requires at least 1 GB of memory
Swap partition grep-I swaptotal/proc/meminfo
If your memory is less than 2 GB, the swap partition is 1.5 times the memory.
If the memory is between 2G-8G, the swap partition should be equal to the memory size.
If the memory is greater than 8 GB, the swap partition should be 0.75 times the memory.
Note: The preceding swap partitions are only recommended in size. This setting is not required during actual installation.
Hard Disk: 4.5 GB for df-k Enterprise Edition, the hard disk space should be at least 5 GB for Installation
2. Preparations before installation
Create an oracle account and user group, and create an installation directory
Edit/etc/sysctl. conf and/etc/security/limits. conf to modify system parameters.
Edit/etc/profile,/home/oracle/. bash_profile,/home/oracle/. bashrc to modify the oracle user configuration file.
Create the/etc/oraInst. loc file and set oracle inventory
You can use the following script to set it automatically (OS: RHEL6.2)
#! /Bin/bash
Yum-y install binutils compat-libcap1 compat-libstdc ++ gcc-c ++ glibc-devel ksh libgcc libstdc ++-devel libaio sysstat libaio-devel elfutils-libelf- devel unixODBC-devel
# Unzip linux.x64_11gR2_database_1of2.zip
# Unzip linux.x64_11gr2_database204 f2.zip
# Find database/-name "db_install.rsp" | xargs-I cp {}.
ORACLE_BASE =/DataBase/oracle
ORACLE_PASSWORD = "oracle_admin"
Groupadd oinstall
Groupadd dba
Useradd-m-g oinstall-G dba oracle
Echo "oracle: $ ORACLE_PASSWORD" | chpasswd
Mkdir-p $ ORACLE_BASE
Chown-R oracle: oinstall $ ORACLE_BASE
Chmod-R 775 $ ORACLE_BASE
Cat>/etc/sysctl. conf <EOF
Fs. aio-max-nr = 3145728
Fs. file-max = 6815744
Kernel. shmall = 1073741824
Kernel. shmmax = 4398046511104
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 142
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. rmem_default = 262144
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Net. core. wmem_max = 1048576
EOF