0% found this document useful (0 votes)
111 views12 pages

ORACLE11G Install Steps

This document provides steps for installing Oracle 11g on Linux. It includes pre-requisite steps like configuring kernel parameters, creating Oracle user and directories, installing required RPM packages. The main installation steps are running the Oracle installer to create a database, specifying options like database type and passwords. It also discusses solutions for errors like insufficient memory, and how to configure automatic memory management.

Uploaded by

Sultan Khan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
111 views12 pages

ORACLE11G Install Steps

This document provides steps for installing Oracle 11g on Linux. It includes pre-requisite steps like configuring kernel parameters, creating Oracle user and directories, installing required RPM packages. The main installation steps are running the Oracle installer to create a database, specifying options like database type and passwords. It also discusses solutions for errors like insufficient memory, and how to configure automatic memory management.

Uploaded by

Sultan Khan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

ORACLE 11G INSTALLATION STEPS

PRE-REQUISITES STEPS

ORACLE 11G INSTALL ON LINUX vi /etc/sysctl.conf KERNEL PARAMETERS kernel.sysrq = 0 kernel.core_uses_pid = 1 net.ipv4.tcp_syncookies = 1 kernel.msgmnb = 1048576 kernel.shmall = 268435456 kernel.shmall = 2097152 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 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 fs.file-max = 6815744 fs.aio-max-nr = 1048576 kernel.shmmax = 1062639616

then sysctl -p to see the changes

then do entries in .bash_profile vi /home/oracle/.bash_profile

ORACLE_BASE=/u02/ora11g/ ORACLE_HOME=$ORACLE_BASE/oracle11g ORACLE_SID=""

LD_LIBRARY_PATH=$ORACLE_HOME/lib PATH=$PATH:$ORACLE_HOME/bin export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH export DISPLAY=:0.0

then . .bash_profile to get the changes done

Then install the rpm needed as below

binutils-2.17.50.0.6 compat-libstdc++-33-3.2.3 elfutils-libelf-0.125 *****elfutils-libelf-devel-0.125 *****elfutils-libelf-devel-static-0.125 did not got rpm gcc-4.1.2 gcc-c++-4.1.2 glibc-2.5-24 glibc-common-2.5 glibc-devel-2.5 glibc-headers-2.5 kernel-headers-2.6.18 ksh-20060214 libaio-0.3.106 libaio-devel-0.3.106 libgcc-4.1.2 libgomp-4.1.2 libstdc++-4.1.2 libstdc++-devel-4.1.2 make-3.81 sysstat-7.0.2 unixODBC-2.2.11 unixODBC-devel-2.2.11 vi /etc/security/limit.conf oracle oracle oracle oracle soft nproc 2047 hard nproc 16384 soft nofile 1024 hard nofile 65536

[root@localhost ~]# chown -R oracle:oracle /u02

[root@localhost ~]# cd /u02/ [root@localhost u01]# mkdir oracle11g [root@localhost u01]# cd oracle/ [root@localhost oracle]# mkdir app

Then unzip the database folder by unzip command but pay attention u have execute permision onit or do chmod 777 filename Then ./runInstaller

then next next

..

STEP GIVES U OPTION OF CREATEING DATABASE WITH SOFTWARE OR INSTALLING ONLY SOFTWARE

TYPE OF USAGE OF SOFTWARE THATS ON U AS SERVER OR DESKTOP

TYPE OF DATABASE U WANA CREATE SINGLE INSTANCE OR RAC

INSTALLATION TYPE OF DATABASE DEFAULT : TYPICAL

Sys password is sysadmin123

Confirm sys password is sysadmin123 after this step just do next

and installation will take place ERRORS

primary memory error solution increase the ram

swap error look in (to increase swap space file) and lastly kernel parameters that u can set by running a script solution cd /tmp/CVU_11.2.0.2.0_oracle/ Then ./runfixup.sh This will set up all kernel parameters

for RPM go in server folder ls -ltr grep elfutils-libelf* rpm -ivh elfutils-libelf-devel* FOR MEMORY ERROR AT STARTUP OF DATABASE

# df -k /dev/shm Filesystem Mounted on tmpfs /dev/shm #

1K-blocks 1029884

Used Available Use% 350916 678968 35%

The shared memory file system should be big enough to accommodate the MEMORY_TARGET and MEMORY_MAX_TARGET values, or Oracle will throw the following error.
ORA-00845: MEMORY_TARGET not supported on this system

To adjust the shared memory file system size issue the following commands, specifying the required size of shared memory.
# umount tmpfs # mount -t tmpfs shmfs -o size=1200m /dev/shm

Make the setting permanent by amending the "tmpfs" setting of the "/etc/fstab" file to look like this.
tmpfs size=1200m /dev/shm 0 0 tmpfs

AMM Configuration
The Database Configuration Assistant (DBCA) allows you to configure automatic memory management during database creation. When creating the database manually, simply set the appropriate MEMORY_TARGET and MEMORY_MAX_TARGET initialization parameters before creating the database. Enabling automatic memory management on a system that didn't previously use it is a simple task. Assuming you want to use a similar amount of memory to your current settings you will need to use the following calculation.
MEMORY_TARGET = SGA_TARGET + GREATEST(PGA_AGGREGATE_TARGET, "maximum PGA allocated")

RPM NEEDED FOR 11G

You might also like