INSTALLING 10G

ON ORACLE ENTERPRISE LINUX 4.6

1.Open a terminal window. Login as the root user.

2.Create these operating system groups: oinstall, dba, and, oper.

[root@sys12 ~]$ /usr/sbin/groupadd oinstall
[root@sys12 ~]$ /usr/sbin/groupadd dba
[root@sys12 ~]$ /usr/sbin/groupadd oper


3.Create the operating system user oracle:
[root@sys12 ~]$ /usr/sbin/useradd -g oinstall -G dba, oper -d /home/oracle oracle

4.Enter the following command to set the password of the oracle user:
[root@sys12 ~]$ /usr/sbin/passwd oracle

5.Login as an oracle user and type the command vi .bash_profile copy the below codes and paste it here. Save and exit
[root@sys12 ~]$vi .bash_profile
umask 022
ORACLE_BASE=/u01
ORACLE_HOME=$ORACLE_BASE/oracle/product/10.2.0/db_1
ORACLE_SID=orcl
PATH=$ORACLE_HOME/bin:$PATH:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:/usr/X11R6/lib
export PATH LD_LIBRARY_PATH
export ORACLE_BASE ORACLE_HOME ORACLE_SID


6.Create the directory for the software installation and assign ownership to oracle:oinstall.[The directories can be created as root user and check carefully weather the ownership of these directories changed to oracle]
[root@sys12 ~]$ mkdir -p /u01/app/oracle
[root@sys12 ~]$ chown -R oracle:oinstall /u01/app
[root@sys12 ~]$ chmod -R 775 /u01/app


7.Open the /etc/sysctl.conf file in vi editor and add lines.[This has to done as a root user]

[root@sys12 ~]$vi /etc/sysctl.conf
kernel.sem = 250 32000 100 128
kernel.shmmax = 2147483684
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.msgmnb = 360000
kernel.msgmni = 2878
kernel.msgmax = 8192
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

8.Issue this command to set the kernel parameters:
[root@sys12 ~]$ /sbin/sysctl -p

9.These are the Required RPMs.

binutils-2.15.92.0.2-15
compat-db-4.1.25-9
control-center-2.8.0-12.rhel4.2
gcc-3.4.4-2
gcc-c++-3.4.4-2
glibc-2.3.4-2.13
libc-common-2.3.4-2.13
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.4-2
libstdc++-devel-3.4.4-2
make-3.80-5
pdksh-5.2.14-30.3
sysstat-5.0.5-11.rhel4


To check the installed RPMs, run this command:

[root@sys12 ~]$ rpm -qa binutils
[root@sys12 ~]$ rpm -qa compat-db
[root@sys12 ~]$ rpm -qa control-center
[root@sys12 ~]$ rpm -qa gcc
[root@sys12 ~]$ rpm -qa gcc-c++
[root@sys12 ~]$ rpm -qa glibc
[root@sys12 ~]$ rpm -qa glibc-common
[root@sys12 ~]$ rpm -qa gnome-libs
[root@sys12 ~]$ rpm -qa libstdc++
[root@sys12 ~]$ rpm -qa libstdc++-devel
[root@sys12 ~]$ rpm -qa make
[root@sys12 ~]$ rpm -qa pdksh
[root@sys12 ~]$ rpm -qa sysstat sort


10.Exit from root user.

11.Connect as oracle in a Xterm i.e.[xhost+]enabled window to begin the installation.
[root@sys12 ~]$xhost +

12.Copy The 10g software to oracle home and then unzip 10201_database_linux32.zip.

13.Execute the script /database/runInstaller from oracle's home directory.
[root@sys12 ~]$cd /home/oracle.
[root@sys12 ~]$./runInstaller.

14.Installation Window will open in that select advanced installation. Click Next.






15.Specify Inventory directory and credentials
Verify the Inventory Directory: /u01/oraInventory
Operating Group: oinstall

Click Next.




16.Specify Home Details
Verify the name for the installation : OraDb10g_home1
Verify the path : /u01/app/oracle/product/10.2.0/db_1
Click Next.


17.Product-Specific Prerequisite Checks
The installer will now verify the system meets all the minimum requirements for installing and configuring the chosen product. The checks should all succeeds. If so, click Next. If not consult the installation manual and verify all prerequisites have been met..




18.Select Configuration Option
Select Install database Software only.
Click Next.






19.On the Summary Screen: Click Install.


20.The number 1,2 are configuration scripts.


21.Open a terminal window and execute these steps in root user:
[root@sys12 ~]$su - root
[root@sys12 ~]$/u01/app/oracle/oraInventory/orainstRoot.sh


22.[root@sys12 ~]$ /u01/app/oracle/product/10.2.0/db_1/root.sh


23.And this is last installation window.This comes at succesfull installation.Please note the URL to open the the isqlplus in explorer.


24.Exit.