Tuesday, June 24, 2008

Oracle RDBMS 10g Installing Steps

Installing Oracle RDBMS 10g ...

1.Open a terminal window. Login as the root user.
2. Create these operating system groups: oinstall, dba, and, oper.
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/groupadd oper

3. Create the operating system user oracle:
/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:
/usr/sbin/passwd oracle

5. With an editor of your choosing edit /home/oracle/.bash_profile to include the following entries:

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.
mkdir -p /u01/app/oracle
chown -R oracle:oinstall /u01/app
chmod -R 775 /u01/app

7. Open the /etc/sysctl.conf file in any text editor and add lines similar to the following:
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:
/sbin/sysctl -p

9. 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:

rpm -qa binutils \
compat-db \
control-center \
gcc \
gcc-c++ \
glibc \
glibc-common \
gnome-libs \
libstdc++ \
libstdc++-devel \
make \
pdksh \
sysstat sort

10. Exit from root user.

11. Connect as oracle in a Xterm enabled window to begin the installation.
Mount the Oracle Database 10g DVD.
Execute the script /database/runInstaller from oracle's home directory, /home/oracle or unzip folder.
Download Oracle 10g(10.2.0.1) on Linux

12. unzip 10201_database_linux32.zip
13. ./runInstaller







14. 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.Execute Configuration Scripts
Open a terminal window and execute these steps in root user:
su - root
/u01/app/oracle/oraInventory/orainstRoot.sh


21. /u01/app/oracle/product/10.2.0/db_1/root.sh


22. Exit.

No comments: