Please send your Questions & Answers or Feedback to ""

Please send your Questions & Answers or Feedback to ""

Oracle Installation




groups --> dba & orainstall

users -->oracle


1.creating required number of groups & users.

                >groupadd oinstall

                >groupadd dba

                >useradd -m -g oinstall -G dba oracle

                -g indicates primary group

                -G indicates secondary group

                create password for oracle user

                >passwd oracle

                >id oracle


                cat /etc/passwd -->to see the existing users

                cat /etc/group --> to see the existing groups

2.creating directories

                >mkdir -p /u01/app/oracle -->Base

                >mkdir -p /u01/app/oraInventory -->Inventory

                >mkdir -p /u01/app/oracle/product/11.2.0/db_home -->oracle home

3.changing ownership

                >chown -R oracle:oinstall /u01/app/oracle

                >chown -R oracle:oinstall /u01/app/oraInventory

                >chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_home

4.changing or giving permissions

                >chmod -R 775 /u01/app/oracle

                >chmod -R 775 /u01/app/oraInventory

                >chmod -R 775 /u01/app/oracle/product/11.2.0/db_home

5.xhost + --> to see the host name

                >su oracle


6.            >./runInstaller  or  sh runInstaller  --> for normal screen

7.            >vncpasswd -->give oracle as password

                >vncserver -->give hostname and password

                >cd /opt

                >cd /database



8.deselect "I wish to receive security updates via my oracle support".

deselect skip software updates.

select "install database software only"

select "single instance database installation"

select "Enterprise Edition" first script & paste in the terminal. This script sets proper permissions.

select second script & paste in the terminal(shift+insert). All the database entries will be stored

in the oratab file when we create the database using DBCA.


10.configuring .bash_profile

                >vi .bash_profile

                                export ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_home

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


No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Flag Counter