Steps To Configure Linux For Oracle 9i Installation: 1. Change Kernel Parameters
Steps To Configure Linux For Oracle 9i Installation: 1. Change Kernel Parameters
kernel.shmmax = 2147483648
kernel.shmall = 2097152
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
# sysctl –p
If it runs successfully then there are no errors in the file.
This is done by editing the file ‘limts.conf’ which is present in the memory,
hence need not be checked for errors in editing.
The command used is
# vi /etc/security/limits.conf
With this step, we create a group and user to install oracle software with
sufficient privileges.
# groupadd oinstall
#groupadd dba
#groupadd oper
#useradd oracle –g oinstall –G dba,oper –password oracle
In this step, we create the required directory structure for Oracle installation
following the OFA standard. Here, we also assign the ownerships and rights to
‘Oracle’ user.
# mkdir –p /u01/app/oracle/product/9.2.0/db1
# chown –R oracle.oinstall /u01
#chmod –R 755 /u01
5. Installation of required packages to resolve dependencies :
j2re-1_3_1_19-linux-i586.bin
compat-libcwait-2.1-1.i386.rpm
compat-oracle-rhel4-1.0-5.i386.rpm
profile.txt
Copy the file ‘profile.txt’ which has changes to be made to the file
‘.bash_profile’, to the folder ‘/home/oracle’.
#cd /home/oracle
# chown root .bash_profile
#cat profile.txt >> .bash_profile
# dos2unix .bash_profile
#chown oracle .bash_profile
Now, mount the image of Oracle9i on the CD/DVD Drive. Make a folder as
‘/data’ and copy the files from Oracle9i disc in that folder.
#mkdir /data
# cp /media/20090202_1505/ship_9204_linux_disk1.cpio.gz /data
# cp /media/20090202_1505/ship_9204_linux_disk2.cpio.gz /data
# cp /media/20090202_1505/ship_9204_linux_disk3.cpio.gz /data
#cd /data
#gunzip ship_9204_linux_disk1.cpio.gz
#gunzip ship_9204_linux_disk2.cpio.gz
#gunzip ship_9204_linux_disk3.cpio.gz
#cpio –idmv ship_9204_linux_disk1.cpio
#cpio –idmv ship_9204_linux_disk2.cpio
#cpio –idmv ship_9204_linux_disk3.cpio
#cd Disk1/install/linux/
Here, we edit the location of Java package in the file ‘oraparam.ini’ as
‘JRE_LOCATION=/usr/local/jre1.3.1_19’ using the ‘vi’ command.
# vi oraparam.ini
#cd /data/Disk1
#./runInstaller