Académique Documents
Professionnel Documents
Culture Documents
-----------> 10GB
/home
-----------> 2GB
/var
-----------> 2GB
/tmp
-----------> 2GB
/usr
-----------> 4GB
/usr/local
-----------> 2GB
/opt
-----------> 10GB
/boot
-----------> 1GB
swap
Pre-Installation Tasks:
#groupadd oinstall
#groupadd dba
#useradd -g oinstall -G oinstall,dba oracle
Note: "#" sign means that you need execute this command as root user.
Then you have to set the password for the user using the password utility.
#passwd oracle
New password:_____________
Retype password: _____________
2. Setting System parameters
Edit the /etc/sysctl.conf and add following lines:
#vi /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6815744
fs.aio-max-nr = 1048576
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
Note: You need reboot system or execute "sysctl -p" command to apply above settings.
glibc-devel.i386
glibc-headers.i386
glibc.i386
glibc.i686
ksh.i386
libaio-devel.i386
libaio.i386
libstdc++.i386
libXp.i386
libXtst.i386
make.i386
setarch.i386
sysstat.i386
unixODBC.i386
xorg-x11-utils.i386
For 64 bit linux version
binutils.x86_64
compat-db.x86_64
compat-libstdc++-33.i386
compat-libstdc++-33.x86_64
elfutils-libelf.i386
elfutils-libelf.x86_64
gcc-c++.x86_64
gcc.x86_64
gdbm.x86_64
glibc-devel.i386
glibc-devel.x86_64
glibc-headers.x86_64
glibc.i686
glibc.x86_64
ksh.x86_64
libaio-devel.i386
libaio-devel.x86_64
libaio.i386
libaio.x86_64
libstdc++.i386
libstdc++.x86_64
libXp.i386
libXtst.i386
libXtst.x86_64
make.x86_64
setarch.x86_64
sysstat.x86_64
unixODBC.i386
unixODBC.x86_64
xorg-x11-utils.x86_64
Download & Install:
1. Download and install required .rpm packages
Some additional packages are required for succesful instalation of Oracle
software. To check whether required packages are installed on your operating
system use following command:
rpm -q binutils compat-db compat-libstdc++-33 glibc glibc-devel glibc-headers
gcc gcc-c++ libstdc++ gdbm make ksh elfutils-libelf sysstat libaio libaio-devel
setarch unixODBC libXp libXtst xorg-x11-utils --qf '%{name}.%{arch}\n'|sort
If some package is not installed then install it from installation media or
download it and install manually.
Manual package installation:
Before installation first mount the CD.
#mount /dev/cdrom /mnt
#cd /mnt
#ls
#cd Server
#ls -l binutils*
If the package is present then install it by using the following command.
#rpm -ivh --force --nodeps binutils*
#cd /
#eject
Then if the package is not present you have to check all the linux CDs like this
and install all the mandatory packages.
To install the downloaded package go to the downloaded directory then give the
same command
Now the database folder contains the necessary software to install the database.
Creating oracle directories and changing its owner and permissions.
# mkdir -p /opt/oracle/product/11.2.0/db_1
# chown -R oracle:oinstall /opt
# chmod -R 755 /opt
# chown -R oracle:oinstall /software
# chmod -R 755 /software
Note: Software is the location of the folder database for example if the database
folder is inside /opt/oracle then you have to give like this.
#chown -R oracle:oinstall /opt/oracle/database
#chmod -R 755 /opt/oracle/database
2) After giving ./runInstaller the GUI will come like the screen shot mentioned
below
3) Dont check any check box and dont give any email then click next. The
following dialogue box will appear.
4)
5)
6)
7)
space and click next. After clicking next if dialog box appears
then click the yes button in that dialog box.
9)
11)
12)
13)
14)
15)