11gR2 Installation on RHEL 5
| 11gR2 Installation on RHEL 5 | ||
| No | Steps | Details |
| Hardware Requirement | ||
| 1 | Atleast 4 GB RAM is required | grep MemTotal /proc/meminfo |
| 2 | Swap Space | grep SwapTotal /proc/meminfoPropotional to the sysem’s physical RAM 8 to 32GB = 1.5*RAM |
| 3 | Disk Space Requirement | 1. 1024 MB in /tmp - 2. Approx.4.4 GB of disk space for the oracle software 3. 1.7 GB for the preconfigured Database(optional) |
| Kernal Requirement | ||
| 1 | System should be running in following kernal version or more than that 2.6.18-92 |
uname -r |
| Installing Required Packages | ||
| 1 | Make sure installing all the packages including the dependanace packages | binutils-2.17.50.0.6 compat-libstdc++-33-3.2.3 compat-libstdc++-33-3.2.3 (32 bit) elfutils-libelf-0.125 elfutils-libelf-devel-0.125 gcc-4.1.2 gcc-c++-4.1.2 glibc-2.5-24 glibc-2.5-24 (32 bit) glibc-common-2.5 glibc-devel-2.5 glibc-devel-2.5 (32 bit) glibc-headers-2.5 ksh-20060214 libaio-0.3.106 libaio-0.3.106 (32 bit) libaio-devel-0.3.106 libaio-devel-0.3.106 (32 bit) libgcc-4.1.2 libgcc-4.1.2 (32 bit) libstdc++-4.1.2 libstdc++-4.1.2 (32 bit) libstdc++-devel 4.1.2 make-3.81 numactl-devel-0.9.8.x86_64 sysstat-7.0.2 |
| Set Kernal Parameters | ||
| 1 | Add the following lines in the file /etc/sysctl.conf sysctl -p |
kernel.shmall = Physical Memory / page size [ getconf PAGE_SIZE=4 ] kernel.shmmax = 1/2 of the RAM [Should not greater than 4GB] kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 512 * Processes [Min 6815744] fs.aio-max-nr = 1048576 net.ipv4.ip_local_port_range = 9000 65500 [Must match Exactly] net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 aio-max-nr = 1048576 |
| /proc/sys/kernel/sem | semmsl = 250 semmns = 32000 semopm = 100 semmni = 128 |
|
| Create groups and user | ||
| 1 | Create Oracle Groups and User | # groupadd oinstall # groupadd dba # useradd -g oinstall -G dba oracle # password oraclecreate directory and give the ownership# mkdir -p /u01/app/oracle # chown -R oracle:oinstall /u01/app/oracleIf the oracle user exists, but its primary group is not oinstall or it is not a member of the dba group, then enter the following command: # /usr/sbin/usermod -g oinstall -G dba oracle |
| Set the session Limits for the oracle user | ||
| 1 | Set Shell Limits for the oracle User. Assuming that the “oracle” Unix user will perform the installation,add these lines /etc/security/limits.conf | oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 |
| 2 | add tohe following lines in /etc/pam.d/login | Add the following linesession required pam_limits.so |
| 3 | Add the follwing lines to the /etc/profile | if [ $USER = "oracle" ]; then if [$SHELL = "/bin/ksh" ]; then ulimit -u 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi |
| gcc –version g++ –version Should return 4.1.x |
4.1.2 | |
| Installation | ||
| 1 | Login as oracle user | ./runIntaller |
| Screen Shots | ||
| | ||
Advertisement

