I had to Install Oracle Identity Manager for SSO which needs Oracle Database for MetaData Repository Storage.
I followed the Below steps to Install the Database.
Version used: Oracle 11.2.0.1
OS Used : Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Created one OS user : oracle .
Created two OS group : dba, oinstall.
Added the OS user : Oracle to Group dba and oinstall.
On linux :
id oracle
uid=502(oracle) gid=501(dba) groups=501(dba),502(oinstall)
Now I have the software in the directory :
/u01/app/soft/
cd /u01/app/soft/
./runinstaller
Specify the Installation Directories :
Oracle Base = /u01/app/oracle
Oracle Software Install location : /u01/app/oracle/product/1121
Here "dba" is the group from OS.
[root@wbidm 11201]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11201
Now the Database Installation is Successful
Now we need to setup the environment variable for the Oracle Software .
As this is Redhat Linux, we will be setting the environment in .bash_profile file located in /home/oracle dir ( oracle is the OS userid ).
Below are the details to be added in the .bash_profile file :
wbidmdb = This is the database service name that we will create here.
--------------------------------------------------------------------------------------------------------------
PATH=$PATH:$HOME/bin
export PATH
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=wbidmdb
export ORACLE_HOME=/u01/app/oracle/product/11201
export PATH=$PATH:$ORACLE_HOME/bin:/usr/java/jdk1.6.0_26/bin:.
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH
---------------------------------------------------------------------
After editing the above environment variable parameter , logout from the linux terminal and log-in back.
Now below are the steps to create the DATABASE ( WBIDMDB) using the dbca command:
No comments:
Post a Comment