Sunday, October 28, 2012

How to Install OBIEE 11.1.1.1.6 on Linux OEL5 update 8 -- Part -6

Installing the Oracle database on  OEL 5.8 update :


Before  going ahead with installation do the follwng steps :


a) SU As Root and Create Directories to Install the oracle database

 Make Oracle directories

 mkdir -p /u01/app/oracle/product/11.2.0/dbhome_1
 chown -R oracle:oinstall /u01/app
 chmod -R 775 /u01/app

b) Add xhost - the hostname

xhost +Venkat
c) Set up Oracle Profile

Login as Oracle and do   vi ~/.bash_profile 

Your bash_profile will be opned. Press insert and enter the highlighted text as below with your environment specific


# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=Venkat; export ORACLE_HOSTNAME
ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOME
ORACLE_SID=DB11G; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH


LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
 
"~/.bash_profile" 34L, 909C   


I was planning to give OracleSID name as DB11g so I gave that name

Oracle_HOSTNAME = venkat (My host name).

If you are not sure what you host name. just do hostname in teh terminal. it will gove your host name

d)
DISPLAY=<machine-name>:0.0; export DISPLAY

I copied my datbase installation files to the oracle Home folder. Run the Installer as follows.


























Before 100 %  it will ask you to excute some shell scripts.

Su as ROOT and you have to the do the following at the command prompt

1) cd /u01/app/oraInventory/orainstRoot.sh
2)/u01/app/oracle/product/11.2.0/db_1/root.sh


After Running the Shell Scripts. We have to do the following steps





















































Database will create and once it is done you will see th epassword management Screen. lock (or) unlock schemas you want to do and clcik ok.


That's it you are done with oracle database installation



No comments:

Post a Comment