0% found this document useful (0 votes)
48 views10 pages

10g Installation On Linux

This document provides instructions for installing Oracle 10g database on Red Hat Enterprise Linux 4. It outlines pre-requisites like installing RHEL 4, configuring kernel parameters, adding users and groups. It then describes downloading the Oracle 10g software, running the installer as oradev user, and post-installation steps like setting the ORACLE_BASE and ORACLE_HOME environment variables.

Uploaded by

Muhd Q
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views10 pages

10g Installation On Linux

This document provides instructions for installing Oracle 10g database on Red Hat Enterprise Linux 4. It outlines pre-requisites like installing RHEL 4, configuring kernel parameters, adding users and groups. It then describes downloading the Oracle 10g software, running the installer as oradev user, and post-installation steps like setting the ORACLE_BASE and ORACLE_HOME environment variables.

Uploaded by

Muhd Q
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

10g Installation on Linux

INSTALLING ORACLE 10G DATABASE ON RED HAT ENTERPRISE LINUX 4


Pre-requisites
 Server/Desktop
 RHEL 4 32 bit Operating System
i) Install RHEL 4 x86
ii) Assign IP address and hostname

→[root@erpdevdbs01 ~]# setup


iii) Add Ip to the hosts file

[root@erpdevdbs01 ~]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

10.10.160.23 erpdevdbs01.test.local erpdevdbs01

 Edit Kernel Parameters as root user


i) Edit sysctl.conf file … vi /etc/sysctl.conf

kernel.msgmnb = 65535

kernel.msgmni = 2878

kernel.sem = 256 32000 100 142 #This sets SEMMSL, SEMMNS, SEMOPM, SEMMNI

kernel.shmmax = 2147483648 — HALF OF THE PHYSICAL MEMORY

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
Once set run sysctl –p to avoid restarting the machine.
ii) Edit limits.conf as below…vi /etc/security/limits.conf

* soft nofile 327679

* hard nofile 327679

* hard nproc 16384

* soft nproc 2047

iii) Check RPM’s

rpm -qa binutils-2.15.92.0.2-10.EL4

rpm -qa compat-db-4.1.25-9

rpm -qa compat-libstdc++-296-2.96-132.7.2

rpm -qa compat-libstdc++-33-3.2.3-47.3

rpm -qa control-center-2.8.0-12

rpm -qa gcc-3.4.3-9.EL4

rpm -qa gcc-c++-3.4.3-9.EL4

rpm -qa glibc-2.3.4-2

rpm -qa glibc-common-2.3.4-2

rpm -qa gnome-libs-1.4.1.2.90-44.1

rpm -qa libstdc++-3.4.3-9.EL4

rpm -qa libstdc++-devel-3.4.3-9.EL4


rpm -qa make-3.80-5

rpm -qa pdksh-5.2.14-30

rpm -qa sysstat-5.0.5-1

rpm -qa xscreensaver-4.18-5.rhel4.2

rpm -qa openmotif21-2.1.30-11.RHEL4.2 (required to install Oracle demos)

rpm -qa libaio-0.3.102-1

iv) Add User and Groups

[root@erpdevdbs01 ~]# groupadd dba

[root@erpdevdbs01~]# groupadd oinstall

[root@erpdevdbs01~]# useradd oradev -g oinstall -G dba

[root@erpdevdbs01 ~]#

Note : oradev will be the owner of Oracle Software.


v) Download and unzip the Disk1 on the machine

Place the software under any filesystem you wish to provided oradev user has the access to start
the installation.

[root@erpdevdbs01 database]# ls -ltr

total 1683960

drwxrwxrwx 6 root root 4096 Jul 2 2005 database

-rwxrwxrwx 1 root root 668734007 Aug 30 13:50 10201_database_linux32.zip

vi) Switch user to oradev


[oradev@erpdevdbs01 database]$ ls

doc install response runInstaller stage welcome.html

[oradev@erpdevdbs01 database]$

./runInstaller
[root@erpdevdbs01 oraInventory]# ./orainstRoot.sh

Changing permissions of /oraDevBin/oracle/oraInventory to 770.

Changing groupname of /oraDevBin/oracle/oraInventory to oinstall.

The execution of the script is complete

[root@erpdevdbs01 oraInventory]#

[root@erpdevdbs01 10.2.0.3]# ./root.sh

Running Oracle10 root.sh script…


The following environment variables are set as:

ORACLE_OWNER= oradev

ORACLE_HOME= /oraDevBin/oracle/db/tech_st/10.2.0.3

Enter the full pathname of the local bin directory: [/usr/local/bin]:

Copying dbhome to /usr/local/bin …

Copying oraenv to /usr/local/bin …

Copying coraenv to /usr/local/bin …

Creating /etc/oratab file…

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

[root@erpdevdbs01 10.2.0.3]#
Post Install Steps

Set the environment

Edit the following in .bash_profile…..vi /home/oradev/.bash_profile

ORACLE_BASE=/oraDevBin/oracle

export ORACLE_BASE

ORACLE_HOME=/oraDevBin/oracle/db/tech_st/10.2.0.3

export ORACLE_HOME

PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/lib

export PATH

INSTALLATION COMPLETE !!!!!

You might also like