Install Oracle
Install Oracle
fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586
Run the following command to change the current kernel parameters.
/sbin/sysctl -p or sysctl -p
-------------- step 5 ---------------Add the following lines to
oracle
soft
oracle
hard
oracle
soft
oracle
hard
oracle
soft
-------------- step 6 ---------------Install the following packages if they are not already present.
binutils-2.*
compat-libstdc++-33*
compat-libstdc++-33*.i386.rpm
elfutils-libelf*
gcc-4.*
gcc-c++-4.*
glibc-2.*
glibc-common-2.*
glibc-devel-2.*
glibc-headers-2.*
ksh*
libaio-0.*
libaio-devel-0.*
libgomp-4.*
libgcc-4.*
libstdc++-4.*
libstdc++-devel-4.*
make-3.*
sysstat-7.*
unixODBC-2.*
unixODBC-devel-2.*
numactl-devel-*
to download
rpm -ivh packagename.rpm
-------------- step 7 ----------------
run
. . /.bash_profile to restart bash
-------------- step 12 ---------------Installation
Log into the oracle user. If you are using X emulation then set the DISPLAY envi
ronmental variable.
DISPLAY=<machine-name>:0.0; export DISPLAY
Start the Oracle Universal Installer (OUI) by issuing the following command in t
he database directory.
./runInstaller
-------------- step 13 ---------------execute the script given in the end of installation
as root :
sh root.sh
-------------- step 14 ---------------create database using DBCA
cd /oracle/product/11.2.1/db_1
cd bin
./dbca
-------------- step 15 ---------------post installation
edit etc/oratab file setting the restart flag for each instance to Y.
e.g
DBG11G:/u01/oracle/product/11.2.0/db_1:Y -- to make your db up when system boot
s